survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit bd8ad1b5a816a6a19c8d28c5533abc26027eb563
parent 4258731e09a37992b37deef9686db7aa1546450e
Author: John Kubach <johnkubach@gmail.com>
Date:   Thu, 20 Dec 2018 12:22:55 -0500

css cleanup

Diffstat:
Mwebsite/controlpanel.php | 2--
Mwebsite/createsurvey.php | 4++--
Mwebsite/res/nope.php | 7+++++--
3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/website/controlpanel.php b/website/controlpanel.php @@ -41,7 +41,5 @@ if (!isset($_SESSION['admin'])) { <button type='submit' name='admin' > New Banner Message </button> <button type='submit' name='remove' > Remove Current Banner Message </button> </form> - - <a href="index.php"> Home </a> <br> </div> diff --git a/website/createsurvey.php b/website/createsurvey.php @@ -25,7 +25,7 @@ if(!isset($_SESSION['uid'])){ <input type="text" name="description" placeholder="This is a great survey"> <br> <p class="create"> Answer Type: </p> - Numeric (1 - 10)<input type="radio" class="radio" checked="checked" name="type" value="00"><br> + Numeric (1 - 10)<input type="radio" class="radio" checked="checked" name="type" value="00"> Yes / No<input type="radio" class="radio" name="type" value="01"><br> <!-- <input type="radio" name="type" value="10"> Text <br> --> <!-- <input type="radio" name="type" value="11"> Custom <br> --> @@ -39,7 +39,7 @@ if(!isset($_SESSION['uid'])){ echo "<input type='date' value = '$next_week' name='expire'> <br>"; ?> <p class="create"> Can a user take this survey more than once? </p> - Yes<input type="radio" class="radio" name="once" value="0" checked><br> + Yes<input type="radio" class="radio" name="once" value="0" checked> No<input type="radio" class="radio" name="once" value="1"><br> <button type="submit" name="submit">Create Survey</button> diff --git a/website/res/nope.php b/website/res/nope.php @@ -1,6 +1,9 @@ +<link rel="stylesheet" href="style.css"> +<center> <?php - echo "<h3> Abandon All Hope, Ye Who Enter Here </h3>"; - echo "<p> You are not allowed to view this page</p>"; + echo "<h1> Abandon All Hope, Ye Who Enter Here </h1>"; + echo "<h3> You are not allowed to view this page</h3>"; echo "<a href='../index.php'> Home </a> <br>"; exit(); ?> +</center>