Skip to content

Commit 05008aa

Browse files
committed
saving progress, working on creating new files and maybe making collabID its own page
1 parent b40b54d commit 05008aa

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

api/API/collabID.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from api.everything import *
2+
from projects import getProject
3+
from collaborators import delete_non_collaborators, add_collaborators
4+
from faculty import *

api/pages/people.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def people_GET ():
2323
)
2424

2525

26+
27+
2628
@app.route("/collabID", methods = ["POST"])
2729
def people_POST ():
2830

api/static/js/pages/collabID.js

Whitespace-only changes.

api/templates/pages/collabID.html

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>Faculty Collaborator(s) Identification </h1>
2525

2626

2727
<form class = "form-horizontal"
28-
action = "/history"
28+
action = "/collabID"
2929
method = "POST"
3030
>
3131

@@ -91,24 +91,23 @@ <h4> <b> Collaborator #{{id + 1}} </b> </h4>
9191

9292

9393

94-
<div class = "row">
94+
<div class="row">
95+
<div class = "form-group" >
9596
<div class = "col-sm-1">
96-
<input type="button" value="Back" onclick="window.history.back()" class="btn btn-primary"/>
97-
</input>
98-
</div>
99-
100-
<div class = "col-sm-offset-9 col-sm-2"
101-
id = "submitButton"
102-
>
103-
<button id = "submit"
104-
type = "submit"
105-
class="btn btn-block btn-success form-control"
106-
107-
/>
97+
<input type="button" value="Back" onclick="window.history.back()" class="btn btn-primary"/>
98+
</input>
99+
</div>
100+
101+
102+
<div class = "col-sm-offset-9 col-sm-2" id = "submitButton">
103+
<button id = "submit"
104+
type = "submit"
105+
class="btn btn-block btn-primary form-control"
106+
type="submit"/>
108107
Submit
109-
</button>
110-
</div>
108+
</button>
111109
</div>
110+
</div>
112111

113112
</form>
114113
</div>

0 commit comments

Comments
 (0)