Update dash
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Sep 2017 15:52:31 +0000 (11:52 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Sep 2017 15:52:31 +0000 (11:52 -0400)
Adding keweenaw to the dashboard.
Removing Baraga county

dash/app.js
index.html

index 2edbd7a..fcc6c36 100644 (file)
@@ -5,22 +5,22 @@ $(document).ready(function(){
     var bTime = bDate.getTime();
 
     // Trout Creek
-    var troutcreekTasks = new Tasks([
-    ]);
-    troutcreekTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    troutcreekTasks.fetch({cache: false, async:true, data: {pid: 4147, t: bTime}});
-    var troutcreekList = new TaskListView({
-        el: '#troutcreekList',
-        collection: troutcreekTasks});
+    // var troutcreekTasks = new Tasks([
+    // ]);
+    // troutcreekTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    // troutcreekTasks.fetch({cache: false, async:true, data: {pid: 4147, t: bTime}});
+    // var troutcreekList = new TaskListView({
+    //     el: '#troutcreekList',
+    //     collection: troutcreekTasks});
 
-    // Baraga County
-    var baragaTasks = new Tasks([
+    // Keweenaw
+    var keweenawTasks = new Tasks([
     ]);
-    baragaTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    baragaTasks.fetch({cache: false, async:true, data: {pid: 4131, t: bTime}});
-    var baragaList = new TaskListView({
-        el: '#baragaList',
-        collection: baragaTasks});
+    keweenawTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    keweenawTasks.fetch({cache: false, async:true, data: {pid: 4144, t: bTime}});
+    var keweenawList = new TaskListView({
+        el: '#keweenawList',
+        collection: keweenawTasks});
 
     // // Mich Trail Maps
     var trailmapsTasks = new Tasks([
@@ -67,5 +67,14 @@ $(document).ready(function(){
         el: '#migcsaList',
         collection: migcsaTasks});
 
+    // Coldwater
+    var coldwaterTasks = new Tasks([
+    ]);
+    coldwaterTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    coldwaterTasks.fetch({cache: false, async:true, data: {pid: 4152, t: bTime}});
+    var coldwaterList = new TaskListView({
+        el: '#coldwaterList',
+        collection: coldwaterTasks});
+
 
 });
index b364672..921128d 100644 (file)
             </div><!-- /.container-fluid -->
         </nav>
         <div class="container">
-
             <div class="row">
-
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=4131" target="_blank">Baraga County</a></h3>
-                    <table id="baragaList"
+                    <h3><a href="../project.php?pid=4152" target="_blank">Coldwater</a></h3>
+                    <table id="coldwaterList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
@@ -51,9 +49,6 @@
                         </thead>
                     </table>
                 </div>
-
-
-
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                     <h3><a href="../project.php?pid=4091" target="_blank">MiGCSA</a></h3>
                     <table id="migcsaList"
                         </thead>
                     </table>
                 </div>
-
             </div>
+
             <div class="row">
 
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=4147" target="_blank">Trout Creek</a></h3>
-                    <table id="troutcreekList"
+                    <h3><a href="../project.php?pid=4144" target="_blank">Keweenaw</a></h3>
+                    <table id="keweenawList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
@@ -87,6 +82,7 @@
                     </table>
                 </div>
 
+
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                     <h3><a href="../project.php?pid=4074" target="_blank">Michigan Trail Maps</a></h3>
                     <table id="trailmapsList"