forked from OCHA-DAP/DAP-Blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed a few elements in the layout and adapted a new structure for …
…the site.
- Loading branch information
Showing
11 changed files
with
1,655 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,74 @@ | ||
<div class="row footer-row"> | ||
<div class="col-xs-12 col-sm-10 col-md-10 col-lg-8 col-sm-offset-1 col-md-offset-1 col-lg-offset-2 footer-wrapper"> | ||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3"> | ||
<a href="<?php bloginfo('url'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/img/logo.png" alt="<?php bloginfo('name');?>" height="35" width="35"></a> | ||
<h3 class="site-name-footer"> | ||
<a href="<?php bloginfo('url'); ?>/" class="site-name-footer-link"><?php bloginfo('name'); ?></a> | ||
</h3> | ||
</div> <!-- .footer-logo-wrapper --> | ||
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 hidden-xs footer-links-wrapper"> | ||
<ul class="footer-links-list"> | ||
<?php wp_nav_menu( array('theme_location' => 'FooterNavigation', 'items_wrap'=> '%3$s', 'container'=> '')); ?> | ||
<!-- Footer Wrapper --> | ||
<div id="footer-wrapper"> | ||
<!-- Footer --> | ||
<div id="footer" class="container"> | ||
<header> | ||
<h2>Stay connected.<strong> Sign-up for our mailing list:</strong></h2> | ||
</header> | ||
<!-- Begin MailChimp Signup Form --> | ||
<div id="mc_embed_signup" class="6u"> | ||
<section> | ||
<form action="http://unocha.us2.list-manage.com/subscribe/post?u=83487eb1105d72ff2427e4bd7&id=6fd988326c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | ||
<div class="row half"> | ||
<div class="6u"> | ||
<input type="email" value="" name="EMAIL" class="text" id="mce-EMAIL" placeholder="Email" type="text"> | ||
</div> | ||
<div class="6u"> | ||
<input type="text" value="" name="NAME" class="text" id="mce-NAME" placeholder="Name" type="text"> | ||
</div> | ||
</div> | ||
<div class="row half"> | ||
<div id="mce-responses" class="12u"> | ||
<div class="response" id="mce-error-response" style="display:none"></div> | ||
<div class="response" id="mce-success-response" style="display:none"></div> | ||
</div> <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button button-icon icon icon-envelope"></div> | ||
</div> | ||
</section> | ||
</form> | ||
</div> | ||
<!--End mc_embed_signup--> | ||
<div class="6u"> | ||
<section> | ||
<p>(Email disclaimer should go here -- or some explanation of what they will receive and the frequency, etc. )</p> | ||
<div class="row"> | ||
<ul class="icons 6u"> | ||
<li class="icon icon-github"> | ||
<a href="https://github.com/OCHA-DAP">@OCHA-DAP</a> | ||
</li> | ||
</ul> | ||
<ul class="icons 6u"> | ||
<li class="icon icon-twitter"> | ||
<a href="http://twitter.com/humdata">@humdata</a> | ||
</li> | ||
<!-- Future G+ account. | ||
<li class="icon icon-google-plus"> | ||
<a href="#">google.com/+untitled-tld</a> | ||
</li> | ||
--> | ||
</ul> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- Copyright --> | ||
<div id="copyright" class="container"> | ||
<ul class="links"> | ||
<li>Copyright © 2013 by the United Nations, Office for the Coordination of Humanitarian Affairs</li><br /> | ||
<li>Image credits: <a href="http://www.unocha.org">OCHA</a></li> | ||
<li>Site layout: <a href="http://html5up.net/">HTML5 UP</a></li> | ||
</ul> | ||
</div> <!-- .footer-links-wrapper --> | ||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3 footer-creative-commons-wrapper"> | ||
<a href="<?php echo $GLOBALS['_DEFAULT_COPYRIGHT_LINK']; ?>" class="footer-link footer-creative-commons-link"><?php echo $GLOBALS['_DEFAULT_COPYRIGHT_TEXT']; ?></a> | ||
</div> <!-- .footer-creative-commons --> | ||
</div> <!-- .footer-wrapper --> | ||
</div> <!-- .footer-row --> | ||
</div> <!-- .top-container --> | ||
|
||
<?php wp_footer(); ?> | ||
|
||
<script src="<?php bloginfo('template_directory'); ?>/js/vendor.js"></script> | ||
<!-- <script src="<?php bloginfo('template_directory'); ?>/js/app.js"></script> --> | ||
<!-- <script>require('elweb');</script> --> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
|
||
88 88 | ||
88 88 | ||
88 88 | ||
,adPPYba, 88 8b db d8 ,adPPYba, 88,dPPYba, | ||
a8P_____88 88 `8b d88b d8' a8P_____88 88P' "8a | ||
8PP""""""" 88 `8b d8'`8b d8' 8PP""""""" 88 d8 | ||
"8b, ,aa 88 `8bd8' `8bd8' "8b, ,aa 88b, ,a8" | ||
`"Ybbd8"' 88 YP YP `"Ybbd8"' 8Y"Ybbd8"' | ||
|
||
|
||
Based on 'eleb' theme and 'Strongly Typed' by HTML5. Licenses and links on https://github.com/OCHA-DAP/DAP-Blog | ||
--> | ||
|
||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]--> | ||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]--> | ||
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]--> | ||
|
@@ -69,30 +60,57 @@ | |
<link rel="alternate" href="<?php echo $GLOBALS['_DEFAULT_RSSFEED_URL']; ?>" type="application/rss+xml" /> | ||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"> | ||
|
||
<!-- HTML5 JS + CSS --> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta name="description" content="" /> | ||
<meta name="keywords" content="" /> | ||
<meta name="viewport" content="width=1040" /> | ||
<!-- <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Arvo:700" rel="stylesheet" type="text/css" /> --> | ||
<link href='http://fonts.googleapis.com/css?family=Volkhov:400,700' rel='stylesheet' type='text/css'> | ||
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><![endif]--> | ||
<script src="js/jquery.min.js"></script> | ||
<script src="js/jquery.dropotron.js"></script> | ||
<script src="js/config.js"></script> | ||
<script src="js/skel.min.js"></script> | ||
<script src="js/skel-panels.min.js"></script> | ||
<noscript> | ||
<link rel="stylesheet" href="css/skel-noscript.css" /> | ||
<link rel="stylesheet" href="css/style.css" /> | ||
<link rel="stylesheet" href="css/style-desktop.css" /> | ||
</noscript> | ||
|
||
|
||
<?php wp_head(); ?> | ||
</head> | ||
|
||
<body <?php body_class(); ?>> | ||
<body class="left-sidebar" | ||
<!--[if lt IE 7]> | ||
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> | ||
<![endif]--> | ||
|
||
<div class="container visible-xs mobile-nav-wrapper"> | ||
<nav class="navbar navbar-default" role="navigation"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex6-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/[email protected]" alt="<?php bloginfo('name');?>" height="50" width="50"><span class="navbar-sitename"><?php bloginfo('name'); ?></span></a> | ||
</div> <!-- .navbar-header --> | ||
<div class="collapse navbar-collapse navbar-ex6-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<?php wp_nav_menu( array('theme_location' => 'MobileNavigation', 'items_wrap'=> '%3$s', 'container'=> '')); ?> | ||
</ul> | ||
</div><!-- .navbar-collapse --> | ||
</nav> <!-- .navbar-default --> | ||
<div class="header-wrapper"> | ||
<div id="header" class="container"> | ||
|
||
<!-- Logo --> | ||
<h1 id="logo"><a href="#">DAP <i>Blog</i></a></h1> | ||
<p>Blog roll for OCHA's Data & Analysis Project.</p> | ||
|
||
<nav class="nav"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex6-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/[email protected]" alt="<?php bloginfo('name');?>" height="50" width="50"><span class="navbar-sitename"><?php bloginfo('name'); ?></span></a> | ||
</div> <!-- .navbar-header --> | ||
<div class="collapse navbar-collapse navbar-ex6-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<?php wp_nav_menu( array('theme_location' => 'MobileNavigation', 'items_wrap'=> '%3$s', 'container'=> '')); ?> | ||
</ul> | ||
</div><!-- .navbar-collapse --> | ||
</nav> <!-- .navbar-default --> | ||
</div> | ||
</div> <!-- .mobile-nav-wrapper --> |
1,245 changes: 1,228 additions & 17 deletions
1,245
blog/wp-content/themes/elweb/style.css
100644 → 100755
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.