updating the dash list
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 2 Dec 2015 14:13:01 +0000 (09:13 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 2 Dec 2015 14:13:01 +0000 (09:13 -0500)
dash/app.js
index.html

index 701bb7b..de8a248 100644 (file)
@@ -1,5 +1,6 @@
 $(document).ready(function(){
     var prefixUrl = '';//'/glmdb.gaslightmedia.com';
+    //var prefixUrl = '/glmdb.gaslightmedia.com';
     var bDate = new Date();
     var bTime = bDate.getTime();
     // Emmet Government
@@ -119,6 +120,15 @@ $(document).ready(function(){
         el: '#staffordsList',
         collection: staffordsTasks});
 
+    // The Mole Hole Online
+    var moleholeTasks = new Tasks([
+    ]);
+    moleholeTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    moleholeTasks.fetch({cache: false, async:true, data: {pid: 3972, t: bTime}});
+    var moleholeList = new TaskListView({
+        el: '#moleholeList',
+        collection: moleholeTasks});
+
 
 
 });
index 415c034..b04256a 100644 (file)
             </div><!-- /.container-fluid -->
         </nav>
         <div class="container">
+
+            
             <div class="row">
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3929" target="_blank">Mount Pleasant Wow</a></h3>
-                    <table id="mountList"
+                    <h3><a href="../project.php?pid=3882" target="_blank">Great Lakes Shipwreck</a></h3>
+                    <table id="shipwreckList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
@@ -51,8 +53,8 @@
                     </table>
                 </div>
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3937" target="_blank">Western UP</a></h3>
-                    <table id="westernList"
+                    <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>
@@ -67,8 +69,8 @@
             </div>
             <div class="row">
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3882" target="_blank">Great Lakes Shipwreck</a></h3>
-                    <table id="shipwreckList"
+                    <h3><a href="../project.php?pid=3965" target="_blank">Staffords</a></h3>
+                    <table id="staffordsList"
                         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=3928" target="_blank">Michigan Scientific</a></h3>
-                    <table id="misciList"
+                    <h3><a href="../project.php?pid=3967" target="_blank">Otsego County Government</a></h3>
+                    <table id="otsegoList"
                         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=3956" target="_blank">EUPRPDC</a></h3>
-                    <table id="euprdcList"
+                    <h3><a href="../project.php?pid=3727" target="_blank">Starline</a></h3>
+                    <table id="starlineList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </table>
                 </div>
                 <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"
+                    <h3><a href="../project.php?pid=3951" target="_blank">Little Field Township</a></h3>
+                    <table id="littleFieldList"
                         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=3727" target="_blank">Starline</a></h3>
-                    <table id="starlineList"
+                    <h3><a href="../project.php?pid=3962" target="_blank">Big Powderhorn Lodging</a></h3>
+                    <table id="bplaList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </table>
                 </div>
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3951" target="_blank">Little Field Township</a></h3>
-                    <table id="littleFieldList"
+                    <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>
             </div>
             <div class="row">
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3962" target="_blank">Big Powderhorn Lodging</a></h3>
-                    <table id="bplaList"
+                    <h3><a href="../project.php?pid=3929" target="_blank">Mount Pleasant Wow</a></h3>
+                    <table id="mountList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </table>
                 </div>
                 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
-                    <h3><a href="../project.php?pid=3965" target="_blank">Staffords</a></h3>
-                    <table id="staffordsList"
+                    <h3><a href="../project.php?pid=3956" target="_blank">EUPRPDC</a></h3>
+                    <table id="euprdcList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>
                     </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=3967" target="_blank">Otsego County Government</a></h3>
-                    <table id="otsegoList"
+                    <h3><a href="../project.php?pid=3972" target="_blank">The Mole Hole Online</a></h3>
+                    <table id="moleholeList"
                         class="table table-condensed table-striped table-bordered table-hover">
                         <thead>
                             <tr>