aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-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 Bergeron2-12/+1
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 Berberian2-12/+1
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 "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-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-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-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 Berberian44-771/+891
2019-06-21Add bootstrap 4 supportBrandon Lo44-771/+891
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>
2019-06-21Redesigns Multiple Select Filter WidgetParker Berberian7-464/+297
Makes the filter widget work as it should so that it can be integrated with the rest of the Django form handling nicely. Also fixes a lot of ugly code tangential to the widget. Change-Id: Ib92db8e584f3d2162c6c43a18b75a57273bb18f5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-21Prefetches CollaboratorsParker Berberian1-1/+1
Prefetches collaborators to further reduce database accesses Change-Id: I5a976c4e17e20ca463576178371f70e59551b576 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-20Speed up Booking StatsParker Berberian1-20/+20
Refactors the bookings stats function to use the database less. Runs in around 1/3 the time as the current version Change-Id: I4f367b96374511d2f669d4554919a65912f304f8 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-18Fix cross platform issues with SSMFSawyer Bergeron2-10/+33
Change-Id: Iecaabd1175ffd35daa938561e374244139f38117 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-17Fix chrome grid-flex nesting issueSawyer Bergeron2-13/+6
Change-Id: I92a38c6f5fbf23c7f32c233c47b5c1230a1933d7 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-17Enforce step validity when going forwardSawyer Bergeron2-2/+7
Change-Id: Ic598a5e2637b88f6d044bd93c5b597582f0c1081 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-17Limit network name length to same as modelsSawyer Bergeron1-1/+1
the network definition step now limits the length of the name given to 100 characters, the same as the Network model allows Change-Id: Ib05d49456eef9d5201212ba05ccd3ec62c16ad10 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-14fix PHAROS-436 (overlapping metadata)Sawyer Bergeron1-2/+6
Change-Id: I47ee5d32472779a44a53fa3e2c04ef4411c59581 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>