Update Dash
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Apr 2016 15:40:06 +0000 (11:40 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Apr 2016 15:40:06 +0000 (11:40 -0400)
move think dunes up
removing: emmet, SSM, camppetosega

dash/app.js
index.html

index e2b8fec..57c8ad8 100644 (file)
@@ -4,15 +4,6 @@ $(document).ready(function(){
     var bDate = new Date();
     var bTime = bDate.getTime();
 
-    // Camp Petosega
-    var camppetosegaTasks = new Tasks([
-    ]);
-    camppetosegaTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    camppetosegaTasks.fetch({cache: false, async:true, data: {pid: 3903, t: bTime}});
-    var camppetosegaList = new TaskListView({
-        el: '#camppetosegaList',
-        collection: camppetosegaTasks});
-
     // Jolly Lama
     var jollylamaTasks = new Tasks([
     ]);
@@ -22,15 +13,6 @@ $(document).ready(function(){
         el: '#jollylamaList',
         collection: jollylamaTasks});
 
-    // Shipwreck
-    var shipwreckTasks = new Tasks([
-    ]);
-    shipwreckTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    shipwreckTasks.fetch({cache: false, async:true, data: {pid: 3882, t: bTime}});
-    var shipwreckList = new TaskListView({
-        el: '#shipwreckList',
-        collection: shipwreckTasks});
-
     // MI Sci
     var misciTasks = new Tasks([
     ]);
@@ -49,7 +31,7 @@ $(document).ready(function(){
         el: '#gaslightList',
         collection: gaslightTasks});
 
-    // Starline
+    // Think Dunes
     var thinkdunesTasks = new Tasks([
     ]);
     thinkdunesTasks.url = prefixUrl + '/Dash/fetchTask.php';
@@ -76,15 +58,6 @@ $(document).ready(function(){
         el: '#moleholeList',
         collection: moleholeTasks});
 
-    // Sault Ste Marie
-    var ssmTasks = new Tasks([
-    ]);
-    ssmTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    ssmTasks.fetch({cache: false, async:true, data: {pid: 3977, t: bTime}});
-    var ssmList = new TaskListView({
-        el: '#ssmList',
-        collection: ssmTasks});
-
     // Discover Kalamazoo
     var discoverTasks = new Tasks([
     ]);
@@ -94,15 +67,6 @@ $(document).ready(function(){
         el: '#discoverList',
         collection: discoverTasks});
 
-    // Emmet Government
-    var emmetTasks = new Tasks([
-    ]);
-    emmetTasks.url = prefixUrl + '/Dash/fetchTask.php';
-    emmetTasks.fetch({cache: false, async:true, data: {pid: 3878, t: bTime}});
-    var emmetList = new TaskListView({
-        el: '#emmetList',
-        collection: emmetTasks});
-
     // Pellston Airport
     var pellstonTasks = new Tasks([
     ]);
index ad1fc3b..80140f7 100644 (file)
                         </thead>
                     </table>
                 </div>
+
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3903" target="_blank">Camp Petosega</a></h3>
-                    <table id="camppetosegaList"
+                    <h3><a href="../project.php?pid=3988" target="_blank">Think Dunes</a></h3>
+                    <table id="thinkdunesList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
@@ -66,6 +67,7 @@
                         </thead>
                     </table>
                 </div>
+
             </div>
 
             <div class="row">
                 </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=3988" target="_blank">Think Dunes</a></h3>
-                    <table id="thinkdunesList"
-                        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=3928" target="_blank">Michigan Scientific</a></h3>
             </div>
 
 
-            <div class="row">
-                <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3878" target="_blank">Emmet - Gov't</a></h3>
-                    <table id="emmetList"
-                        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=3977" target="_blank">Sault Ste Marie</a></h3>
-                    <table id="ssmList"
-                        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>
 
         <script src="libs/jquery/dist/jquery.min.js"></script>