-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- First batch of widgets crafted for partner sites - Old map widget updated to match new widgets - Get a widget pages updated to support the light/dark style - Fixed faulty link causing donation flow to break. - Fixed issue when accessing the thank you page without proper queryparameter (now render a 404 instead of 500 error) . #193 #185 #182 #182 #154
- Loading branch information
Showing
37 changed files
with
1,527 additions
and
322 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>rsr Widget</title> | ||
<link rel="stylesheet" href="rsrWidgets.css" type="text/css" media="screen" title="main"> | ||
<link rel="stylesheet" href="w468px.css" type="text/css" media="screen" title="main"> | ||
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'> | ||
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | ||
<script src="js.js"></script> | ||
</head> | ||
|
||
<body> | ||
<button class="chooseColor bigBTN">Switch Color</button> | ||
<button class="changeStatus bigBTN">Change Status</button> | ||
<h1 class="seperator">Cobranded banner widget (468 pixels wide by 234 pixels high)</h1> | ||
<section id="container" class="w468px darkBG rsrWidget floats-in"> | ||
<header class="floats-in"> | ||
<hgroup> | ||
<h1>Project</h1> | ||
<a href="http://akvo.org">akvo.org</a> <span>powered by</span> </hgroup> | ||
</header> | ||
<div id="content" class="floats-in"> | ||
<div class="projectDescr"> | ||
<ul class="basicInfo"> | ||
<li><span class="projectStatus notComplete shown">Needs Funding</span><span class="projectStatus complete hidden">complete</span></li> | ||
<li><span class="projectLocation" id="project_location">Africa - Kolle, Mali</span></li> | ||
</ul> | ||
<h2 id="project_title"><a href="">Ensure access to safe water and sanitation</a></h2> | ||
<a href="" class="photo_frame"> <img src="img.png" alt="This is the alt text" /> </a> | ||
<p id="project_subtitle">Sustainable effort to ensure access to safe water and sanitation. </p> | ||
</div> | ||
<div class="projectBudget"> | ||
<div class="demo-wrapper html5-progress-bar"> | ||
<div class="progress-bar-wrapper"> | ||
<progress id="progressbar" value="35" max="100" class="pbar shown"></progress> | ||
<progress id="progressbar" value="100" max="100" class="pbar hidden"></progress> | ||
</div> | ||
</div> | ||
<ul class="fundingwrap"> | ||
<li class="totalBudget"> | ||
<h4>Budget:</h4> | ||
<span>$ 16,000</span></li> | ||
<li class="raisedBudget"> | ||
<h4>Raised:</h4> | ||
<span>$ 8,700</span></li> | ||
<li class="neededBudget"> | ||
<h4>Needed:</h4> | ||
<span>$ 7,300</span></li> | ||
</ul> | ||
<a href="" class="orangeAction">Donate</a> </div> | ||
</div> | ||
</section> | ||
<h1 class="seperator">Project widget with Donation link (170 pixels wide by 840 pixels high)</h1> | ||
<a href="index_w170px.html" class="bigBTN">go see it</a> | ||
<h1 class="seperator">Project widget with Donation link (202 pixels wide by 840 pixels high)</h1> | ||
<a href="index_w202px.html" class="bigBTN">go see it</a> | ||
<h1 class="seperator">Small project (170 pixels wide by 312 pixels high)</h1> | ||
<a href="index_w170pxSmall.html" class="bigBTN">go see it</a> | ||
</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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>rsr Widget</title> | ||
<link rel="stylesheet" href="rsrWidgets.css" type="text/css" media="screen" title="main"> | ||
<link rel="stylesheet" href="w170px.css" type="text/css" media="screen" title="main"> | ||
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'> | ||
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | ||
<script src="js.js"></script> | ||
</head> | ||
|
||
<body> | ||
<button class="chooseColor bigBTN">Switch Color</button> | ||
<button class="changeStatus bigBTN">Change Status</button> | ||
<p class="seperator">Project widget with Donation link (170 pixels wide by 840 pixels high)</p> | ||
<div style="width:170px; height:840px;"> | ||
<section id="container" class="w170px darkBG rsrWidget floats-in"> | ||
<header class="floats-in"> | ||
<hgroup> | ||
<h1>Project</h1> | ||
<a>akvo.org</a> <span>powered by</span> </hgroup> | ||
</header> | ||
<div id="content" class="floats-in"> | ||
<div class="projectDescr"> | ||
<ul class="basicInfo"> | ||
<li><span class="projectStatus notComplete shown">Needs Funding</span><span class="projectStatus complete hidden">complete</span></li> | ||
<li><span class="projectLocation" id="project_location">Africa - Kolle, Mali</span></li> | ||
</ul> | ||
<h2 id="project_title"><a href="">Ensure access to safe water and sanitation</a></h2> | ||
<p id="project_subtitle">Sustainable effort to ensure access to safe water and sanitation. </p> | ||
<a href="" class="photo_frame"> <img src="img.png" alt="This is the alt text" /> </a> | ||
<p id="project_plan_summary"> Salinity, arsenics, lack of proper IWRM, incidence of natural disasters in the three districts in... <a href="/rsr/project/476/">More ›</a> </p> | ||
</div> | ||
<div class="projectBudget"> | ||
<div class="demo-wrapper html5-progress-bar"> | ||
<div class="progress-bar-wrapper"> | ||
<progress id="progressbar" value="35" max="100" class="pbar shown"></progress> | ||
<progress id="progressbar" value="100" max="100" class="pbar hidden"></progress> | ||
</div> | ||
</div> | ||
<ul class="fundingwrap"> | ||
<li class="totalBudget"> | ||
<h4>Budget:</h4> | ||
<span>$ 16,000</span></li> | ||
<li class="raisedBudget"> | ||
<h4>Raised:</h4> | ||
<span>$ 8,700</span></li> | ||
<li class="neededBudget"> | ||
<h4>Needed:</h4> | ||
<span>$ 7,300</span></li> | ||
</ul> | ||
<a href="" class="orangeAction">Donate</a> </div> | ||
</div> | ||
</section> | ||
</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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>rsr Widget</title> | ||
<link rel="stylesheet" href="rsrWidgets.css" type="text/css" media="screen" title="main"> | ||
<link rel="stylesheet" href="w170pxSmall.css" type="text/css" media="screen" title="main"> | ||
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'> | ||
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | ||
<script src="js.js"></script> | ||
</head> | ||
|
||
<body> | ||
<button class="chooseColor bigBTN">Switch Color</button> | ||
<button class="changeStatus bigBTN">Change Status</button> | ||
<p class="seperator">Project widget with Donation link (170 pixels wide by 840 pixels high)</p> | ||
<section id="container" class="w170pxSmall darkBG rsrWidget floats-in"> | ||
<header class="floats-in"> | ||
<hgroup> | ||
<h1>Project</h1> | ||
<a>akvo.org</a> <span>powered by</span> </hgroup> | ||
</header> | ||
<div id="content" class="floats-in"> | ||
<div class="projectDescr"> | ||
<ul class="basicInfo"> | ||
<li><span class="projectLocation" id="project_location">Africa - Kolle, Mali</span></li> | ||
</ul> | ||
<h2 id="project_title"><a href="">Ensure access to safe water and sanitation</a></h2> | ||
<a href="" class="photo_frame"> <img src="img.png" alt="This is the alt text" /> </a> | ||
</div> | ||
</div> | ||
</section> | ||
</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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>rsr Widget</title> | ||
<link rel="stylesheet" href="rsrWidgets.css" type="text/css" media="screen" title="main"> | ||
<link rel="stylesheet" href="w202px.css" type="text/css" media="screen" title="main"> | ||
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'> | ||
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | ||
<script src="js.js"></script> | ||
</head> | ||
|
||
<body> | ||
<button class="chooseColor bigBTN">Switch Color</button> | ||
<button class="changeStatus bigBTN">Change Status</button> | ||
<p class="seperator">Project widget with Donation link (170 pixels wide by 840 pixels high)</p> | ||
<section id="container" class="w202px darkBG rsrWidget floats-in"> | ||
<header class="floats-in"> | ||
<hgroup> | ||
<h1>Project</h1> | ||
<a>akvo.org</a> <span>powered by</span> </hgroup> | ||
</header> | ||
<div id="content" class="floats-in"> | ||
<div class="projectDescr"> | ||
<ul class="basicInfo"> | ||
<li><span class="projectStatus notComplete shown">Needs Funding</span><span class="projectStatus complete hidden">complete</span></li> | ||
<li><span class="projectLocation" id="project_location">Africa - Kolle, Mali</span></li> | ||
</ul> | ||
<h2 id="project_title"><a href="">Ensure access to safe water and sanitation</a></h2> | ||
<p id="project_subtitle">Sustainable effort to ensure access to safe water and sanitation. </p> | ||
<a href="" class="photo_frame"> <img src="img.png" alt="This is the alt text" /> </a> | ||
<p id="project_plan_summary"> Salinity, arsenics, lack of proper IWRM, incidence of natural disasters in the three districts in... <a href="/rsr/project/476/">More ›</a> </p> | ||
</div> | ||
<div class="projectBudget"> | ||
<div class="demo-wrapper html5-progress-bar"> | ||
<div class="progress-bar-wrapper"> | ||
<progress id="progressbar" value="35" max="100" class="pbar shown"></progress> | ||
<progress id="progressbar" value="100" max="100" class="pbar hidden"></progress> | ||
</div> | ||
</div> | ||
<ul class="fundingwrap"> | ||
<li class="totalBudget"> | ||
<h4>Budget:</h4> | ||
<span>$ 16,000</span></li> | ||
<li class="raisedBudget"> | ||
<h4>Raised:</h4> | ||
<span>$ 8,700</span></li> | ||
<li class="neededBudget"> | ||
<h4>Needed:</h4> | ||
<span>$ 7,300</span></li> | ||
</ul> | ||
<a href="" class="orangeAction">Donate</a> </div> | ||
</div> | ||
</section> | ||
</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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
$("document").ready(function () { | ||
$("button.chooseColor").click(function(){ | ||
$("#container").toggleClass("darkBG lightBG"); | ||
return false; | ||
}); | ||
$("button.changeStatus").click(function(){ | ||
$(".projectStatus, .pbar").toggleClass("shown hidden"); | ||
|
||
}) | ||
}) |
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.