This file contains hidden or 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
jQuery.extend( jQuery.fn.dataTableExt.oSort, { | |
"formatted-num-pre": function ( a ) { | |
a = (a === "-" || a === "") ? 0 : a.replace( /[^\d\-\.]/g, "" ); | |
return parseFloat( a ); | |
}, | |
"formatted-num-asc": function ( a, b ) { | |
return a - b; | |
}, | |
This file contains hidden or 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
jQuery.extend( jQuery.fn.dataTableExt.oSort, { | |
"percent-pre": function ( a ) { | |
var x = (a == "-") ? 0 : a.replace( /%/, "" ); | |
return parseFloat( x ); | |
}, | |
"percent-asc": function ( a, b ) { | |
return ((a < b) ? -1 : ((a > b) ? 1 : 0)); | |
}, | |
This file contains hidden or 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
$.mobile.loadingMessage = false; |
This file contains hidden or 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
<a data-ajax="false"> |
This file contains hidden or 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
function numberFormat(nStr){ | |
nStr += ''; | |
x = nStr.split('.'); | |
x1 = x[0]; | |
x2 = x.length > 1 ? '.' + x[1] : ''; | |
var rgx = /(\d+)(\d{3})/; | |
while (rgx.test(x1)) | |
x1 = x1.replace(rgx, '$1' + ',' + '$2'); | |
return x1 + x2; | |
} |
This file contains hidden or 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
/***** Universal styles *****/ | |
html, body { | |
padding: 0px; | |
margin: 0px; | |
padding-right:1px;; | |
} | |
body { | |
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; | |
font-size: 13px; |
This file contains hidden or 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
<!-- Header --> | |
<div id="header-container" class="header-footer"> | |
<h4><a href="#WaterlooCI" data-ajax="false">Election 2013</a></h4> | |
<a href="http://wcfcourier.com/"> | |
<img id="courier-logo" src="images/WCFCourier_LOGO_BW_300px.png" /> | |
</a> | |
</div> | |
This file contains hidden or 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
<table class='vote-results-table'> | |
<tr> | |
<td > | |
<div class='vote-results-header'>Results</div> | |
</td> | |
</tr> | |
{{#each candidates}} | |
<tr> | |
<td width='250px'><strong>{{candidate}}</strong>: {{votes}} votes</td> | |
</tr> |