Update for dashboard
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 9 Aug 2017 12:23:11 +0000 (08:23 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 9 Aug 2017 12:23:11 +0000 (08:23 -0400)
dash/app.js
index.html

index 273dbb4..2edbd7a 100644 (file)
@@ -58,31 +58,14 @@ $(document).ready(function(){
         el: '#memberdbList',
         collection: memberdbTasks});
 
-    // GACVB
-    var gacvbTasks = new Tasks([
+    // MiGCSA
+    var migcsaTasks = new Tasks([
     ]);
-    gacvbTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    gacvbTasks.fetch({cache: false, async:true, data: {pid: 4090, t: bTime}});
-    var gacvbList = new TaskListView({
-        el: '#gacvbList',
-        collection: gacvbTasks});
+    migcsaTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    migcsaTasks.fetch({cache: false, async:true, data: {pid: 4091, t: bTime}});
+    var migcsaList = new TaskListView({
+        el: '#migcsaList',
+        collection: migcsaTasks});
 
-    // PHSACF
-    var phsacfTasks = new Tasks([
-    ]);
-    phsacfTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    phsacfTasks.fetch({cache: false, async:true, data: {pid: 4109, t: bTime}});
-    var phsacfList = new TaskListView({
-        el: '#phsacfList',
-        collection: phsacfTasks});
-
-    // CS LEWIS
-    var cslewisTasks = new Tasks([
-    ]);
-    cslewisTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    cslewisTasks.fetch({cache: false, async:true, data: {pid: 4106, t: bTime}});
-    var cslewisList = new TaskListView({
-        el: '#cslewisList',
-        collection: cslewisTasks});
 
 });
index 8cd9c90..b364672 100644 (file)
 
             <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"
-                        class="table table-condensed table-striped table-bordered table-hover">
-                        <thead>
-                            <tr>
-                                <th>Employee</th>
-                                <th>Status</th>
-                                <th>Task Name</th>
-                                <th>Deadline</th>
-                            </tr>
-                        </thead>
-                    </table>
-                </div>
-
                 <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"
                         </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=4074" target="_blank">Michigan Trail Maps</a></h3>
-                    <table id="trailmapsList"
-                        class="table table-condensed table-striped table-bordered table-hover">
-                        <thead>
-                            <tr>
-                                <th>Employee</th>
-                                <th>Status</th>
-                                <th>Task Name</th>
-                                <th>Deadline</th>
-                            </tr>
-                        </thead>
-                    </table>
-                </div>
+
 
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=4109" target="_blank">PHSACF</a></h3>
-                    <table id="phsacfList"
+                    <h3><a href="../project.php?pid=4091" target="_blank">MiGCSA</a></h3>
+                    <table id="migcsaList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                         </thead>
                     </table>
                 </div>
-            </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=4106" target="_blank">CS Lewis Festival</a></h3>
-                    <table id="cslewisList"
+                    <h3><a href="../project.php?pid=4147" target="_blank">Trout Creek</a></h3>
+                    <table id="troutcreekList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                 </div>
 
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=4090" target="_blank">Gaylord Michigan</a></h3>
-                    <table id="gacvbList"
+                    <h3><a href="../project.php?pid=4074" target="_blank">Michigan Trail Maps</a></h3>
+                    <table id="trailmapsList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </table>
                 </div>
 
+            </div>
+
 
 
-            </div>
             <div class="row">
 
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">