Updates for Dash
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Jun 2016 15:19:24 +0000 (11:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Jun 2016 15:19:24 +0000 (11:19 -0400)
Update the pid for the main links.
Adding camp petosega map project

dash/app.js
index.html

index 28718f6..3599bc7 100644 (file)
@@ -13,7 +13,7 @@ $(document).ready(function(){
         el: '#misciList',
         collection: misciTasks});
 
-    // Think Dunes
+    // France Journeys
     var franceTasks = new Tasks([
     ]);
     franceTasks.url = prefixUrl + '/Dash/fetchTask.php';
@@ -67,7 +67,7 @@ $(document).ready(function(){
         el: '#csryeList',
         collection: csryeTasks});
 
-    // Auth.net Updates
+    // Explore Western Upgrades
     var exploreTasks = new Tasks([
     ]);
     exploreTasks.url = prefixUrl + '/Dash/fetchTask.php';
@@ -76,4 +76,13 @@ $(document).ready(function(){
         el: '#exploreList',
         collection: exploreTasks});
 
+    // Camp Petosega Maps
+    var campTasks = new Tasks([
+    ]);
+    campTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    campTasks.fetch({cache: false, async:true, data: {pid: 4048, t: bTime}});
+    var campList = new TaskListView({
+        el: '#campList',
+        collection: campTasks});
+
 });
index 3bb3f00..b8535e8 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=3928" target="_blank">Michigan Scientific</a></h3>
-                    <table id="misciList"
+                    <h3><a href="../project.php?pid=4027" target="_blank">France Journeys</a></h3>
+                    <table id="franceList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                         </thead>
                     </table>
                 </div>
+                
+
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=4016" target="_blank">John Hoffman Landscaping</a></h3>
-                    <table id="hoffmanList"
+                    <h3><a href="../project.php?pid=4048" target="_blank">Explore Western UP Upgrades</a></h3>
+                    <table id="exploreList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
             </div>
 
             <div class="row">
-
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3988" target="_blank">France Journeys</a></h3>
-                    <table id="franceList"
+                    <h3><a href="../project.php?pid=3928" target="_blank">Michigan Scientific</a></h3>
+                    <table id="misciList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                         </thead>
                     </table>
                 </div>
-                
+                <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
+                    <h3><a href="../project.php?pid=4016" target="_blank">John Hoffman Landscaping</a></h3>
+                    <table id="hoffmanList"
+                        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">
 
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3955" target="_blank">Explore Western UP Upgrades</a></h3>
-                    <table id="exploreList"
+                    <h3><a href="../project.php?pid=3903" target="_blank">Camp Petosega Map</a></h3>
+                    <table id="campList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </table>
                 </div>
             </div>
+            
+
         </div>
 
         <script src="libs/jquery/dist/jquery.min.js"></script>