aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking
AgeCommit message (Collapse)AuthorFilesLines
2019-07-08Redesign multiple select filter widgetBrandon Lo1-16/+10
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-03Merge "Unify Form Submission"Sawyer Bergeron1-5/+2
2019-07-02Remove onleave + make form id's consistentSawyer Bergeron1-11/+1
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Unify Form SubmissionParker Berberian1-5/+2
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-06-28Replace and change CSSBrandon Lo8-580/+290
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 JS to external fileParker Berberian1-5/+3
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-87/+34
2019-06-21Add bootstrap 4 supportBrandon Lo10-59/+64
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-87/+34
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 Bergeron1-1/+12
Change-Id: Iecaabd1175ffd35daa938561e374244139f38117 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-14Refactor usages of search fieldSawyer Bergeron1-0/+4
Change-Id: I5af3d8d5db204fc9eb95a1ee4967cce0caf9b75c Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-10Fix searchable select field scalingSawyer Bergeron1-0/+5
Change-Id: Id6fb052b2158ee0db30fd11b520194d3825b677f Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-05Merge "Cleans up some HTML"Parker Berberian1-1/+1
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-23Cleans up some HTMLParker Berberian1-1/+1
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 Bergeron1-2/+2
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-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 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-10Fix dropdown visibility bug on SafariSawyer Bergeron1-1/+15
Change-Id: Ibf9c61cc166f9717fa018946651668da748fe73b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-26fix slider appearance on FirefoxSawyer Bergeron2-0/+17
Change-Id: Icd2e6b46cb6bdc2f7522228e5ead9f3f389afe5e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-20Merge "Cleanup Quick Booking Page"Parker Berberian1-6/+11
2019-03-20Cleanup Quick Booking PageParker Berberian1-6/+11
Removed "filter_field" label and moved opnfv options into thier own box Change-Id: I7d2ee1f39a94de0a6638c96a3469f6f4c27e2196 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-18Fixes Booking ListParker Berberian1-9/+5
Adds project collumn, removed Installer and Scenario, and correctly populates the operating system collumn. Change-Id: I8af778c66fa248832ad98188d0c93bbc84027c55 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Merge "Fix BookingDetail Template"Parker Berberian1-3/+3
2019-01-18Allow for Hosts to be Re-ImagedParker Berberian1-33/+113
This change adds a button the user can press on thier booking detail page to reset thier host. They can choose to deploy any available image to thier servers (not just the one already used) Change-Id: I97a9869d2b38389c54f13173bb28a68cc52bb8d5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Fix BookingDetail TemplateSawyer Bergeron1-3/+3
Booking detail view template did not properly reference diskprofile objects by their related name, so that area was blank in the rendered page Change-Id: Icedc12a6cd31a2422e26281e2b4f34750fb01bae Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18Merge "Styled the Booking Statistics page"Parker Berberian1-2/+4
2019-01-18Add Quick-Booking WorkflowSawyer Bergeron1-0/+206
Users can now quickly provision a single-host pod without having to configure unecessary networking. This is intended to be analogous to the workflow used during LaaS 1.0, and to speed up the process of creating a booking for users who do not need more than a single host (for virtual deployments) Change-Id: Ia19cea9a42bbb1df57aad05af8f8ea821395664d Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-16Styled the Booking Statistics pageParker Berberian1-2/+4
Added some pretty CSS Change-Id: I8330f8de34ab22197bedad802b3696526c009ba4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Changed Button style class to btn-primaryParker Berberian1-1/+1
btn-primary has a handful of advantages over btn-default, including consistency across browsers and correctly styling non-button html tags p.s. vim is best Change-Id: I6e55a75a9fd48d64496fd83f43a7856af0c04cc0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Implement Segmented WorkflowsSawyer Bergeron1-1/+0
A major source of bugs has been how we've approached inlining workflows. We no longer inline them as of this commit, and instead use a stack structure. This commits the result of workflows to the database before other workflows try to read them, so we don't have to maintain a code path for when something is or isn't committed to db. This patchset allows for workflows to pass limited information to preset selections Change-Id: I3d040c7f3024c7420017ae4ec66a23219303dcb6 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2018-10-31Merge "Improved Collaborators UX"Trevor Bramwell1-1/+2
2018-10-31Merge "Fixed Indentation"Trevor Bramwell1-239/+231
2018-10-29Fixed IndentationParker Berberian1-239/+231
This is a pretty complex html file that we will have to modify soon, so I made sure that every tag is opened and closed at the correct height. The correct height for a tag is 4 spaces more indented than its parent Change-Id: Ie356b61746477f65304f38c019f471e5cae1aa94 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-26Improved Collaborators UXParker Berberian1-1/+2
Some small improvements based on feedback from Trevor. - Changed lable from "users" to "collaborators" to try and be more clear - Do not show your own name in the dropdown by default - You cannot select yourself as a collaborator Change-Id: Ie2e9070232765ed9eabe6657924ed8addaa0165a Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-24Fix Booking ListParker Berberian1-2/+2
The table that lists all active bookings at /booking/list/ was using booking.user. This doesn't exist anymore, changed to booking.owner Change-Id: I76c8d498f4dbe64d88c4c6f7b5e380559b125e44 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian9-73/+667
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>
2018-03-26Limit User Booking Length and ExtensionsSawyer Bergeron2-2/+19
Jira: PHAROS-363 Bookings can now only be 3 weeks upon creation with a maximum of 2 1 week extensions. Change-Id: I677770de3f62f188d23e60be6d71b42b25bf007e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-22Link AUP from dashboardSawyer Bergeron1-1/+5
Jira: PHAROS-361 Link and associated text below booking confirmation button now direct users to Wiki#AUP and inform them that they agree to those policies by continuing. Change-Id: I18953cc71691a03290cbce979fbf500081ca3c10 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-19Provide Interface for Booking DeletionSawyer Bergeron3-2/+46
Jira: PHAROS-355 User can now delete their own booking by going to the detail view of their booking and clicking 'delete' Change-Id: I279da364c2a5dfd03b877d1236c610d0fef563bc Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-01-09Implement Booking Modification InterfaceSawyer Bergeron2-0/+31
Jira: PHAROS-330 Users can change start date if it has not already occurred, and can change end date, purpose, and both installer and scenario. Standard checks apply similar to when initially creating a booking. Change-Id: Ibae7fe91a58bd6e0741db065265c05c3823bdc27 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2017-12-13Add Dashboard OS Selection Menu on BookingSawyer Bergeron3-3/+11
JIRA: PHAROS-326 Implement dropdown menu on pod booking page for user to select base OS, as well as associated support in API and pod status/booking status views This patch includes the migration file mentioned by Parker Berbarian Change-Id: I46a7b0e5e7020a89bc8fa0fe53c10bbda14a2e2d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2017-09-22Rename pharos-dashboard and pharos-validatorTrevor Bramwell4-0/+214
As subdirectories of the pharos-tools repo, there is little need to keep the pharos prefix. Change-Id: Ica3d79411f409df638647300036c0664183c2725 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>