Allow icon to be set
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
<uib-tab index="'display'" heading="Display">
|
||||
<br/>
|
||||
<div class="form-group" ng-class="{ 'has-error': !appConfigureForm.label.$dirty && appConfigure.error.label }">
|
||||
<label class="control-label">Display Label</label>
|
||||
<label class="control-label">Label</label>
|
||||
<div class="control-label" ng-show="appConfigure.error.label">{{appConfigure.error.label}}</div>
|
||||
<input type="text" class="form-control" id="appConfigureLabelInput" name="label" ng-model="appConfigure.label">
|
||||
</div>
|
||||
@@ -109,6 +109,14 @@
|
||||
<label class="control-label">Tags</label>
|
||||
<tag-input class="form-control" placeholder="Use comma to separate tags" taglist="appConfigure.tags" name="tags" uib-tooltip="For grouping in the dashboard"></tag-input>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">Icon</label>
|
||||
<a href="" class="pull-right" style="font-weight: normal;" ng-click="appConfigure.icon.data = ''">Reset</a>
|
||||
<div>
|
||||
<img id="previewIcon" width="128" height="128" ng-src="{{appConfigure.icon.data || appConfigure.app.iconUrl}}" ng-click="appConfigure.showCustomIconSelector()"/>
|
||||
<input type="file" id="iconFileInput" style="display: none" accept="image/png"/>
|
||||
</div>
|
||||
</div>
|
||||
</uib-tab>
|
||||
|
||||
<uib-tab index="'advanced'" heading="Advanced">
|
||||
|
||||
Reference in New Issue
Block a user