Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lemayian committed May 27, 2015
1 parent 7ce28d9 commit 8cefa07
Show file tree
Hide file tree
Showing 30 changed files with 24 additions and 2,408 deletions.
16 changes: 16 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# GotToVote Config

country: "Ghana"
election_year: "2016"

registration_end_date: "13th August 2014"

api_key: "AIzaSyAwvkIls5mQybyp2R3g4FGiVetNdeVjUeE"


# ------------------------------------------------------------------------------
# Jekyll Config

# Handling Reading
safe: true

# Conversion
highlighter: pygments
7 changes: 2 additions & 5 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>GotToVote Ghana | {{ page.title }}</title>
<meta name="description" content="Find an MEC registration centre nearest to you.">
<title>GotToVote! {{ site.country }} | {{ page.title }}</title>
<meta name="description" content="Find the registration centre nearest to you.">
<meta name="viewport" content="width=device-width">
<meta property="og:image" content="img/c4a.png"/>

Expand Down Expand Up @@ -69,12 +69,9 @@ <h3>Get Social</h3>
<div class="supporting partners" style="float:left">
A Project By:<br />
<a href="http://www.codeforafrica.org" target="_blank"><img src="img/c4a.png" alt="Code For Africa"/></a>
<a href="http://odekro.org" target="_blank"><img src="img/logos/odekro.png" alt="Odekro" style="height:53px;"></a>
<a href="http://www.codeforghana.org" target="_blank"><img src="img/logos/c4gh.png" alt="Code For Ghana" style="height:65px;"/></a>
</div>
<div class="implementing partners" style="float:right">
Supported By:<br />
<a href="http://africanmediainitiative.org" target="_blank"><img src="img/logos/ami.png" alt="AMI" style="height:72px;"/></a>
<a href="http://www.icfj.org/" target="_blank"><img src="img/logos/icfj.png" alt="ICFJ" style="height:60px;"/></a>
</div>
<div class="clearfix"></div>
Expand Down
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
---
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<p class="text-info text-left"><b>Registration ends on 13th August 2014.</b>
All registration centres are open from 7:00am
to 6:00pm each day including Saturdays and Sunday.</p>
<p class="text-info text-left"><b>Registration ends on {{ site.registration_end_date }}.</b>
All registration centres are open from 7:00am to 6:00pm each day including Saturdays and Sunday.</p>
</div>

<div class="jumbotron" id="jumbotron">
<h1>Register as a Voter Today!</h1>
<p class="lead">Voter registration for the Ghana 2016 Elections has begun.
<p class="lead">Voter registration for the {{ site.country }} {{ site.election_year }} Elections has begun.
Find a voter registration centre and register to vote.</p>
<p><a class="btn btn-large btn-success" href="#" id="findlink" onclick="$('#find').scrollTop();">Find a Registration Centre</a></p>
</div>
Expand Down
4 changes: 3 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
---

// Selection Criteria

Expand Down Expand Up @@ -28,7 +30,7 @@ var json_result;
var get_url = "https://www.googleapis.com/fusiontables/v1/query?sql=";
var sql_1 = encodeURIComponent("SELECT * FROM ");
var sql_2 = encodeURIComponent(" WHERE Region_Code = "+county_code);
var api_key = "&key=AIzaSyAwvkIls5mQybyp2R3g4FGiVetNdeVjUeE";
var api_key = "&key={{ site.api_key }}";

county_sel.onchange = function () {

Expand Down
16 changes: 0 additions & 16 deletions less/bordered-pulled.less

This file was deleted.

12 changes: 0 additions & 12 deletions less/core.less

This file was deleted.

6 changes: 0 additions & 6 deletions less/fixed-width.less

This file was deleted.

17 changes: 0 additions & 17 deletions less/font-awesome.less

This file was deleted.

Loading

0 comments on commit 8cefa07

Please sign in to comment.