mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
Feedback-System
This commit is contained in:
parent
601e5c505a
commit
c094ad5e73
3 changed files with 17 additions and 9 deletions
|
@ -67,3 +67,15 @@ body.e404 {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.feedback {
|
||||
.feedback-thankyou {
|
||||
font-size: @jumbo-font-size;
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
|
||||
display: none;
|
||||
|
||||
.well();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
require_once('lib/bootstrap.php');
|
||||
|
||||
if(
|
||||
!isset($_POST['datetime']) ||
|
||||
!isset($_POST['net']) ||
|
||||
|
@ -9,8 +11,6 @@ if(
|
|||
!isset($_POST['provider']) ||
|
||||
!isset($_POST['issuetext'])
|
||||
) {
|
||||
require_once('lib/bootstrap.php');
|
||||
|
||||
echo $tpl->render(array(
|
||||
'page' => 'feedback',
|
||||
'title' => 'Give Feedback',
|
||||
|
@ -19,7 +19,7 @@ if(
|
|||
}
|
||||
else
|
||||
{
|
||||
$db = new PDO('sqlite:/opt/31c3-streaming-feedback/feedback.sqlite3');
|
||||
$db = new PDO(get('FEEDBACK.DSN'));
|
||||
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
||||
$stm = $db->prepare('
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
<div class="container-fluid rooms">
|
||||
<div class="container">
|
||||
<h1>Feedback</h1>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="feedback">
|
||||
<? include("$assemblies/feedback.phtml") ?>
|
||||
</div>
|
||||
</div>
|
||||
<? include("$assemblies/feedback.phtml") ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue