aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-04Fix regression that broke 'Configure a POD' workflowParker Berberian1-0/+3
Change-Id: I7d954a636e5db0a8d473eaab6d20cc6d177c9c74 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-08-29Merge "Adds Downtime Awareness"Sawyer Bergeron7-2/+135
2019-08-15Merge "Checks if host is working"Sawyer Bergeron1-1/+2
2019-08-15Merge "Adds Hostname Validator"Sawyer Bergeron2-2/+64
2019-08-13Adds Downtime AwarenessParker Berberian7-2/+135
This adds a Downtime model and relevant operations so that the dashboard knows when a lab is down for maintenance and can act accordingly. This change doesn't modify the front end at all, but it does pass relevant downtime info to the templates so that they can be updated in a future change. Change-Id: Idb88b15838b949f352f11a31a1fce9749d283d28 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-08-07Checks if host is workingParker Berberian1-1/+2
Adds an additional check to ensure that the host is working before using it for a booking. Change-Id: I69731ca10ad59b6b774d04bdf6f3e628e6a07a79 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-17Add unit tests for SearchableSelectMultipleWidgetBrandon Lo1-5/+126
Removes behavior-based unit testing for this widget, instead adds in unit tests that will test each function. This makes sure that every function does what is expected. Change-Id: Ie97831480865defe5ab38c9499016c7fa3c12a62 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-17Merge "LAAS-44: Unit Test Javascript"Sawyer Bergeron6-0/+3944
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-15Merge "Fixes Building and Deploying Containers"Sawyer Bergeron1-8/+4
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-10Fixes Building and Deploying ContainersParker Berberian1-8/+4
By not mounting the local directory in the container, we avoid the problem of the static files being overwritten. This change forces you to run `make build; make dev-up` for *every* change, even templates. Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702 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-28Adds Hostname ValidatorParker Berberian2-2/+64
Creates a single place to validate hostnames, with public fields for regex that can be copied to the frontend. We do hostname validation inconsistently all over the place, we should move to using this single validator. Change-Id: I7b71fd89843a7e5b7f9d93dcb23f4645abe71dd0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
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>