2525 < script src ="./js//modules/paginator.js " type ="module " defer > </ script >
2626</ head >
2727< body style ="margin:0; ">
28-
28+ <!--Welcome Modal-->
2929 < div class ="modal fade " id ="welcomeModal " aria-labelledby ="exampleModalLabel " tabindex ="-1 " aria-hidden ="true ">
3030 < div class ="modal-dialog modal-dialog-centered modal-dialog-scrollable ">
3131 < div class ="modal-content bg-light ">
@@ -58,6 +58,42 @@ <h2 class="modal-title">Welcome to MapKnitter Lite</h2>
5858 </ div >
5959 </ div >
6060 </ div >
61+
62+ <!-- Share Map Modal -->
63+ < div class ="modal fade " id ="shareModal " aria-labelledby ="shareModalLabel " tabindex ="-1 " aria-hidden ="true " >
64+ < div class ="modal-dialog modal-dialog-centered modal-dialog-scrollable " >
65+ < div class ="modal-content bg-light ">
66+ < div class ="modal-header d-block ">
67+ < div class ="d-flex justify-content-between align-items-center ">
68+ < h2 class ="modal-title "> Share Map</ h2 >
69+ < button type ="button " class ="btn-close " data-bs-dismiss ="modal " aria-label ="Close " > </ button >
70+ </ div >
71+ </ div >
72+ < div class ="modal-body ">
73+ < h4 > Share via URL</ h4 >
74+ < p > To share a map via URL,
75+ you'll need to upload your saved map JSON file somewhere
76+ publicly accessible online.
77+ </ p > < p >
78+ The < b > easiest way is to upload your json file</ b >
79+ into the same < a href ="https://archive.org/create/ " target ="_blank "> Archive.org</ a > collection as your images.
80+ </ p >
81+ < p > Then when you open that collection in MapKnitter Lite,
82+ it will auto-detect your saved map and place images as
83+ you had them.</ p >
84+
85+ < h4 > Share via email</ h4 >
86+ < p >
87+ You can also share your saved map file via email.
88+ </ p >
89+ < p >
90+ Anyone with the file can drag it onto MapKnitter Lite,
91+ and it will fetch and place all the images you've saved.
92+ </ p >
93+ </ div >
94+ </ div >
95+ </ div >
96+ </ div >
6197
6298 < i title ="Open Sidebar " id ="mapToggle " class ="fa fa-bars fa-3x " style ="position: absolute; right: 0; top:30px; margin: 1rem; z-index: 900; color: white; cursor: pointer; " aria-hidden ="true "> </ i >
6399
@@ -69,6 +105,9 @@ <h2 class="modal-title">Welcome to MapKnitter Lite</h2>
69105 < button id ="saveMap " type ="button " class ="btn btn-sm " aria-label ="Save map " title ="Save map in JSON format " >
70106 < i class ="fa fa-save fa- " style ="font-size:24px " > </ i >
71107 </ button >
108+ < button id ="shareMapBtn " type ="button " class ="btn btn-sm " aria-label ="Share map " title ="Share map " >
109+ < i class ="fa fa-share-alt fa- " style ="font-size:24px " > </ i >
110+ </ button >
72111 < button type ="button " class ="btn-close " data-bs-dismiss ="offcanvas " aria-label ="Close " title ="Close Sidebar " > </ button >
73112 </ div >
74113 < hr >
@@ -88,7 +127,6 @@ <h3 id="offcanvasRightLabel">Images</h3>
88127 </ button >
89128 </ div >
90129 </ div >
91-
92130</ body >
93131</ html >
94132
0 commit comments