Browse Source

Thanks page

Igor 3 years ago
parent
commit
1aeee92626
2 changed files with 41 additions and 0 deletions
  1. 2 0
      app/post.php
  2. 39 0
      app/thanks.html

+ 2 - 0
app/post.php

@@ -46,8 +46,10 @@
             store(json_encode($data, JSON_UNESCAPED_UNICODE));
         } catch (Exception $e) {
             echo print_error($e->getMessage());
+            exit;
         }
         
+        header('Location: thanks.html');
     }
     
     /**

+ 39 - 0
app/thanks.html

@@ -0,0 +1,39 @@
+<!DOCTYPE HTML>
+<html lang="pt-BR">
+  <head>
+    <title>Questionário: Pesquisa sobre mudanças na Educação provocadas pela pandemia da covid-19</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="author" content="LInE" />
+    <link rel="stylesheet" href="../forms/foundation.min.css">
+    <style>
+      .rotulo {
+        font-weight: bold;
+        background-color: #e4f1fa;
+        margin: 2px;
+      }
+      .required::before {
+        content: '* ';
+        color: red;
+      }
+      .condicional {
+        visibility: hidden;
+      }
+      .page {
+        display: none;
+      }
+      #btn_submit {
+        display: none;
+      }
+      legend {
+        font-weight: bold;
+      }
+    </style>
+  </head>
+  <body>
+    <div class="callout">
+        <p class="paragrafo lead text-justify">
+        Suas respostas foram gravadas com sucesso! O Laboratório de Informática na Educação agradece a sua participação!
+        </p>
+    </div>
+   </body>
+</html>