Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
ECE Site Demo
  • Loading branch information
briandunnigan authored and briandunnigan committed Jun 11, 2015
1 parent 274bc87 commit fefc6c2
Show file tree
Hide file tree
Showing 8 changed files with 854 additions and 109 deletions.
375 changes: 370 additions & 5 deletions css/ece.css

Large diffs are not rendered by default.

81 changes: 0 additions & 81 deletions footer.php

This file was deleted.

4 changes: 2 additions & 2 deletions header.php
Expand Up @@ -41,12 +41,12 @@ if (/*@cc_on!@*/false) {
<div class="container">
<?php include 'inc/header-img.php'; ?>
<div class="row">
<div class="col-sm-4">
<div class="col-sm-3">
<div class="site-branding hidden-xs" id="uc-site-header">
<?php include 'inc/site-title.php'; ?>
</div>
</div>
<div class="col-sm-8">
<div class="col-sm-9">
<div id="nav-wrapper">
<?php include 'inc/nav.php'; ?>
</div>
Expand Down
Binary file added img/ece_title.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 34 additions & 5 deletions js/custom.js
@@ -1,8 +1,37 @@
jQuery(document).ready(function($) {
$( ".social-vimeo > a" ).html( "DONATE" );
});




$( ".social-vimeo > a" ).html( "DONATE" );

var search = '';
var active = false;
$('.search').on('click',function(e){
if($(e.target).attr('id')=='s') return;
active = true;
search = $(e.target).parent().html();
$('.search').fadeOut(500,function(){
$(this).html('<form class="form-inline" role="form" method="get" action="http://ece.uconn.edu/"><input id="s" type="text" onfocus="this.value = \'\'" name="s" value="Search ECE"></form>').fadeIn(500);
$(this).addClass('search-field');
});
});

$('body').on('click',function(e){
if($(e.target).attr('id')=='s') return;
if($(e.target).parent().html()== search) return;
if(!active) return;
active = false;
$('.search').fadeOut(500,function(){
$(this).html(search).fadeIn(500);
$('.search').removeClass('search-field');
});
});

$( "#footers" ).before( "<div class='container'><div class='col-sm-12 footer-img'></div></div>" );



});





2 changes: 1 addition & 1 deletion js/min/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions page-home.php
@@ -0,0 +1,18 @@
<?php
/**
Template Name: Home
* This page template has no padding, and does not display the page title.
* Useful for large images, iframes, or other edge cases.
*/

get_header(); ?>
<div id="page-home">
<?php while ( have_posts() ) : the_post(); ?>
<div class="row">
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<?php get_template_part( 'content', 'blank' ); ?>
</div>
</div>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_footer(); ?>

0 comments on commit fefc6c2

Please sign in to comment.