Skip to content

Commit

Permalink
Updating WP themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adi committed Oct 16, 2014
1 parent bf89956 commit ce7c42e
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 38 deletions.
2 changes: 1 addition & 1 deletion micropasts/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<li><i class="fa fa-facebook-square" style="color:white"></i> <a href="http://facebook.com/micropasts">Facebook</a></li>
<li><i class="fa fa-flickr" style="color:white"></i> <a href="https://www.flickr.com/photos/micropasts">Flickr</a></li>
</ul>
</div>
</div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion micropasts/front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="jumbotron-small col-md-4">
<h3>Research you fund</h3>
<p>Choose among new proposals for research and help to crowd-fund them.</p>
<p><a class="btn btn-primary" href="http://micropasts.org/crowdfunding/">View details <i class="fa fa-chevron-right"></i></a></p>
<p><a class="btn btn-primary" href="https://crowdfunded.micropasts.org/">View details <i class="fa fa-chevron-right"></i></a></p>
</div>
<div class="jumbotron-small col-md-4">
<h3>Discuss and design</h3>
Expand Down
2 changes: 1 addition & 1 deletion micropasts/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="http://crowdsourced.micropasts.org/">Crowd-sourcing</a></li>
<li<?php if (is_page('Crowd-funding')) { echo " class=\"active\""; }?>><a href="/crowdfunding">Crowd-funding</a></li>
<li><a href="https://crowdfunded.micropasts.org/">Crowd-funding</a></li>
<li><a href="http://community.micropasts.org">Forum</a></li>
<li<?php if (is_page('data-centre')) { echo " class=\"active\""; }?>><a href="/data-centre">Data</a></li>
<li<?php if (is_page('learning')) { echo " class=\"active\""; }?>><a href="/learning">Learning</a></li>
Expand Down
4 changes: 2 additions & 2 deletions micropasts/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p><em><?php the_time('l, F jS, Y'); ?></em></p>
<hr>
<p><em><?php the_time('l, F jS, Y'); ?></em></p>
<hr>

<?php endwhile; else: ?>
<p><?php _e('Sorry, there are no posts.'); ?></p>
Expand Down
6 changes: 3 additions & 3 deletions micropasts/index.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php get_header(); ?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php the_content(); ?>

<?php endwhile; else: ?>
<?php endwhile; else: ?>

<div class="wrap">
<div class="top-container"></div>
Expand All @@ -23,6 +23,6 @@
<div class="push"></div>
</div>

<?php endif; ?>
<?php endif; ?>

<?php get_footer(); ?>
14 changes: 9 additions & 5 deletions micropasts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ body {
padding-left: 27px;
text-align: left;
}

.tdstyle {
font-size: 14px;
font-family: Arial, Helvetica, Sans-Serif;
text-align: left;
}

/* HEADER */

Expand Down Expand Up @@ -194,14 +198,14 @@ body {
.jumbotron-page p {
padding: 3px;
text-align: left;
font-size: 14px;
font-size: 14px;
}
.jumbotron-page h3, h4 {
text-align:left;
padding-top: 15px;
padding-top: 15px;
}
.jumbotron-page ul {
text-align:left;
text-align:left;
}
.jumbotron-small p {
text-align: left;
Expand All @@ -210,7 +214,7 @@ body {
.jumbotron-small h3 {
text-align: left;
font-size: 18px;
font-weight: bold;
font-weight: bold;
}


Expand Down
2 changes: 1 addition & 1 deletion wpbootstrap/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li><i class="fa fa-facebook-square" style="color:white"></i> <a href="http://facebook.com/micropasts">Facebook</a></li>
<li><i class="fa fa-flickr" style="color:white"></i> <a href="https://www.flickr.com/photos/micropasts">Flickr</a></li>
</ul>
</div>
</div>
</div>
</div>

Expand Down
29 changes: 14 additions & 15 deletions wpbootstrap/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,20 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="http://crowdsourced.micropasts.org/">Crowd-sourcing</a></li>
<li<?php if (is_page('Crowd-funding')) { echo " class=\"active\""; }?>><a href="/crowdfunding">Crowd-funding</a></li>
<li><a href="http://community.micropasts.org">Forum</a></li>
<!-- li<?php if (is_page('data-centre')) { echo " class=\"active\""; }?>><a href="/data-centre">Data</a></li -->
<!-- li<?php if (is_page('learning')) { echo " class=\"active\""; }?>><a href="/learning">Learning</a></li -->
<li<?php if (is_page('About')) { echo " class=\"active\""; }?>><a href="/about">About</a></li>
<!-- li><a href="http://research.micropasts.org">Blog</a></li -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Research <b class="caret"></b></a>
<ul class="dropdown-menu">
<li<?php if (is_page('data-centre')) { echo " class=\"active\""; }?>><a href="/data-centre">Data</a></li>
<li<?php if (is_page('learning')) { echo " class=\"active\""; }?>><a href="/learning">Learning</a></li>
<li><a href="http://research.micropasts.org">Blog</a></li>
</ul>
</li>

<!-- menu changes to reflect CS site -->
<li><a href="#">Home</a></li>
<li><a href="#">Contributors</a></li>
<li><a href="#">Applications</a></li>
<li<?php if (is_page('About')) { echo " class=\"active\""; }?>><a href="/about">About</a></li>
<li><a href="http://community.micropasts.org">Forum</a></li>
<li<?php if (is_page('data-centre')) { echo " class=\"active\""; }?>><a href="/data-centre">Data</a></li>
<li<?php if (is_page('learning')) { echo " class=\"active\""; }?>><a href="/learning">Learning</a></li>
<li><a href="http://research.micropasts.org">Blog</a></li>

<!-- li><a href="http://crowdsourced.micropasts.org/">Crowd-sourcing</a></li>
<li<?php if (is_page('Crowd-funding')) { echo " class=\"active\""; }?>><a href="/crowdfunding">Crowd-funding</a></li -->

</ul>
</div>

Expand Down
4 changes: 2 additions & 2 deletions wpbootstrap/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p><em><?php the_time('l, F jS, Y'); ?></em></p>
<hr>
<p><em><?php the_time('l, F jS, Y'); ?></em></p>
<hr>

<?php endwhile; else: ?>
<p><?php _e('Sorry, there are no posts.'); ?></p>
Expand Down
6 changes: 3 additions & 3 deletions wpbootstrap/index.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php get_header(); ?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php the_content(); ?>

<?php endwhile; else: ?>
<?php endwhile; else: ?>

<div class="wrap">
<div class="top-container"></div>
Expand All @@ -23,6 +23,6 @@
<div class="push"></div>
</div>

<?php endif; ?>
<?php endif; ?>

<?php get_footer(); ?>
8 changes: 4 additions & 4 deletions wpbootstrap/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ body {
.jumbotron-page p {
padding: 3px;
text-align: left;
font-size: 14px;
font-size: 14px;
}
.jumbotron-page h3, h4 {
text-align:left;
padding-top: 15px;
padding-top: 15px;
}
.jumbotron-page ul {
text-align:left;
text-align:left;
}
.jumbotron-small p {
text-align: left;
Expand All @@ -212,7 +212,7 @@ body {
.jumbotron-small h3 {
text-align: left;
font-size: 18px;
font-weight: bold;
font-weight: bold;
}


Expand Down

0 comments on commit ce7c42e

Please sign in to comment.