Skip to content

Commit

Permalink
Adding Member Resources page and Studio Bookings Page
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanFriday committed Aug 21, 2015
1 parent 65004a3 commit 7fcc476
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 0 deletions.
14 changes: 14 additions & 0 deletions headers/menu_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ function print_menu(){
</div>
</div>
</li>
<li class=drop><a href="member_resources.php">Member Resources</a>
<div class="dropdown small">
<div class=small>
<ul>
<?php if(permission_level() >= $djland_permission_levels['member']) : ?>
<li><a href="member_resources.php">Resources</a></li>
<?php endif; ?>
<?php if(permission_level() >= $djland_permission_levels['member']) : ?>
<li><a href="studio_booking.php">Book a Studio</a></li>
<?php endif; ?>
</ul>
</div>
</div>
</li>
<?php
endif;

Expand Down
89 changes: 89 additions & 0 deletions member_resources.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?php

include_once("headers/session_header.php");
require_once("headers/security_header.php");
require_once("headers/functions.php");
require_once("headers/menu_header.php");

error_reporting(E_ALL);
?>

<html>
<head>
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
<base href='shows.php'>
<link rel="stylesheet" href="css/style.css" type="text/css">

<style type="text/css">

#mainpodcast {
font-size:1.10em;
line-height:1.3em;
}

#mainpodcast input, #mainpodcast textarea{
width:100%;
margin: 5px;
padding:5px;
}

#mainpodcast input{
font-size: 1em;
}
#mainpodcast textarea{
font-size:0.77em;
}
</style>
</head>

<body>

<?php print_menu(); ?>

<div ng-app="djLand" id="mainpodcast" ng-cloak>

<div ng-controller="episodeSingle" >
{{status}}<hr/>
{{episode}}<hr/>

<div ng-controller="episodeCtrl" ng-repeat="episode in episodes" class="form_wrap show_form">

<h3>editing podcast episode</h3>

<h3>{{episodeData.title}}</h3>

Episode Title:<br/>
<input ng-model="episode.title">
</input><br/>

Subtitle:<br/>
<input ng-model="episode.subtitle" >
</textarea><br/>

Episode Summary:<br/>
<textarea ng-model="episode.summary" rows="25">
</textarea><br/>

Date:<br/>
<input ng-model="episode.date">
</input><br/>

URL:<br/>
<input ng-model="episode.url">
</input><br/>

message:{{message}}<br/>


<button ng-click="save(episode);" >save info (tba)</button>
<textarea cols="100" rows="20">{{episode}}</textarea>
</div>
</div>
</div>
<script src="js/angular.js"></script>
<script type="text/javascript">
var djland = angular.module('djLand', []);
</script>
<script src="js/angular-djland.js"></script>
</body>
</html>
43 changes: 43 additions & 0 deletions studio_booking.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php

include_once("headers/session_header.php");
require_once("headers/security_header.php");
require_once("headers/functions.php");
require_once("headers/menu_header.php");

error_reporting(E_ALL);
?>

<html>
<head>
<meta name=ROBOTS content="NOINDEX, NOFOLLOW">
<base href='shows.php'>
<link rel="stylesheet" href="css/style.css" type="text/css">

</head>

<body class='wallpaper'>

<?php print_menu(); ?>

<h1>Studio Booking</h1>

<div>
<p><i>*If you book studio time, you have a fifteen minute grace period to show up on time. If not, the studio will be claimed on a first-come, first-serve basis for interested members.</i><br/>

<a name="studiocbooking"></a><br />
<iframe src="http://citrstudioc.youcanbook.me" class='center' style="border:0px;background:transparent;" frameborder="0" allowtransparency="true"></iframe></p>
<p><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.google.com/calendar/embed?src=citr.ca_enon4vvn43udfr5p8d6p4bb4pg%40group.calendar.google.com&#038;ctz=America/Vancouver');" style="border: 0px; background: transparent;" title="See the Studio B bookings here" href="http://www.google.com/calendar/embed?src=citr.ca_enon4vvn43udfr5p8d6p4bb4pg%40group.calendar.google.com&#038;ctz=America/Vancouver" target="_blank">See the Studio C bookings here</a><br />

<a name="studiobbooking"></a><br />
<iframe src="http://citrstudiob.youcanbook.me" class='center' style="border:0px;background:transparent;" frameborder="0" allowtransparency="true"></iframe></p>
<p><a onclick="javascript:pageTracker._trackPageview('/outgoing/www.google.com/calendar/embed?src=citr.ca_alhprjo077j16o3tp2r468mucg%40group.calendar.google.com&amp;ctz=America/Vancouver');" style="border: 0px; background: transparent;" title="See the Studio B bookings here" href="http://www.google.com/calendar/embed?src=citr.ca_alhprjo077j16o3tp2r468mucg%40group.calendar.google.com&amp;ctz=America/Vancouver" target="_blank">See the Studio B bookings here</a></p>

<p>If you would like to book a time that is taken contact the person in the link above or CiTR staff to reschedule.</p>

<p><em>If any problems occur with your booking, please email <a onclick="javascript:pageTracker._trackPageview('/mailto/technicalassistant@citr.ca mailto:technicalservices@citr.ca');" href="mailto:technicalassistant@citr.ca mailto:technicalservices@citr.ca">tech services</a>.</em></p>
</div>


</body>
</html>

0 comments on commit 7fcc476

Please sign in to comment.