Browse Source

update calendar

windhamdavid 3 years ago
parent
commit
4d45d9ab9f
2 changed files with 29 additions and 8 deletions
  1. 22 1
      js/about.js
  2. 7 7
      page-about.php

+ 22 - 1
js/about.js

@@ -272,7 +272,28 @@ $('.calendar').fullCalendar ({
 				start: '2016-07-01',
 				end: '2016-07-06',
 				borderColor: 'red'
-			}
+			},
+			{
+				title: 'Project',
+				start: '2016-08-01',
+				end: '2016-09-01'
+			},
+			{
+				title: 'Project',
+				start: '2016-09-01',
+				end: '2016-10-01'
+			},
+			{
+				title: 'Project',
+				start: '2016-10-01',
+				end: '2016-11-01'
+			},
+			{
+				title: 'Holiday',
+				start: '2016-12-15',
+				end: '2017-01-10',
+				borderColor: 'red'
+			},
 	]
 });
 

+ 7 - 7
page-about.php

@@ -111,36 +111,36 @@ get_header('home'); ?>
 			<div class="row">
 				<div class="col-sm-8">
 					<h4 class="light">Why <small>(<i>You'll have to tell me</i>)</small></h3>
-					<form action="<?php the_permalink(); ?>" method="post" id="about-form" name="about-form" class="about-form">
+					<form  action="../contact" method="post" id="about-form" name="about-form" class="about-form">
 						<div class="form-row texts">
 							<label class='text-field'>
-								<input type="text" value="<?php echo esc_attr(isset($_POST['dw-fname'])); ?>" name="dw-fname" class="required" id="mce-FNAME" placeholder='First' required>
+								<input type="text" value="<?php echo esc_attr(isset($_POST['first_name'])); ?>" name="first_name" class="required" id="mce-FNAME" placeholder='First' required>
 							<strong>First name <span class='req'>*</span></strong>
 							</label>
 							<label class='text-field'>
-								<input type="text" value="<?php echo esc_attr(isset($_POST['dw-lname'])); ?>" name="dw-lname" class="required" id="mce-LNAME" placeholder='Last' required>
+								<input type="text" value="<?php echo esc_attr(isset($_POST['last_name'])); ?>" name="last_name" class="required" id="mce-LNAME" placeholder='Last' required>
 							<strong>Last name <span class='req'>*</span></strong>
 							</label>
 						</div>
 						<div class="form-row texts">
 							<label class='text-field'>
-								<input type="text" value="<?php echo esc_attr(isset($_POST['dw-email'])); ?>" name="dw-email" class="required email" id="mce-EMAIL" placeholder='you@gmail.com' required>
+								<input type="text" value="<?php echo esc_attr(isset($_POST['email'])); ?>" name="email" class="required email" id="mce-EMAIL" placeholder='you@gmail.com' required>
 							<strong>Email <span class='req'>*</span></strong>
 							</label>
 			
 							<label class='text-field'>
-								<input type="text" value="<?php echo esc_attr(isset($_POST['dw-org'])); ?>" name="dw-org" class="" placeholder='Org'>
+								<input type="text" value="<?php echo esc_attr(isset($_POST['org'])); ?>" name="org" class="" placeholder='Org'>
 							<strong>Organization</strong>
 							</label>
 						</div>
 						<div class="contact-form-message">
 							<label class='text-field' style="width:83%;">
-								<input type="text" size="100" value="<?php echo esc_attr(isset($_POST['dw-message'])); ?>" name="dw-message" class="" placeholder='Message'>
+								<input type="text" size="100" value="<?php echo esc_attr(isset($_POST['message'])); ?>" name="message" class="" placeholder='Message'>
 							<strong>Message</strong>
 							</label>
 						</div>
 						<div class="actions">
-							<button type="submit" class="submit btn default btn-primary" value="Contact" name="dw-contact" id="contact">Contact</button>
+							<button type="submit" class="submit btn default btn-primary" value="Contact" name="about-form" id="contact">Contact</button>
 						</div>
 					</form>
 					<div class="row where">