aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
AgeCommit message (Collapse)AuthorFilesLines
2020-01-30Adds Template OverridesParker Berberian64-8/+40
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 Plsek21-641/+601
- 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-12-03Add warning email and notificationBrandon Lo5-2/+70
This adds the abandoned changes made to the notification system and also adds a simple task to check for expiring bookings and sends out emails and notifications. Change-Id: I1530d19f41cf93626bb642e6b269f9ec55860b81 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-10-08Rename pharos to laasAric Gardner3-4/+4
related to change: https://gerrit.opnfv.org/gerrit/c/releng/+/68161 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I4985eb116fd2c214f3639eb991f27b5d75b5ab7c Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
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-07-10Merge "minor UI fixes"Parker Berberian2-2/+4
2019-07-10minor UI fixesSawyer Bergeron2-2/+4
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-10Merge "Fixes and adds Tests"Sawyer Bergeron1-13/+12
2019-07-10Fixes and adds TestsParker Berberian1-13/+12
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-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-08Merge "Hacking on AJAX"Sawyer Bergeron9-480/+31
2019-07-08Merge "Update Link to Point to Wiki"Sawyer Bergeron1-1/+2
2019-07-08Hacking on AJAXParker Berberian9-480/+31
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 Berberian1-1/+1
2019-07-08Redesign multiple select filter widgetBrandon Lo3-27/+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 Bergeron5-23/+11
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 Berberian5-23/+11
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 Lo1-1/+1
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-02Reduce forms to required contentBrandon Lo3-54/+49
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 Lo36-2062/+970
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-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-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 Bergeron1-315/+35
Change-Id: I0d342a3f31769fe71059d08653002454851b61cc Signed-off-by: Sawyer Bergeron <sawyerbergeron@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 Berberian3-282/+15
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 Berberian3-295/+181
2019-06-21Add bootstrap 4 supportBrandon Lo41-765/+875
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 Berberian3-295/+181
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-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 Bergeron1-2/+1
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>
2019-06-14Refactor usages of search fieldSawyer Bergeron3-47/+104
Change-Id: I5af3d8d5db204fc9eb95a1ee4967cce0caf9b75c Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-12redirect to booking detail on creationSawyer Bergeron2-7/+12
Change-Id: I4e27f6a4a64314639b9ac83750b5b6add069399b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-10Fix searchable select field scalingSawyer Bergeron2-33/+97
Change-Id: Id6fb052b2158ee0db30fd11b520194d3825b677f Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-07Fix multiple select regression from 67915Sawyer Bergeron1-1/+1
Change-Id: Iff9574f6a7a95d52785026194779ad4fbd71e003 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-06Fix static files referencesSawyer Bergeron2-2/+2
some references to the tagged startbootstrap sb admin 2 dependency reference files that do not exist in the tagged version, this commit fixes that Change-Id: I7d7ff5ec0a3b0d2a6c9dd7eea42fa71117ed0b17 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-05Merge "Cleans up some HTML"Parker Berberian2-29/+25
2019-06-04Integrate OPNFV workflowSawyer Bergeron1-0/+1
Now that required groundwork is in place, we can start to pull the OPNFV workflow into the booking workflow Change-Id: Ifa026ad446b48356ae03ef1d5ad48db841e13fbd Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-31Refactor selector step logicSawyer Bergeron2-41/+100
Change-Id: I61e361e63da7453b2eee0e0c162a6f4e48460128 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-23Cleans up some HTMLParker Berberian2-29/+25
Makes things nicer as we build out Selenium tests. Change-Id: I0658bdd01889ea8acb5c66d890baa8c5907430cd Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-05-22Reduce shadow severitySawyer Bergeron2-11/+7
Shadows were somewhat overdone in some areas of the ui, they are now less so Change-Id: Ida04a5580be8493f37ade2554983149d05d91bcc Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-22Make steps possible to hide/showSawyer Bergeron1-29/+65
Change-Id: Ice5036ea9801655032cb080537fbd471fb3fda3e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-22Fix expand animation on booking detail pageSawyer Bergeron1-4/+4
Change-Id: I5a7e458c61c7818f70963024d07b86a815c8fd77 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-03Implement OPNFV workflowSawyer Bergeron9-138/+185
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-17Fixes the idf and pdf templates so that we can deploy opnfvParker Berberian1-16/+10
Change-Id: I0091629f8f0af423210b2e81210d65239e9662b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-04-16Merge "Fixing Network Models"Parker Berberian1-98/+48