Skip to content

Commit

Permalink
removed some images and update with calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lookmai committed Sep 29, 2013
1 parent fc70100 commit bebe8a4
Show file tree
Hide file tree
Showing 16 changed files with 62 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Custom_Calendar/custom_calendar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.dp-cur, .chip dt, .te, .te-t, .te-rev-s, .rb-n, .rb-i, .agenda, .event-title{
white-space:normal !important;
}
27 changes: 27 additions & 0 deletions Custom_Calendar/custom_calendar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
$your_google_calendar="https://www.google.com/calendar/[email protected]&gsessionid=OK";
$url= parse_url($your_google_calendar);
$google_domain = $url['scheme'].'://'.$url['host'].dirname($url['path']).'/';
// Load and parse Google's raw calendar
$dom = new DOMDocument;
$dom->loadHTMLfile($your_google_calendar);
// Change Google's CSS file to use absolute URLs (assumes there's only one element)
$css = $dom->getElementByTagName('link')->item(0);
$css_href = $css->getAttributes('href');
$css->setAttributes('href', $google_domain . $css_href);
// Change Google's JS file to use absolute URLs
$scripts = $dom->getElementByTagName('script')->item(0);
foreach ($scripts as $script) {
$js_src = $script->getAttributes('src');
if ($js_src) $script->setAttributes('src', $google_domain . $js_src);
}
// Create a link to a new CSS file called custom_calendar.css
$element = $dom->createElement('link');
$element->setAttribute('type', 'text/css');
$element->setAttribute('rel', 'stylesheet');
$element->setAttribute('href', 'custom_calendar.css');
// Append this link at the end of the element
$head = $dom->getElementByTagName('head')->item(0);
$head->appendChild($element);
// Export the HTML
echo $dom->saveHTML();
?>
Binary file added ico/apple-touch-icon-114-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ico/apple-touch-icon-144-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ico/apple-touch-icon-72-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ico/favicon.ico
Binary file not shown.
Binary file modified img/Thumbs.db
Binary file not shown.
Binary file removed img/captain.png
Binary file not shown.
Binary file removed img/cfa_brigade_logo.png
Binary file not shown.
Binary file removed img/cfa_logo_greyscale.png
Binary file not shown.
Binary file removed img/community.png
Binary file not shown.
Binary file removed img/google_groups.png
Binary file not shown.
Binary file removed img/logo.png
Binary file not shown.
Binary file removed img/meetup.jpg
Binary file not shown.
Binary file removed img/noun_project_756_citizen.png
Binary file not shown.
42 changes: 32 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,14 @@
<![endif]-->

<!-- Le fav and touch icons -->
<!-- Commented out - update these with your own files -->
<!--
<link rel="shortcut icon" href="ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
-->
<!-- <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png"> -->
</head>

<!-- BODY + SCROLLSPY -->
<body data-spy="scroll" data-target=".navbar">
<a id="home"></a>

<nav class="navbar" role="banner">
Expand All @@ -48,6 +44,7 @@

<div class="navbar-collapse collapse" role="navigation">
<ul class="nav navbar-nav navbar-left">
<li><a href="#events">Events</a></li>
<li><a href="https://bit.ly/odu-acm">ACM Google Group</a></li>
<li><a href="http://codeforhamptonroads.org">C4HRVA</a></li>
<li><a href="https://www.facebook.com/groups/347108605336487/">CS Facebook</a></li>
Expand All @@ -73,6 +70,7 @@
</div>



<!-- INFO 1 -->
<div class="wrapper" style="background-color:#F0F0F0">
<div class="mainpage">
Expand Down Expand Up @@ -105,6 +103,32 @@ <h3>Apply</h3>
</div>
</div> <!-- /.wrapper -->

<!-- Events -->
<a id="events"></a>
<div class="wrapper" style="background-color:#F7EFE4">
<div class="mainpage">
<div class="row featurette">

<div class="col-lg-9">
<h1>Upcoming Events</h1>
<ul>
<li><a href="https://www.eventbrite.com/event/8054273549">DE Hackathon</a>: Dominion Enterprise annual hackathon! ODU team will be participating along side professionals and other local schools. <b>October 3rd through 4th.</b> </li>
<li><a href="">CS Cookout</a>: Annual CS Department BBQ Cookout! Come join us! We'll be near the East stairwell of the E&CS Building. <b>Tuesday, October 8th from 12:30 PM to 2:30 PM</b></li>
</ul>
</div>

<div class="col-lg-6" style="background-color:#F7EFE4">
<center>
<div class="responsive-iframe-container">
<iframe src="https://www.google.com/calendar/embed?showTitle=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;height=300&amp;wkst=1&amp;bgcolor=%23F7EFE4&amp;src=cio2i30aokggmkm5ac3pttnvs0%40group.calendar.google.com&amp;color=%232F6309&amp;ctz=America%2FNew_York" style=" border-width:0 " width="400" height="300" frameborder="0" scrolling="no"></iframe>
</div>
</center>
</div>

</div>
</div>
</div> <!-- /.wrapper -->

<!-- ABOUT -->
<div class="wrapper" style="background-color:#D9E3D8">
<div class="mainpage">
Expand All @@ -131,11 +155,9 @@ <h1>About Us:</h1>
<h1>Current Projects:</h1>

<div class="col-lg-10">
<p>
<ul>
<li>Adopt-A-Spot @ ODU - A collaboration with Code for America Brigade, the app is adopted from <a href="http://adopahydrant.org">Adopt-A-Hydrant</a> program in Boston.</li>
</ul>
</p>
<ul>
<li>Adopt-A-Spot @ ODU - A collaboration with Code for America Brigade, the app is adopted from <a href="http://adopahydrant.org/">Adopt-A-Hydrant</a> program in Boston.</li>
</ul>
</div>

<div class="col-lg-5">
Expand Down

0 comments on commit bebe8a4

Please sign in to comment.