summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates
AgeCommit message (Collapse)AuthorFilesLines
2019-03-15Minor Cleanup enhancementsParker Berberian1-17/+19
Change-Id: I032c8771b69e0f6d320759ee95c4987e41df57ba Signed-off-by: Parker Berberian <pberberian@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-03-13Merge "Hides expired bookings in the "My Bookings" Page"Parker Berberian1-2/+33
2019-03-01Enhance PDF/IDF SupportParker Berberian2-89/+138
Improves PDF template and code organization and adds an IDF template. To complete these templates, the lab must be able to report L3 network info and ipmi info at the least. A change to the API to allow for this has to be made. Change-Id: I4b9d2e73eb3940300f7e95fa2f9f4ddd0d606c60 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-25Hides expired bookings in the "My Bookings" PageParker Berberian1-2/+33
This commit hides bookings that have ended from cluttering the "My Bookings" page. Change-Id: I0f98fbff97b1474e73a666aa0000e1923266fafb Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-25Update Inbox FeaturesetSawyer Bergeron3-20/+80
Inbox now supports marking unread, marking for deletion, and has a new UI Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-02-01Merge "Allow Users to Delete objects and Cancel Bookings"Parker Berberian4-37/+327
2019-01-29Allow Users to Delete objects and Cancel BookingsParker Berberian4-37/+327
A user can now delete thier own resources, configs, and snapshots as well as cancelling bookings. Change-Id: Ic8e4751feeb0b8fa0d76816b8df2d16729ad2828 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-24Remove broken API linkParker Berberian1-5/+0
We moved away from the DRF for a lot of the more complex api interactions in 2.0, so the API link on the sidebar was broken. Change-Id: Id63d8d52d514f447bf282f40199f6ecc7322922b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Merge "Fix BookingDetail Template"Parker Berberian1-3/+3
2019-01-18Merge "Make landing page less sparse"Parker Berberian2-17/+59
2019-01-18Make landing page less sparseSawyer Bergeron2-17/+59
Change-Id: If661574fd0c62e208651507ccff844cf6f14e914 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18OverHaul the Snapshot WorkflowParker Berberian3-26/+64
Makes the Snapshot workflow much prettier and more functional. Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Merge "Style Account pages"Parker Berberian5-100/+73
2019-01-18Style Account pagesParker Berberian5-100/+73
Adds some prettiness to the account pages that list bookings, etc Change-Id: I90508cfafba00380d67965a038dc54d1fac43f60 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
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-18Merge "Add Quick-Booking Workflow"Parker Berberian4-40/+247
2019-01-18Add Quick-Booking WorkflowSawyer Bergeron4-40/+247
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-18Merge "Fix Multiple Select Filter Widget"Parker Berberian1-0/+1
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-16Fix Multiple Select Filter WidgetParker Berberian1-0/+1
Fixed a bug in the widget that allowed multiple objects to be selected when only one was allowed. Change-Id: I623a041fa82a2f7ee178df782d21d100617eac3b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-04Landing page now links to LaaS 2.0 wiki entrySawyer Bergeron1-2/+2
Change-Id: I01dd7f671a21c9b9f06dede341d6ddf410f0e776 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-04Fix landing page directions for not-logged-in usersSawyer Bergeron1-3/+7
Users will see a more informative landing page that directs them to log in if they have not yet done so, rather than displaying actions they can not yet take and having a required login get triggered later Change-Id: I9812367930665614933551f780f4c6726ff3049c Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Changed Button style class to btn-primary"Parker Berberian9-23/+21
2019-01-03Changed Button style class to btn-primaryParker Berberian9-23/+21
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-03Alert users that ssh key is requiredSawyer Bergeron1-0/+5
Any users that have not uploaded an ssh key will see a message on the landing page that they need to upload one. Message is not seen by people who have already uploaded a key Change-Id: I01667e161521d801090173d47815abbeff094907 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Removes log button in deployment"Parker Berberian1-0/+4
2019-01-03Merge "Cleaning up look and feel"Parker Berberian1-13/+88
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-03Disable Edit ButtonsSawyer Bergeron3-4/+5
Edit buttons are currently not functional due to major changes in how the workflow works, so this commit disables them for the time being to avoid confusion Change-Id: I62dddbc25267e9da55c503b48fed4f05cea97c22 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Implement Segmented Workflows"Parker Berberian6-76/+70
2019-01-03Implement Segmented WorkflowsSawyer Bergeron6-76/+70
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>
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>
2019-01-02Merge "Abstract Out Inline CSS for Account Views"Parker Berberian6-18/+23
2018-12-21Removed document.open()Parker Berberian1-3/+3
Some versions of some browsers dont play nice with a document.open() and document.write(), So I am manipulating the DOM manually instead of writing the response itself. Change-Id: Ib852be55dfcb4e360a5cfd89e5e3e2b845d6322a Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-12-14Abstract Out Inline CSS for Account ViewsSawyer Bergeron6-18/+23
Change-Id: I2da02fa7865b618c583d15cca9ef256c62f19286 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2018-12-05Merge "Add Nav Button Disabling Behavior"Parker Berberian1-0/+27
2018-12-04Add Nav Button Disabling BehaviorSawyer Bergeron1-0/+27
Change-Id: I81bb064d83e1dc6df8658cd4cfa2a400c7e723ca Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2018-11-28Removed Vanilla Form SubmissionParker Berberian4-12/+36
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-11-26Fixed Misc BugsParker Berberian4-5/+9
Some corner cases that cause issues recently came to our attention. Fixes issues in the booking workflow and the Notification system. Change-Id: Ie16118ba1bdbeff86bb41a16dc783337b921d527 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-07Merge "Rewrite Notification subsystem"Trevor Bramwell5-1/+109
2018-11-07Rewrite Notification subsystemParker Berberian5-1/+109
In this commit: - delete a lot of really bad and / or unused code - redesign a much simpler Notification model - create and send notifications to the user's inbox on booking start & end - migrations - emails user when booking is ready and when it ends Not in this commit: - Creating notifications from lab messages - warning messages when a booking is about to end - creating "summary" notifications when e.g. a booking has been fulfilled by a lab Change-Id: I69b4dc36c3f2bce76d810106baadeef5a562cc7d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-31Merge "Improved Collaborators UX"Trevor Bramwell1-1/+2
2018-10-31Merge "Fixed Indentation"Trevor Bramwell1-239/+231
2018-10-31Merge "Fix Booking List"Trevor Bramwell1-2/+2
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-26Forces hostnames to not be emptyParker Berberian1-0/+1
Previously, when a host was 'added' but not given a hostname, it was excluded from the list of hosts sent to the backend for processing. By explicitly adding each host to the result, we avoid this and force the checking of an empty hostname (which will correctly fail). Change-Id: Ia533bc23baf558a5e297dab629dbf47fb4704d7f Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>