Commit graph

151 commits

Author SHA1 Message Date
Preston Doman
03a3bf9ce4 Simplify section id assignment 2019-02-14 15:58:27 -08:00
Preston Doman
8706f998f5 Fix non-unique id bug on forms, inputs, etc 2019-02-14 15:36:31 -08:00
Preston Doman
5a4312305c Fix modalLabel global variable bug 2019-02-14 14:21:43 -08:00
Preston Doman
f2f1a3399b Change checkbox to boolean select menu 2019-02-14 14:17:25 -08:00
kououken
70df4ec486 Changed 'type' references to 'field_type' in backend and a couple places in front end. 2019-02-13 17:38:27 -08:00
Preston Doman
74098cf80c Add frontend save section functionality 2019-02-13 00:48:35 -08:00
Preston Doman
a419316608 Move rid attribute setting from event listener to createReportForm 2019-02-10 22:51:19 -08:00
Preston Doman
6bafd5d115 Remove some more 2019-02-10 18:37:44 -08:00
Preston Doman
c3c1b65094 Remove unused text-centering 2019-02-10 18:36:10 -08:00
Preston Doman
74d503c244 Refactor AJAX request code 2019-02-10 18:15:32 -08:00
Preston Doman
ae743ffb1a Fix merge conflict 2019-02-10 15:57:05 -08:00
Preston Doman
3e058ac604 Add delete report functionality 2019-02-10 15:46:27 -08:00
Preston Doman
57a22df879 Remove unused file 2019-02-09 23:04:43 -08:00
Preston Doman
5427c026cf Fix form event listener 2019-02-09 23:02:01 -08:00
Preston Doman
da50627f51 Add loading message and modal fade 2019-02-09 22:23:08 -08:00
Preston Doman
9a20cf72a8 Fix merge conflict 2019-02-09 21:16:53 -08:00
ppdom
0ac8e5419e
Merge pull request #62 from danieldupriest/CreateTitleBox
Create the title text area in new report page
2019-02-09 15:29:33 -08:00
kououken
d26b79c725 Tweaked database so 'Super Report' is submitted with some complete sections, for testing. 2019-02-09 14:00:49 -08:00
Jack
8416c041d0 Add a condition to check if section is completed. If its complete it will display the information of that section if not it won't display 2019-02-09 12:32:28 -08:00
sliang17
bfef35a378 Create the title textarea in new report page 2019-02-09 12:27:09 -08:00
Jack
4ed0b26811 Merge branch 'master' into ViewReport 2019-02-08 17:31:36 -08:00
Jack
af2d748536 Display completed report. Login and go to report history and click on "view" button and the report will display 2019-02-08 17:26:45 -08:00
Preston Doman
fc2d2e9e9d Fix formatting mistakes 2019-02-06 15:44:15 -08:00
Preston Doman
10c2a3e150 Add frontend registration functionality 2019-02-06 15:31:15 -08:00
Jack
d4c972e5d9 successfully getting the correct report. still to do print report to modal 2019-02-05 15:31:55 -08:00
Jack
15d50a7c50 Display error message when login fails 2019-02-05 11:28:58 -08:00
Preston Doman
5d12cb64e4 Remove error message display 2019-02-05 10:12:30 -08:00
Preston Doman
efa342dc7f Fix token authentication 2019-02-05 01:05:04 -08:00
Preston Doman
b076eae02b Add new report functionality 2019-02-04 01:39:42 -08:00
Preston Doman
b5b65c3b9e Add modal popup to the edit report form 2019-02-03 19:03:20 -08:00
Preston Doman
b273d9ca26 Fix url switching for MacOS 2019-02-03 13:47:12 -08:00
Preston Doman
b26d71c23a Fix bug on Mac for real this time 2019-02-03 12:43:31 -08:00
Preston Doman
174cb9b0dd Fix bug on Mac 2019-02-03 12:39:36 -08:00
Preston Doman
f55bcebee1 Fix report form display 2019-02-02 19:05:39 -08:00
Preston Doman
1066e50cc7 Refactor event handlers and include classList polyfill 2019-02-02 15:02:09 -08:00
Preston Doman
2a2f8011b9 Refactor table display 2019-02-02 14:22:18 -08:00
Preston Doman
a838a589c6 Fix bug in login.js 2019-02-01 22:29:11 -08:00
Preston Doman
04083269ee Removed all template strings to make IE happy 2019-02-01 22:24:18 -08:00
Preston Doman
4ae03de53b Clean up formatting 2019-02-01 00:07:08 -08:00
Preston Doman
a7d48c1208 Enable section collapse/show based off section completed flag 2019-01-31 23:49:36 -08:00
Preston Doman
fc4141eaaf Fix styling 2019-01-31 17:48:36 -08:00
Preston Doman
74ce7f5c73 Fix Bootstrap styling for form groups 2019-01-31 16:27:29 -08:00
Preston Doman
41f0b78aa5 Add accordion and collapsible card creation functions 2019-01-31 15:48:33 -08:00
Preston Doman
5abc6cb87a Update createEditReportForm to populate form 2019-01-30 23:54:27 -08:00
Preston Doman
635edf83b6 Merge conflict resolved 2019-01-30 20:35:44 -08:00
Preston Doman
546b0730da Add edit report form function 2019-01-30 15:42:09 -08:00
Preston Doman
9ecbc6eb27 Change navbar brand from an anchor to a div 2019-01-30 10:14:49 -08:00
Preston Doman
1b2dab0632 Condense pages, rename html files, and update navbar 2019-01-30 09:03:11 -08:00
Preston Doman
41a4ab6c8b Update endpoint url 2019-01-30 00:48:04 -08:00
Preston Doman
4eeb7bb5ae Change formatting 2019-01-30 00:25:45 -08:00
Preston Doman
5aebef7be4 Refactor code 2019-01-29 22:17:44 -08:00
Preston Doman
72dd3d9900 Add form-building function 2019-01-29 17:01:39 -08:00
Preston Doman
3fe22134fd Refactor using callback functions 2019-01-29 16:21:22 -08:00
Preston Doman
9c633d6ac5 Add modal popup for the edit button 2019-01-29 14:59:28 -08:00
Preston Doman
d8aee961ca Add buttons and more responsive styling to report table 2019-01-29 13:45:00 -08:00
Preston Doman
d4b569187e Remove setRequestHeaders line 2019-01-27 21:40:49 -08:00
Preston Doman
d3acce9b78 Change endpoint url depending on detected OS 2019-01-27 21:39:48 -08:00
Preston Doman
1691392b43 Add list report history functionality to view_history.html 2019-01-27 16:21:51 -08:00
Daniel Dupriest
a4628c5f3c
Merge pull request #42 from danieldupriest/site-redesign
Add new pages for each user action
2019-01-27 11:13:12 -08:00
Preston Doman
37f50409d7 Add new pages for each user action 2019-01-26 23:31:59 -08:00
Jack
ad3e1f7ea4 Validat email in the pattern of 'string@string.string' 2019-01-26 18:18:59 -08:00
Preston Doman
e1cb44be72 Add card with nav pills to dashboard 2019-01-25 21:18:23 -08:00
Preston Doman
6a5f5ec2c2 Update form and navbar formatting and remove extra index.html links 2019-01-22 15:02:06 -08:00
Preston Doman
9e9e85919c Merge branch 'master' into BootstrapSignupForm 2019-01-22 14:51:54 -08:00
Preston Doman
0add4e59ba Fix favicon bug 2019-01-22 14:51:46 -08:00
Preston Doman
9366120871 Merge branch 'master' into FixLoginLogoutFaviconBugs 2019-01-22 10:48:17 -08:00
Preston Doman
ad0afab699 Fix the logging in/out and favicon bugs 2019-01-22 10:46:11 -08:00
Jack
a6807a4d57 Making the tabs in dashboard responsive 2019-01-22 09:37:48 -08:00
Preston Doman
77f99eb180 Add Bootstrap styling to the signup form 2019-01-21 21:18:34 -08:00
Preston Doman
457fae09aa Update Bootstrap styling to login form 2019-01-20 21:50:19 -08:00
Preston Doman
b93e889923 Add Bootstrap styling to login form 2019-01-20 21:45:42 -08:00
Jack
6f9543c63d Fixed header for signup page, and fix the tag alignment 2019-01-20 12:31:48 -08:00
Jack
76c4e033c6 fix signup page with "duplicate navbar" 2019-01-20 11:49:59 -08:00
Jack
df2f666228 Moving files to correct folder 2019-01-20 11:44:29 -08:00
Preston Doman
108a854ef8 Add collapsible navbar to all pages 2019-01-19 00:09:27 -08:00
Jack
d295f66c0d create folder for img/js/css and fix the page to be more responsive on mobile 2019-01-18 20:20:20 -08:00
Jack
b51a4a9112 create folder for img/js/css and fix the page to be more responsive on mobile 2019-01-18 20:11:45 -08:00
Jack
f7de63a16a Centering signup page and added email text box 2019-01-18 19:43:02 -08:00
Jack
9617cbe558 Centering signup page and added email text box 2019-01-18 19:43:02 -08:00
Preston Doman
aadc284ade Fix Jquery bug by changing script include order 2019-01-18 15:37:53 -08:00
Preston Doman
91c0b8eb5e Add logout script to dashboard.html and fix formatting 2019-01-17 13:12:17 -08:00
Preston Doman
e0540739e7 Add missing errorReport tag to login.html 2019-01-16 23:55:23 -08:00
Preston Doman
e1f06dbb2b Add login script to login page 2019-01-16 22:59:51 -08:00
Jack
065ecf9bb4 Add icon to the all of the pages that are missing 2019-01-15 18:41:23 -08:00
hui2018
567cae05d3
Merge pull request #13 from danieldupriest/DashboardUI
Create dashboard UI
2019-01-15 18:34:20 -08:00
sliang17
169b42a94d Update formatting with prettier and fix links and scripts into one line 2019-01-14 20:39:38 -08:00
hui2018
c007b688d3
Merge pull request #12 from danieldupriest/LoginPage
Add login page
2019-01-14 09:43:36 -08:00
sliang17
95117fc09b Create dashboard UI 2019-01-14 03:25:48 -08:00
Preston Doman
3464741618 Add login page 2019-01-13 19:09:05 -08:00
Jack
f9ef59bc9c Removing specifying type in index.html 2019-01-13 18:05:45 -08:00
Jack
c53a31a32f Removing specifying type in index.html 2019-01-13 17:49:57 -08:00
Jack
c2194a4c0a Separate javascript from html file 2019-01-13 17:48:06 -08:00
Jack
75a581386e Create webpage with text input boxes for username and password and a second password verification box for creating a user account. Secondary password box should verify that the passwords match. Each text for now should be at least 4 characters long 2019-01-13 16:22:06 -08:00
Jack
fef594d84d aligned in header 2019-01-13 15:26:04 -08:00
Jack
97b41735bc **Modified** Added signup page. Included jumbotron with nav-tab. Right now the login page have not yet included but the signup page is available. Description from trello: An index page with navbar that will redirect user to signup or login page with jumbotron. 2019-01-13 15:13:26 -08:00
Jack
5ea889ec1d **Modified** Added signup page. Included jumbotron with nav-tab. Right now the login page have not yet included but the signup page is available. Description from trello: An index page with navbar that will redirect user to signup or login page with jumbotron. 2019-01-13 15:12:25 -08:00
Jack
7163bb5542 **Modified** Added signup page. Included jumbotron with nav-tab. Right now the login page have not yet included but the signup page is available. Description from trello: An index page with navbar that will redirect user to signup or login page with jumbotron. 2019-01-13 14:55:07 -08:00
Jack
143d2f3200 **Modified** Added signup page. Included jumbotron with nav-tab. Right now the login page have not yet included but the signup page is available. Description from trello: An index page with navbar that will redirect user to signup or login page with jumbotron. 2019-01-13 14:00:30 -08:00
Jack
6cd7172e2f Added signup page. Included jumbotron with nav-tab. Right now the login page have not yet included but the signup page is available. Description from trello: An index page with navbar that will redirect user to signup or login page with jumbotron. 2019-01-13 09:42:48 -08:00
sliang17
19db7c886e Add my name 2019-01-12 15:08:02 -08:00