mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
Add drag to upload functionality
Allow users to drag and drop .map files onto the browser to load existing maps
This commit is contained in:
parent
7055f392c0
commit
82458aac26
3 changed files with 79 additions and 4 deletions
|
|
@ -741,6 +741,14 @@
|
|||
<button id="removeAllRulers" title="Remove all rulers from the map. Click on ruler label to remove ruler separately" class="icon-trash"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="map-dragged" style="display: none">
|
||||
<p>Drop to upload</p>
|
||||
</div>
|
||||
|
||||
<div id="uploading-map" class="dialog" style="display: none">
|
||||
<p>Uploading map...</p>
|
||||
</div>
|
||||
|
||||
<div id="alert" title="Warning!" style="display: none">
|
||||
<p id="alertMessage">Warning!</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue