Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
- 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
|
|
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I41fbf0d7f6232d102861d9dcedd762e12e8fdd0a
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
|
|
Change-Id: I0d342a3f31769fe71059d08653002454851b61cc
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
Change-Id: Iecaabd1175ffd35daa938561e374244139f38117
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Change-Id: I92a38c6f5fbf23c7f32c233c47b5c1230a1933d7
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Change-Id: I47ee5d32472779a44a53fa3e2c04ef4411c59581
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Change-Id: I5af3d8d5db204fc9eb95a1ee4967cce0caf9b75c
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Change-Id: Id6fb052b2158ee0db30fd11b520194d3825b677f
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Change-Id: Iff9574f6a7a95d52785026194779ad4fbd71e003
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
Change-Id: I61e361e63da7453b2eee0e0c162a6f4e48460128
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
Makes things nicer as we build out Selenium tests.
Change-Id: I0658bdd01889ea8acb5c66d890baa8c5907430cd
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
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>
|
|
Change-Id: I0091629f8f0af423210b2e81210d65239e9662b4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
profile.labs templates to "account.Lab.None" which is
ugly and makes no sense.
Change-Id: I835718e72dad57cecf2c83229922046df9f1a312
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
Change-Id: I492ffd5a3cfcb19902a91f587c8acfdb1827be4d
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
Removed "filter_field" label and moved opnfv
options into thier own box
Change-Id: I7d2ee1f39a94de0a6638c96a3469f6f4c27e2196
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
Makes the list of labs detail cards, similar to how we list
a user's bookings
Change-Id: I4c1594d990bc460b423d38b3ada62f9a12e22614
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Removed field that referenced other labs because it is always None
Change-Id: I6bfce388844a8c5a7d60d227f51f10e628fc626d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
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>
|
|
Change-Id: If661574fd0c62e208651507ccff844cf6f14e914
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
|
|
|
|
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>
|
|
|
|
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>
|
|
Change-Id: I01dd7f671a21c9b9f06dede341d6ddf410f0e776
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|