adding url dialog

This commit is contained in:
Lucas 2019-04-26 14:07:07 +01:00
parent 298aba29ff
commit 6f63da0bc7
4 changed files with 86 additions and 3 deletions

View file

@ -1090,7 +1090,12 @@
<div id="saveSVG" data-tip="Download the map as .svg image (open in browser or Inkscape). Shortcut: Ctrl + S">.svg</div>
<div id="savePNG" data-tip="Download visible part of the map as image. Texture will not be shown. Shortcut: Ctrl + P">.png</div>
</div>
<button id="loadMap" data-tip="Load fully functional map in a .map format. Shortcut: Ctrl + L">Load</button>
<button id="loadButton" data-tip="Select location to load a .map file">Load</button>
<div id="loadDropdown">
<div id="loadMap" data-tip="Load fully functional map in a .map format. Shortcut: Ctrl + L">local</div>
<div id="loadURL" data-tip="Load fully functional map in a .map format for a url.">url</div>
</div>
<button id="zoomReset" data-tip="Reset map zoom. Shortcut: 0">Reset Zoom</button>
</div>
@ -1970,6 +1975,14 @@
</div>
</div>
<div id="loadURLDialog" class="dialog stable textual" style="display: none">
<div>
<span>URL of .map: </span>
<input id="loadURLText" data-tip="Type url of .map file" autocorrect="off" spellcheck="false" style="width: 120px;">
</div>
<button id="loadURLConfirm" data-tip="Confirm url" class="icon-link"></button>
</div>
<div id="alert" style="display: none" class="dialog">
<p id="alertMessage">Warning!</p>
</div>