File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed
manager_dashboard/manager_dashboard Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ function getProjects(status) {
2727 btn1 = addButton ( data . key , data . val ( ) . status , "inactive" )
2828 btn2 = addButton ( data . key , data . val ( ) . status , "finished" )
2929 row_array . push ( btn1 . outerHTML + btn2 . outerHTML )
30- } else if ( data . val ( ) . status == "new" ) {
31- btn = addButton ( data . key , data . val ( ) . status , "active" )
32- row_array . push ( btn . outerHTML )
3330 } else if ( data . val ( ) . status == "finished" ) {
3431 btn = addButton ( data . key , data . val ( ) . status , "inactive" )
3532 row_array . push ( btn . outerHTML )
@@ -109,7 +106,6 @@ function updateTableView() {
109106 . draw ( ) ;
110107 }
111108
112- // getProjects("new")
113109 getProjects ( "active" )
114110 getProjects ( "inactive" )
115111 getProjects ( "finished" )
@@ -151,7 +147,6 @@ function changeProjectIsFeatured() {
151147}
152148
153149
154- //status_array = ["new", "active", "inactive", "finished"]
155150status_array = [ "active" , "inactive" , "finished" , "archived" ]
156151
157152 for ( var i = 0 ; i < status_array . length ; i ++ ) {
Original file line number Diff line number Diff line change @@ -91,26 +91,6 @@ <h3>Please <a href="index.html">log in</a> first.</h3>
9191
9292 <!-- manage existing projects -->
9393 < div class ="row justify-content-center " id ="project-management " style ="display: block ">
94- <!-- <div class="col-md-12">-->
95- <!-- <div id="new-projects" class="col-md-12 project-data">-->
96- <!-- <h2>New Projects</h2>-->
97- <!-- <p>These projects have just been created and no mapping has happened yet.</p>-->
98- <!-- <table id="projectsTable-new" class="table table-striped table-bordered">-->
99- <!-- <thead>-->
100- <!-- <tr class="thead-inverse">-->
101- <!-- <th>Project ID</th>-->
102- <!-- <th>Name</th>-->
103- <!-- <th>Project Type</th>-->
104- <!-- <th>Progress</th>-->
105- <!-- <th>Change Status</th>-->
106- <!-- </tr>-->
107- <!-- </thead>-->
108- <!-- <tbody>-->
109- <!-- <!– will be added by function –>-->
110- <!-- </tbody>-->
111- <!-- </table>-->
112- <!-- </div>-->
113-
11494 < div id ="active-projects " class ="col-md-12 project-data ">
11595 < h2 > Active Projects</ h2 >
11696 < p > These projects are currently visible in the MapSwipe app.</ p >
You can’t perform that action at this time.
0 commit comments