summaryrefslogtreecommitdiffstats
path: root/templates/html_editor_pop_ups.html
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2022-06-26 18:29:20 +0100
committerMartin Green <martin.speleo@gmail.com>2022-06-26 18:29:20 +0100
commit4e5d8d1d7612354204d4f1fbbc078482dcdae2b4 (patch)
tree98ea1d959c08e7ca2f484a3aa08704d1ac6fa529 /templates/html_editor_pop_ups.html
parentf1fcef2a6f9c78ceaf7a831ee07ad355d728cf69 (diff)
downloadtroggle-4e5d8d1d7612354204d4f1fbbc078482dcdae2b4.tar.gz
troggle-4e5d8d1d7612354204d4f1fbbc078482dcdae2b4.tar.bz2
troggle-4e5d8d1d7612354204d4f1fbbc078482dcdae2b4.zip
Refactored code, with an aim of allowing more than one HTMLarea on a page
Diffstat (limited to 'templates/html_editor_pop_ups.html')
-rw-r--r--templates/html_editor_pop_ups.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/html_editor_pop_ups.html b/templates/html_editor_pop_ups.html
new file mode 100644
index 0000000..dfdc66d
--- /dev/null
+++ b/templates/html_editor_pop_ups.html
@@ -0,0 +1,19 @@
+<!--Creates the add image popup-->
+
+<div class="add-image-popup popup-overlay">
+ <div class="add-image-popup popup-content">
+ <h2>Select Image</h2>
+ <p id="image_popup_content"> Loading ...</p>
+ <button onclick="new_image_popup()">Upload Image</button>
+ <button class="close" onclick="$('.add-image-popup').removeClass('active');">Close</button>
+ </div>
+</div>
+
+<!--Creates the new image popup-->
+<div class="new-image-popup popup-overlay">
+ <div class="new-image-popup popup-content">
+ <h2>New Image</h2>
+ <p id="new_image_popup_content"> Loading ...</p>
+ <button class="close" onclick="$('.new-image-popup').removeClass('active');">Close</button>
+ </div>
+</div>