aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/resource
AgeCommit message (Collapse)AuthorFilesLines
2020-01-30Adds Template OverridesParker Berberian8-2262/+0
Changes the structure of the template directories to allow a new project to define their own set of override templates that inherit from a common base. I have slightly modified landing.html here as an example. In comming changes we will try to move all the "laas" specific content into the laas directory Change-Id: I46151be182de901f870debb247b305ea34ae77ba Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-12-19style: make more consistent stylesJeremy Plsek5-114/+105
- Fix indentation in places - User settings have better labels - Lab info title now the same as others - Add "empty" sections to be more helpful to the user. They are not using links, since most of the "workflow" is handled by javascript. - Update padding in places to better line up with other elements - Add padding to bootstrap notifications (add check for messages to not just have random padding on the top of the page) - Remove unnecessary text in a form - Remove card-body from table-only or list-only cards (lists and tables are now flush with cards) - Add bg-danger to not-working hosts - Replace True/False text shown to the user with Yes/No - Remove ":" from some headers - Vertical buttons are now in a button group - Add pre-wrap class to avoid pre from breaking box sizing on the booking detail page - Reduce table indent in pod card and add table overflow scrollbar Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com> Change-Id: If09dca2f2b7386c44eeeb817ef76e8f748e456da
2019-07-08Merge "Hacking on AJAX"Sawyer Bergeron1-3/+0
2019-07-08Merge "Update Link to Point to Wiki"Sawyer Bergeron1-1/+2
2019-07-08Hacking on AJAXParker Berberian1-3/+0
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-08Redesign multiple select filter widgetBrandon Lo1-1/+1
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 Bergeron1-0/+1
2019-07-02Remove onleave + make form id's consistentSawyer Bergeron4-31/+4
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Unify Form SubmissionParker Berberian1-0/+1
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-02Reduce forms to required contentBrandon Lo1-32/+32
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-06-28Replace and change CSSBrandon Lo3-163/+95
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-25Move All JS of Networking Step to External FileParker Berberian1-579/+38
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-25Move JS to external fileParker Berberian1-14/+1
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-21Merge "Redesigns Multiple Select Filter Widget"Parker Berberian1-1/+1
2019-06-21Add bootstrap 4 supportBrandon Lo4-66/+52
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 Berberian1-1/+1
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-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-05-03Implement OPNFV workflowSawyer Bergeron1-1/+1
This is a counterpart to an update to network models, and allows for configuring baremetal OPNFV and Openstack deploys Change-Id: I0185dbfa6c9105d7e63a7e7d7dd1f5cf228a8877 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-04-16Merge "Fixing Network Models"Parker Berberian1-98/+48
2019-04-15Fixing Network ModelsParker Berberian1-98/+48
Change-Id: Ia2cdf069e90c8091e8d984c368e47f375aed02ea Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-28Add host detail viewSawyer Bergeron2-1/+117
Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-19Make "Extra Info" step cleanerSawyer Bergeron1-0/+22
Change-Id: I2e552701e360c2217c2ec59e64a5c28839207394 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-13Add column ordering to host listSawyer Bergeron1-4/+1
Change-Id: Id1d52217b85aaafed71177c8eed5719dbb1bff4a Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Removes log button in deployment"Parker Berberian1-0/+4
2019-01-03Cleaning up look and feelSawyer Bergeron1-13/+88
Network step is now much prettier Change-Id: I72487e3a5f30e4c0339734674c53d4661f9c0104 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-02Removes log button in deploymentParker Berberian1-0/+4
We had a button that would barf up XML logs for development but forgot to disable it for the live dashboard Change-Id: I1061ba967f077a103a7e1ae61d60d81cd9e4c443 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-28Removed Vanilla Form SubmissionParker Berberian2-2/+7
On google chrome, using vanilla html forms, eg: document.getElementById("Form_id").submit(); does not properly set the CSRF header from the cookies. This results in 403 unauthorized errors in chrome when doing certain things. This is possibly an issue to do with how chrome handles iframes differently from firefox. To fix, we replaced basic forms with serialized XMLHttpRequests, which are more common in this codebase anyway. Change-Id: I93e92cd326c8bba47408b66a95d9d5d806c154f6 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-17Added templateParker Berberian1-0/+18
This template should not have been removed. Change-Id: Ic794ee40f45bd44af6fa976983b1c93660c8bb1c Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian6-0/+2748
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>