dashboard: add UI to change background image
This commit is contained in:
@@ -55,12 +55,13 @@
|
||||
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<label class="control-label">{{ 'branding.background' | tr }}</label>
|
||||
<div class="branding-background">
|
||||
<input id="userBackgroundInput" type="checkbox" ng-model="background.enabled">
|
||||
<label for="userBackgroundInput" class="control-label">Use background image</label>
|
||||
<div class="branding-background" ng-show="background.enabled" ng-click="background.selectNew()">
|
||||
<img ng-src="{{ background.url() }}"/>
|
||||
<div class="overlay"></div>
|
||||
</div>
|
||||
<input type="file" id="backgroundFileInput" style="display: block" accept="image/*"/>
|
||||
<input type="file" id="backgroundFileInput" style="display: none" accept="image/*"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user