From a51c188eb783b1f7b6cd0ba414252572babd8e53 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 20 Dec 2014 15:23:27 +0100 Subject: feedback form interaction --- assets/css/lustige-styles.css | 5 +++++ assets/css/src/lustige-styles.scss | 2 ++ assets/js/lustiges-script.js | 9 +++++++++ template/assemblies/feedback.phtml | 10 ++++++++-- 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/assets/css/lustige-styles.css b/assets/css/lustige-styles.css index e752c13..22e9e37 100644 --- a/assets/css/lustige-styles.css +++ b/assets/css/lustige-styles.css @@ -5467,6 +5467,11 @@ h1 + .news-item { padding: 20px; } .tab-content #feedback label { color: white; } + .tab-content #feedback h3 { + display: none; + color: white; } + .tab-content #feedback iframe { + display: none; } .tab-content #feedback .col { padding: 0 30px; } diff --git a/assets/css/src/lustige-styles.scss b/assets/css/src/lustige-styles.scss index 2939d3c..634d5fe 100644 --- a/assets/css/src/lustige-styles.scss +++ b/assets/css/src/lustige-styles.scss @@ -238,6 +238,8 @@ h1 + .news-item { padding: 20px; label { color: white; } + h3 { display: none; color: white; } + iframe { display: none; } .col { padding: 0 30px; diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 170a15d..59fd6ff 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -379,3 +379,12 @@ $(function() { fetchProgram(); }); + + +// feedback form +$(function() { + $('.feedback-form').on('submit', function() { + $('.feedback-form').hide(); + $('.feedback-thankyou').show(); + }); +}); diff --git a/template/assemblies/feedback.phtml b/template/assemblies/feedback.phtml index 2c5824f..7bbaa04 100644 --- a/template/assemblies/feedback.phtml +++ b/template/assemblies/feedback.phtml @@ -1,4 +1,4 @@ -
+
@@ -124,9 +124,15 @@
+
+ + +
+
-
+

Thank you!

+ -- cgit v1.2.3