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