From fd46852736c377bf8f161fab7a422adee25b9440 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sat, 5 Aug 2023 14:16:02 -0400 Subject: [dynamic] Re-implement gallery using SSR --- haunt/pages/gallery.sxml | 12 ------------ haunt/pages/rsvp.sxml | 37 ------------------------------------- haunt/pages/weblabels.sxml | 6 ------ 3 files changed, 55 deletions(-) delete mode 100644 haunt/pages/gallery.sxml delete mode 100644 haunt/pages/rsvp.sxml (limited to 'haunt/pages') diff --git a/haunt/pages/gallery.sxml b/haunt/pages/gallery.sxml deleted file mode 100644 index f01dda0..0000000 --- a/haunt/pages/gallery.sxml +++ /dev/null @@ -1,12 +0,0 @@ -(use-modules (jakob theme) - (jakob utils sxml)) - -(theme - #:title "Photo Gallery" - #:content - `((div (@ (id "gallery-container")) - (div (@ (id "loading")) - ,(image "hourglass.gif") - (p "Loading...")) - (div (@ (id "event-info")))) - ,(script "gallery.js"))) diff --git a/haunt/pages/rsvp.sxml b/haunt/pages/rsvp.sxml deleted file mode 100644 index 617350f..0000000 --- a/haunt/pages/rsvp.sxml +++ /dev/null @@ -1,37 +0,0 @@ -(use-modules (jakob theme) - (jakob utils sxml)) - -(theme - #:title "You've Been Invited to an Event!" - #:content - `((div (@ (id "rsvp")) - (div (@ (id "loading")) - ,(image "hourglass.gif") - (p "Loading...")) - (div (@ (id "event-info"))) - (form (@ (id "rsvp-input") (hidden #t)) - (fieldset - (legend "Your Info") - (label (@ (for "name")) "Name:") - (input (@ (type "text") (id "name") (name "name") (required #t) (size 24))) - (label (@ (for "email")) "Email:") - (input (@ (type "text") (id "email") (name "email") (required #t) (size 24)))) - (fieldset - (legend "RSVP Status") - (input (@ (type "radio") (id "attending") (name "rsvp"))) - (label (@ (for "attending")) "Attending") - (input (@ (type "radio") (id "tentative") (name "rsvp"))) - (label (@ (for "tentative")) "Tentative") - (input (@ (type "radio") (id "not-attending") (name "rsvp"))) - (label (@ (for "not-attending")) "Not Attending")) - (fieldset - (legend "Guests") - (div (@ (id "guest-view"))) - (input (@ (type "button") (id "add-entry") (value "+"))) - (input (@ (type "button") (id "remove-entry") (value "-")))) - (fieldset - (legend "All Set?") - (input (@ (type "button") (id "submit-form") (value "Submit"))))) - (div (@ (id "rsvp-global")))) - - ,(script "rsvp.js"))) diff --git a/haunt/pages/weblabels.sxml b/haunt/pages/weblabels.sxml index d498025..b57d0e1 100644 --- a/haunt/pages/weblabels.sxml +++ b/haunt/pages/weblabels.sxml @@ -60,12 +60,6 @@ `(p "GNU General Public License 3.0 or later"))) (td ,(hyperlink "/static/js/rsvp.js" `(p "/static/js/rsvp.js")))) - (tr (td ,(hyperlink "/static/js/gallery.js" - `(p "/static/js/gallery.js"))) - (td ,(hyperlink "http://www.gnu.org/licenses/gpl-3.0.html" - `(p "GNU General Public License 3.0 or later"))) - (td ,(hyperlink "/static/js/gallery.js" - `(p "/static/js/gallery.js")))) (tr (td ,(hyperlink "/static/js/oneko.js" `(p "/static/js/oneko.js"))) (td ,(hyperlink "http://www.jclark.com/xml/copying.txt" -- cgit v1.3