1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Added tooltip for image upload, GH-138

This commit is contained in:
krateng 2022-04-27 17:51:39 +02:00
parent 8197548285
commit d83b44de6e
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@
<div <div
class="changeable-image" data-uploader="b64=>upload('{{ encodedartist }}',b64)" class="changeable-image" data-uploader="b64=>upload('{{ encodedartist }}',b64)"
style="background-image:url('{{ images.get_artist_image(artist) }}');" style="background-image:url('{{ images.get_artist_image(artist) }}');"
title="Drag & Drop to upload new image"
></div> ></div>
{% else %} {% else %}
<div style="background-image:url('{{ images.get_artist_image(artist) }}');"> <div style="background-image:url('{{ images.get_artist_image(artist) }}');">

View File

@ -51,6 +51,7 @@
<div <div
class="changeable-image" data-uploader="b64=>upload('{{ encodedtrack }}',b64)" class="changeable-image" data-uploader="b64=>upload('{{ encodedtrack }}',b64)"
style="background-image:url('{{ images.get_track_image(track) }}');" style="background-image:url('{{ images.get_track_image(track) }}');"
title="Drag & Drop to upload new image"
></div> ></div>
{% else %} {% else %}
<div style="background-image:url('{{ images.get_track_image(track) }}');"> <div style="background-image:url('{{ images.get_track_image(track) }}');">