Update list
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 24 Jan 2017 19:26:07 +0000 (14:26 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 24 Jan 2017 19:26:07 +0000 (14:26 -0500)
adding projects
Charlevoix Library
Crawford County

dash/app.js
index.html

index 0eea81a..59171cb 100644 (file)
@@ -58,4 +58,22 @@ $(document).ready(function(){
         el: '#trailmapsList',
         collection: trailmapsTasks});
 
+    // Crowford County
+    var crawfordTasks = new Tasks([
+    ]);
+    crawfordTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    crawfordTasks.fetch({cache: false, async:true, data: {pid: 4082, t: bTime}});
+    var crawfordList = new TaskListView({
+        el: '#crawfordList',
+        collection: crawfordTasks});
+
+    // Crowford County
+    var chxlibraryTasks = new Tasks([
+    ]);
+    chxlibraryTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    chxlibraryTasks.fetch({cache: false, async:true, data: {pid: 4076, t: bTime}});
+    var chxlibraryList = new TaskListView({
+        el: '#chxlibraryList',
+        collection: chxlibraryTasks});
+
 });
index 0c14d6d..6c80ed4 100644 (file)
                 </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=4082" target="_blank">Crawford County</a></h3>
+                    <table id="crawfordList"
+                        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=4076" target="_blank">Charlevoix Library</a></h3>
+                    <table id="chxlibraryList"
+                        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>
 
             <div class="row">