aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/workflow
AgeCommit message (Collapse)AuthorFilesLines
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-10minor UI fixesSawyer Bergeron1-1/+1
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-08Hacking on AJAXParker Berberian3-385/+16
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-02Unify Form SubmissionParker Berberian2-17/+6
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-02Reduce forms to required contentBrandon Lo2-22/+17
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 Lo4-301/+72
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-21Add bootstrap 4 supportBrandon Lo4-218/+231
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-17Enforce step validity when going forwardSawyer Bergeron1-2/+1
Change-Id: Ic598a5e2637b88f6d044bd93c5b597582f0c1081 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-05-22Make steps possible to hide/showSawyer Bergeron1-29/+65
Change-Id: Ice5036ea9801655032cb080537fbd471fb3fda3e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-28Fix iframe height bugSawyer Bergeron1-14/+15
iframes in workflows should no longer size incorrectly on initial load and page refresh Change-Id: Ic0765138e7c2f94603b69e8a8412ffa17817b2e7 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-02-25Update Inbox FeaturesetSawyer Bergeron1-1/+0
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-01-03Changed Button style class to btn-primaryParker Berberian1-2/+2
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-03Merge "Implement Segmented Workflows"Parker Berberian4-75/+64
2019-01-03Implement Segmented WorkflowsSawyer Bergeron4-75/+64
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-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-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 Berberian1-4/+29
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-10-15Lab as a Service 2.0Parker Berberian5-0/+677
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>