aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-16LAAS-44: Unit Test JavascriptBrandon Lo6-0/+3944
Add Karma, Mocha, and Chai NPM packages to allow for browser based front-end JavaScript testing. Not all functions are tested, but a lot of the required behavior is. This allows for new JS unit tests in future patches. Change-Id: I2ac2a865ed3a458d8f5ebdeb7c2b4defda24fd41 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-10Fix DependenciesParker Berberian1-0/+2
An earlier patch changed dependencies, but did not change the settings.py app, which breaks a new install Change-Id: I398c2dabf9d46753fa36fb12cad25783c5b19fae Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-10Merge "minor UI fixes"Parker Berberian3-5/+12
2019-07-10minor UI fixesSawyer Bergeron3-5/+12
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-10Merge "Fixes and adds Tests"Sawyer Bergeron12-285/+305
2019-07-10Fixes and adds TestsParker Berberian12-285/+305
Fixes old tests and adds some more. Also fixes linting errors Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-08Merge "Add 'no messages available' to empty inbox"Sawyer Bergeron1-3/+17
2019-07-08Merge "Update Dependencies"Sawyer Bergeron3-19/+5
2019-07-08Add 'no messages available' to empty inboxBrandon Lo1-3/+17
Added a simple check to see if the list element had no children, and if so, it would add a simple message saying that no messages are available. Change-Id: I6f3d40a6355502bc621ce4d19f556d4733877200 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-08Update DependenciesParker Berberian3-19/+5
Removes or upgrades the dependencies in requirements.txt Change-Id: I4e66348fc80259b4a2f64ca912556f7d847f0645 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-08Merge "Hacking on AJAX"Sawyer Bergeron15-570/+243
2019-07-08Merge "Update Link to Point to Wiki"Sawyer Bergeron1-1/+2
2019-07-08Hacking on AJAXParker Berberian15-570/+243
This change incorporates the multiple changes we've made in the past few days in order to actually get AJAX working. Change-Id: Ia61a0395e7dbac26a143ca6e15049e6a4bdc8b0d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu> Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-08Merge "Marks all Make Targets as Phony"Sawyer Bergeron1-0/+2
2019-07-08Merge "Change dropdown and selection list"Parker Berberian3-18/+41
2019-07-08Redesign multiple select filter widgetBrandon Lo4-30/+28
Removed the right border on the lab selection box so that it looks better on mobile, replaced with a rounded border around the content. Also fixed the button click bug where it wouldn't filter the images list. It now properly processes the selected host and disables images accordingly. Change-Id: I1dca1962a81e379f6ae3f7c006d6033bdd9f6ad8 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-03Update Link to Point to WikiParker Berberian1-1/+2
Change-Id: I542c0b7011a53e0d5c5fc052b39ef22d988fcb29 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-03Merge "Unify Form Submission"Sawyer Bergeron6-31/+55
2019-07-03Merge "Remove onleave + make form id's consistent"Parker Berberian11-107/+10
2019-07-02Remove onleave + make form id's consistentSawyer Bergeron11-107/+10
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Unify Form SubmissionParker Berberian6-31/+55
Creates a single way to do form submission with hooks to run callbacks. Change-Id: I470ab56219c28c35fe3236b30a0ac65e29236af6 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-02Change dropdown and selection listBrandon Lo3-18/+41
Fix selection list text from overflowing Add ellipses to overflowing text Make dropdown z-index 2 Increase size of dropdown Change delete button to simple X Add title on hover to result entries Change-Id: Ic274586e6bdf6e188efd147eb442660a99878e97 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-02Refactor Workflow ManagerParker Berberian5-61/+76
Refactors wf manager according to: https://jira.opnfv.org/browse/LAAS-31 Change-Id: I72b4b0b808bb77846f44787fdd146f1053c047b5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu> Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Merge "Reduce forms to required content"Sawyer Bergeron5-227/+224
2019-07-02Reduce forms to required contentBrandon Lo5-227/+224
Change iframe to div and ajax as a workaround Add css and js to avoid errors in parent locations Change-Id: I22a17ad5e5e04ff7112bd4e6ed98ba63d150fc15 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-02add post to steps (LAAS-32)Sawyer Bergeron7-176/+49
Change-Id: I3fa53c399f914d7daa8ffb5d8640a153de555421 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-28Merge "Replace and change CSS"Sawyer Bergeron39-2127/+1086
2019-06-28Replace and change CSSBrandon Lo39-2127/+1086
Fix animation bugs Fix layout issues Replace custom CSS to bootstrap classes Remove unused files Change code to use es6 syntax Add dropdown styles Change-Id: Ie2ed31fa2e6763cf30d3b19e4bf9379019cbb0f5 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-06-28Merge "Adds INFO.yaml"Parker Berberian1-0/+49
2019-06-27Marks all Make Targets as PhonyParker Berberian1-0/+2
Our makefile doesn't actually make anything, and there was a naming conflict. Marking the rules PHONY solves this. Change-Id: I01d09bb22306a4c4a254b59418c4e2a339413868 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-27Migrate Dashboard Code To New RepoParker Berberian2-0/+17
Now that LaaS is an official project, we must migrate our codebase to the new repos. This is only the dashboard code, e.g. the contents of dashboard/ in the original repo Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-26Adds INFO.yamlParker Berberian1-0/+49
Change-Id: Iea06943b61a0877e24254c0c55057adbaca984bb Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-26Add LICENSE and .gitreviewEric Ball2-0/+17
Change-Id: Idc0f2807eda7c7c06907e143744709a2193d6a29 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2019-06-26Merge "Fixes a typo"Parker Berberian1-1/+1
2019-06-26Merge "Removed Double onclick"Parker Berberian1-2/+3
2019-06-26Fixes a typoParker Berberian1-1/+1
Change-Id: Id0cfca0eda45035f89f2158cf7031d456e94ec83 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-26Removed Double onclickParker Berberian1-2/+3
Giving the parent div and the button the same onclick meant the function was being executed twice. Change-Id: I51d071ba1cf88d3d45dbdbe9372759c790b087de Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-25Initial empty repositoryEric Ball0-0/+0
2019-06-25Dashboard.js bug fixParker Berberian1-2/+2
A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-25Make filter field more aesthetically pleasingSawyer Bergeron1-1/+19
Change-Id: I41fbf0d7f6232d102861d9dcedd762e12e8fdd0a Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-06-25Refactor searchable widgetSawyer Bergeron2-315/+337
Change-Id: I0d342a3f31769fe71059d08653002454851b61cc Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-06-25Move All JS of Networking Step to External FileParker Berberian3-625/+670
Cleans up a lot of old code and moves it all into an object in the dashboard.js file Change-Id: I9fdbd2242c59eff7b1a95378f132e4f307188dc8 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-25Merge "Move JS to external file"Parker Berberian4-282/+259
2019-06-25Move JS to external fileParker Berberian4-282/+259
This is mostly a proof of concept to move all JS to external files to pave the way for future re-architecting Change-Id: I3b6f00bff7325b85a75d37f554892fa5283d9f4b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-25Merge "Adds Tests"Parker Berberian3-16/+59
2019-06-24Merge "Prefetches Collaborators"Parker Berberian1-1/+1
2019-06-21Merge "Fix quick booking redirect"Parker Berberian2-6/+8
2019-06-21Merge "Redesigns Multiple Select Filter Widget"Parker Berberian7-464/+297
2019-06-21Merge "Add bootstrap 4 support"Parker Berberian45-772/+892
2019-06-21Add bootstrap 4 supportBrandon Lo45-772/+892
Remove bootstrap 3 module and css/js Recreated almost everything in bootstrap 4 Change workflow layout to support bootstrap 4 and flex Add rotating glyphs for dropdowns Change breadcrumbs to use pagination and its styling Change account dropdown to use full width buttons Add version sock to bootstrap4 Fix indenting in base.html Change comments in base.html Remove dead code in booking_list Revert changes in mulitple_select_filter_widget Remove dead code, whitespace in inbox Fix formatting, dead code in viewport-base Remove unused media tag Make only .rotate classes rotate on dropdown click Attach back and next to breadcrumbs Resize breadcrumbs to be same width Disable pointer cursor on breadcrumb hover Change account page to account dropdown on left Change-Id: I6c5423db6f0f6f7f0b12e55347eddcc42b56e52b Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>