dashboard: better image upload/edit indicator

This commit is contained in:
Johannes Zellner
2024-04-05 17:37:58 +02:00
parent 67a8228886
commit 03ef9f109f
3 changed files with 21 additions and 55 deletions

View File

@@ -49,7 +49,7 @@
</div>
<div class="branding-avatar" ng-click="avatarChange.showChangeAvatar()">
<img ng-src="{{ about.avatarUrl() }}"/>
<div class="overlay"></div>
<i class="picture-edit-indicator fa fa-pencil-alt"></i>
</div>
</div>
@@ -59,7 +59,7 @@
<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() }}" onerror="this.src = '/img/background-image-placeholder.svg'"/>
<div class="overlay"></div>
<i class="picture-edit-indicator fa fa-pencil-alt"></i>
</div>
<input type="file" id="backgroundFileInput" style="display: none" accept="image/*"/>
</div>