Add icons to alert boxes

This commit is contained in:
Edward Betts 2021-07-16 11:27:19 +02:00
parent a56387c4d9
commit ed3e0cf86a

View file

@ -103,18 +103,22 @@
</div> </div>
<div v-if="upload_state == 'init'" class="alert alert-info" role="alert"> <div v-if="upload_state == 'init'" class="alert alert-info" role="alert">
<i class="fa fa-info-circle"></i>
Starting upload. Starting upload.
</div> </div>
<div v-if="upload_state == 'uploading'" class="alert alert-info" role="alert"> <div v-if="upload_state == 'uploading'" class="alert alert-info" role="alert">
<i class="fa fa-info-circle"></i>
Uploading changes. Uploading changes.
</div> </div>
<div v-if="upload_state == 'closing'" class="alert alert-info" role="alert"> <div v-if="upload_state == 'closing'" class="alert alert-info" role="alert">
<i class="fa fa-info-circle"></i>
Closing changeset. Closing changeset.
</div> </div>
<div v-if="upload_state == 'done'" class="alert alert-success" role="alert"> <div v-if="upload_state == 'done'" class="alert alert-success" role="alert">
<i class="fa fa-info-circle"></i>
Changes saved. Changes saved.
<a :href="`https://www.openstreetmap.org/changeset/${changeset_id}`" <a :href="`https://www.openstreetmap.org/changeset/${changeset_id}`"
target="_blank"> target="_blank">