Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-15 12:55:40 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-15 12:55:40 -0700
commitbd31e3e4a64775d3e2ea2efeb5b2122e384b30e3 (patch)
treeabf17daa0636791891405eda7ad96797debaf6fe /public
parent98f8464aeb4bdfa5ede0eda71f5285587c0ab76d (diff)
Add ability to load a map file manually
Diffstat (limited to 'public')
-rw-r--r--public/assets/css/style.css4
-rw-r--r--public/assets/images/icon_full_screen.pngbin0 -> 593 bytes
-rw-r--r--public/assets/images/icon_unfull_screen.pngbin0 -> 598 bytes
-rw-r--r--public/index.html8
4 files changed, 11 insertions, 1 deletions
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index 13d1fa5..91ef42c 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -380,6 +380,10 @@ img.logo {
position: absolute;
}
+input[type="file"] {
+ display: none;
+}
+
@media (width >= 1800px) {
#record-sheet {
flex-direction: row;
diff --git a/public/assets/images/icon_full_screen.png b/public/assets/images/icon_full_screen.png
new file mode 100644
index 0000000..94a7ee4
--- /dev/null
+++ b/public/assets/images/icon_full_screen.png
Binary files differ
diff --git a/public/assets/images/icon_unfull_screen.png b/public/assets/images/icon_unfull_screen.png
new file mode 100644
index 0000000..83c9c3d
--- /dev/null
+++ b/public/assets/images/icon_unfull_screen.png
Binary files differ
diff --git a/public/index.html b/public/index.html
index a846733..d907d05 100644
--- a/public/index.html
+++ b/public/index.html
@@ -121,8 +121,12 @@
<span class="inning-bottom">◒</span>
</span>
<button id="show-dialog" type="button">Change map</button>
- <button id="fullscreen" type="button">Fullscreen</button>
<button id="download-save" type="button">Save</button>
+ <button id="upload-save" type="button">Load</button>
+ <button id="fullscreen" type="button">
+ <img src="assets/images/icon_full_screen.png" height="12" />
+ </button>
+
<span style="white-space: nowrap;">
Prone: <input type="checkbox" id="toggle-prone-counter" />
<button type="button" class="set-firing-arc" data-size="small">
@@ -197,6 +201,8 @@
</form>
</dialog>
+ <input type="file" accept="image/svg+xml"/>
+
<script src="index.js"></script>
<script src="soldier_record_block.js"></script>
</body>