Update index.php
[clinton/MarylandElectronicPetitionSignature.git] / index.php
index 2b4274c..ba95ca8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -8,16 +8,17 @@ if ($_COOKIE['invite'] != ''){
  $title = 'MEPS ('.strtoupper($_COOKIE['invite']).') - Are you Registered?'; 
 }
 include_once('header.php');
-
+slack_general('Home Page Loaded','md-petition');
  $q = "select * from website_text where id = '1'";
  $r = $petition->query($q);
  $d = mysqli_fetch_array($r);
 ?>
-  <script>document.title = "<?PHP echo $title;?>";</script>
-  <div class='col-sm-12' style='height:100px; text-align:center;'><h2><?PHP echo $d['text_title'];?></h2><p><?PHP echo $d['text_block'];?></p></div>
-  
-  <div class='col-sm-6' style='height:100px; text-align:center;'><button type="button" class="btn btn-success" onclick="window.location.href='enter_information.php'">YES</button></div>
-  
-  <div class='col-sm-6' style='height:100px; text-align:center;'><button type="button" class="btn btn-danger" onclick="window.location.href='not_a_registered_voter.php'">NO</button> </div>
-  
+<script>document.title = "<?PHP echo $title;?>";</script>
+<div class='row'>
+  <div class='col-sm-12' style='text-align:center;'><h1><?PHP echo $d['text_title'];?></h1><h2><?PHP echo $d['text_block'];?></h2></div>
+ </div> 
+<div class='row'>
+  <div class='col-sm-6' style='text-align:center;'><button type="button" class="btn btn-success btn-lg btn-block" onclick="window.location.href='enter_information.php'">YES</button></div>
+  <div class='col-sm-6' style='text-align:center;'><button type="button" class="btn btn-danger btn-lg btn-block" onclick="window.location.href='not_a_registered_voter.php'">NO</button></div>
+ </div> 
 <?PHP include_once('footer.php');