-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 12650: Initial implementation
- Loading branch information
1 parent
bac9a29
commit 7a45460
Showing
21 changed files
with
105 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 7 additions & 14 deletions
21
src/Infocaster.UmbracoAwesome.Icomoon/App_plugins/Icomoon/scripts/editor.controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 25 additions & 35 deletions
60
src/Infocaster.UmbracoAwesome.Icomoon/App_plugins/Icomoon/views/panel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,27 @@ | ||
<div ng-controller="infocaster.icomoonpanelcontroller as vm"> | ||
<ng-form val-form-manager> | ||
<umb-editor-view> | ||
<umb-editor-header name="model.title" | ||
name-locked="true" | ||
hide-alias="true" | ||
hide-icon="true" | ||
hide-description="true"> | ||
</umb-editor-header> | ||
|
||
<umb-editor-container> | ||
<umb-box> | ||
<umb-box-content> | ||
<ul class="umb-iconpicker color-black"> | ||
<li class="umb-iconpicker-item icomoon-list" ng-repeat="icon in vm.icons"> | ||
<svg class="umb-icon icomoon-icon" ng-class="icon" ng-click="vm.select(icon)"> | ||
<use ng-attr-href="#{{icon}}"></use> | ||
</svg> | ||
</li> | ||
</ul> | ||
</umb-box-content> | ||
</umb-box> | ||
</umb-editor-container> | ||
|
||
<umb-editor-footer> | ||
<umb-editor-footer-content-right> | ||
<umb-button type="button" | ||
button-style="link" | ||
label-key="general_close" | ||
shortcut="esc" | ||
action="vm.close()"> | ||
</umb-button> | ||
</umb-editor-footer-content-right> | ||
</umb-editor-footer> | ||
</umb-editor-view> | ||
</ng-form> | ||
<div class="umb-panel-body with-footer"> | ||
<umb-load-indicator ng-if="loading"></umb-load-indicator> | ||
<div class="umb-control-group" ng-show="!loading"> | ||
<ul class="umb-iconpicker" ng-class="color" ng-show="icons"> | ||
<li class="umb-iconpicker-item icomoon-list" ng-repeat="icon in icons"> | ||
<svg class="umb-icon icomoon-icon" ng-class="icon" ng-click="submitClass(icon)"> | ||
<use ng-attr-href="#{{icon}}"></use> | ||
</svg> | ||
</li> | ||
</ul> | ||
</div> | ||
<umb-empty-state ng-if="icons.length === 0" | ||
position="center"> | ||
<localize key="defaultdialogs_noIconsFound">No icons were found.</localize> | ||
</umb-empty-state> | ||
</div> | ||
<div class="umb-panel-footer"> | ||
<div class="umb-el-wrap umb-panel-buttons"> | ||
<div class="btn-toolbar umb-btn-toolbar pull-right"> | ||
<a href ng-click="close()" class="btn btn-link"> | ||
<localize key="general_cancel">Cancel</localize> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/Infocaster.UmbracoAwesome.Icomoon/Infocaster.Umbraco.IcomoonPicker.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Content Include="App_plugins\Icomoon\package.manifest" /> | ||
<Content Include="App_plugins\Icomoon\scripts\editor.controller.js" /> | ||
<Content Include="App_plugins\Icomoon\scripts\panel.controller.js" /> | ||
<Content Include="App_plugins\Icomoon\style\icomoon.css" /> | ||
<Content Include="App_plugins\Icomoon\views\editor.html" /> | ||
<Content Include="App_plugins\Icomoon\views\panel.html" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="UmbracoCms.Core" Version="7.15.0" /> | ||
</ItemGroup> | ||
</Project> |
35 changes: 0 additions & 35 deletions
35
src/Infocaster.UmbracoAwesome.Icomoon/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.