Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This adds a Downtime model and relevant operations so that
the dashboard knows when a lab is down for maintenance and
can act accordingly.
This change doesn't modify the front end at all,
but it does pass relevant downtime info to the
templates so that they can be updated in a future change.
Change-Id: Idb88b15838b949f352f11a31a1fce9749d283d28
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Adds an additional check to ensure that the host is
working before using it for a booking.
Change-Id: I69731ca10ad59b6b774d04bdf6f3e628e6a07a79
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Removes behavior-based unit testing for this widget, instead adds in
unit tests that will test each function. This makes sure that every
function does what is expected.
Change-Id: Ie97831480865defe5ab38c9499016c7fa3c12a62
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
|
|
Add Karma, Mocha, and Chai NPM packages to allow for browser based
front-end JavaScript testing. Not all functions are tested, but
a lot of the required behavior is. This allows for new JS unit tests
in future patches.
Change-Id: I2ac2a865ed3a458d8f5ebdeb7c2b4defda24fd41
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
|
|
An earlier patch changed dependencies, but did not change the
settings.py app, which breaks a new install
Change-Id: I398c2dabf9d46753fa36fb12cad25783c5b19fae
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
By not mounting the local directory in the container,
we avoid the problem of the static files being
overwritten.
This change forces you to run `make build; make dev-up`
for *every* change, even templates.
Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
Fixes old tests and adds some more.
Also fixes linting errors
Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
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>
|
|
Removes or upgrades the dependencies in requirements.txt
Change-Id: I4e66348fc80259b4a2f64ca912556f7d847f0645
Signed-off-by: Parker Berberian <pberberian@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>
|
|
Change-Id: I542c0b7011a53e0d5c5fc052b39ef22d988fcb29
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
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>
|
|
Refactors wf manager according to: https://jira.opnfv.org/browse/LAAS-31
Change-Id: I72b4b0b808bb77846f44787fdd146f1053c047b5
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
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>
|
|
Change-Id: I3fa53c399f914d7daa8ffb5d8640a153de555421
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
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>
|
|
Creates a single place to validate hostnames, with public
fields for regex that can be copied to the frontend.
We do hostname validation inconsistently all over the place,
we should move to using this single validator.
Change-Id: I7b71fd89843a7e5b7f9d93dcb23f4645abe71dd0
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
Our makefile doesn't actually make anything, and there
was a naming conflict. Marking the rules PHONY
solves this.
Change-Id: I01d09bb22306a4c4a254b59418c4e2a339413868
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Now that LaaS is an official project, we must migrate
our codebase to the new repos.
This is only the dashboard code, e.g. the contents of dashboard/
in the original repo
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: Iea06943b61a0877e24254c0c55057adbaca984bb
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: Idc0f2807eda7c7c06907e143744709a2193d6a29
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
|
|
|
|
|
|
Change-Id: Id0cfca0eda45035f89f2158cf7031d456e94ec83
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
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>
|
|
|
|
A couple bugs slipped in from complicated merges.
Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374
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>
|
|
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>
|