dashboard: better login page background image label

This commit is contained in:
Johannes Zellner
2024-06-24 19:34:32 +02:00
parent 4b96d5879c
commit 78aee78d9c
3 changed files with 6 additions and 4 deletions

View File

@@ -56,7 +56,7 @@
<div class="form-group">
<div>
<input id="userBackgroundInput" type="checkbox" ng-model="background.enabled">
<label for="userBackgroundInput" class="control-label">Use background image</label>
<label for="userBackgroundInput" class="control-label">{{ 'branding.backgroundImage' | tr }}</label>
<div class="branding-background" ng-show="background.enabled" ng-click="background.selectNew()">
<img ng-src="{{ background.url() }}" onerror="this.src = '/img/background-image-placeholder.svg'"/>
<i class="picture-edit-indicator fa fa-pencil-alt"></i>