From d07dfd4462352e9148f073292f708bd70bdfc544 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 13 Sep 2017 11:52:31 -0400 Subject: [PATCH] Update dash Adding keweenaw to the dashboard. Removing Baraga county --- dash/app.js | 37 +++++++++++++++++++++++-------------- index.html | 16 ++++++---------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/dash/app.js b/dash/app.js index 2edbd7a..fcc6c36 100644 --- a/dash/app.js +++ b/dash/app.js @@ -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}); + }); diff --git a/index.html b/index.html index b364672..921128d 100644 --- a/index.html +++ b/index.html @@ -34,12 +34,10 @@
-
-
-

Baraga County

- Coldwater +
@@ -51,9 +49,6 @@
- - - -
+
-

Trout Creek

- Keweenaw +
@@ -87,6 +82,7 @@
+