From 8768275c9068932ed7f4eb0d9b902dc52e5c9d06 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Fri, 30 Sep 2016 18:48:46 +0000 Subject: [PATCH] Commenting out tail water flow, and cleaning up code. Ironically, today cfs is a 7.2 because the stage is up slightly. --- public/class-water-the-theme-public.php | 4 ++-- public/js/water-the-theme-public.js | 15 +-------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/public/class-water-the-theme-public.php b/public/class-water-the-theme-public.php index a481e70..7ba3bca 100644 --- a/public/class-water-the-theme-public.php +++ b/public/class-water-the-theme-public.php @@ -285,12 +285,12 @@ class Water_The_Theme_Public { if($c === 0 && $date_range === 'current') { $thePage .= "Tail Race Level (AMSL)$tail_race_level ft"; //$thePage .= "Gage Datum (AMSL)$waterlevel ft"; - $thePage .= "Tail Water Flow$waterflow"; + //$thePage .= "Tail Water Flow$waterflow"; break; } else { $thePage .= "Tail Race Level (AMSL)$tail_race_evel"; //$thePage .= "Gage Datum (AMSL)$waterlevel ft"; - $thePage .= "Tail Water Flow$waterflow"; + //$thePage .= "Tail Water Flow$waterflow"; } $c++; diff --git a/public/js/water-the-theme-public.js b/public/js/water-the-theme-public.js index 5d07b91..02f06c5 100644 --- a/public/js/water-the-theme-public.js +++ b/public/js/water-the-theme-public.js @@ -41,21 +41,8 @@ d = d.toLocaleString(); $(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 );