Browse Source

Commenting out tail water flow, and cleaning up code.

Ironically, today cfs is a 7.2 because the stage is up slightly.
master
Jonathan Rosenbaum 8 years ago
parent
commit
8768275c90
  1. 4
      public/class-water-the-theme-public.php
  2. 15
      public/js/water-the-theme-public.js

4
public/class-water-the-theme-public.php

@ -285,12 +285,12 @@ class Water_The_Theme_Public {
if($c === 0 && $date_range === 'current') { if($c === 0 && $date_range === 'current') {
$thePage .= "<tr><td>Tail Race Level (AMSL)</td><td>$tail_race_level ft</td><td datetime='$datetime'></td></tr>"; $thePage .= "<tr><td>Tail Race Level (AMSL)</td><td>$tail_race_level ft</td><td datetime='$datetime'></td></tr>";
//$thePage .= "<tr><td>Gage Datum (AMSL)</td><td>$waterlevel ft</td><td datetime='$datetime'></td></tr>"; //$thePage .= "<tr><td>Gage Datum (AMSL)</td><td>$waterlevel ft</td><td datetime='$datetime'></td></tr>";
$thePage .= "<tr><td>Tail Water Flow</td><td>$waterflow</td><td datetime='$datetime'></td></tr>"; //$thePage .= "<tr><td>Tail Water Flow</td><td>$waterflow</td><td datetime='$datetime'></td></tr>";
break; break;
} else { } else {
$thePage .= "<tr><td>Tail Race Level (AMSL)</td><td>$tail_race_evel</td><td datetime='$datetime'></td></tr>"; $thePage .= "<tr><td>Tail Race Level (AMSL)</td><td>$tail_race_evel</td><td datetime='$datetime'></td></tr>";
//$thePage .= "<tr><td>Gage Datum (AMSL)</td><td>$waterlevel ft</td><td datetime='$datetime'></td></tr>"; //$thePage .= "<tr><td>Gage Datum (AMSL)</td><td>$waterlevel ft</td><td datetime='$datetime'></td></tr>";
$thePage .= "<tr><td>Tail Water Flow</td><td>$waterflow</td><td datetime='$datetime'></td></tr>"; //$thePage .= "<tr><td>Tail Water Flow</td><td>$waterflow</td><td datetime='$datetime'></td></tr>";
} }
$c++; $c++;

15
public/js/water-the-theme-public.js

@ -41,21 +41,8 @@
d = d.toLocaleString(); d = d.toLocaleString();
$(this).html(d); $(this).html(d);
}); });
/*
div:nth-child(6n), div:nth-child(6n-1), div:nth-child(6n-2) {
background: red;
}
div:nth-child(6n-3), div:nth-child(6n-4), div:nth-child(6n-5) {
background: blue;
}
*/
}); });
//$('#Statistics tr:nth-child(6n), #Statistics tr:nth-child(6n-1), #Statistics tr:nth-child(6n-2)').css({backgroundColor:'#d4cdcd'});
//$('#Statistics tr:nth-child(6n-3), #Statistics tr:nth-child(6n-4), #Statistics tr:nth-child(6n-5)').css({backgroundColor:'#bac3c5'});
//$('#Statistics tr:nth-child(6n-3), #Statistics tr:nth-child(6n-4), #Statistics tr:nth-child(6n-5)').css({backgroundColor:'#bac3c5'});
})( jQuery ); })( jQuery );

Loading…
Cancel
Save