Dash Updates
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Jun 2016 16:32:24 +0000 (12:32 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Jun 2016 16:32:24 +0000 (12:32 -0400)
Adding Member Leads

dash/app.js
index.html

index 3599bc7..5d50cdd 100644 (file)
@@ -85,4 +85,13 @@ $(document).ready(function(){
         el: '#campList',
         collection: campTasks});
 
+    // Member Leads
+    var leadsTasks = new Tasks([
+    ]);
+    leadsTasks.url = prefixUrl + '/Dash/fetchTask.php';
+    leadsTasks.fetch({cache: false, async:true, data: {pid: 4047, t: bTime}});
+    var leadsList = new TaskListView({
+        el: '#leadsList',
+        collection: leadsTasks});
+
 });
index b8535e8..dcb0bd1 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=4047" target="_blank">Member Leads</a></h3>
+                    <table id="leadsList"
+                        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>