Adds Template Overrides 14/69614/4
authorParker Berberian <pberberian@iol.unh.edu>
Thu, 30 Jan 2020 18:33:35 +0000 (13:33 -0500)
committerParker Berberian <pberberian@iol.unh.edu>
Thu, 30 Jan 2020 21:12:18 +0000 (16:12 -0500)
commit078273eb7db5a481a4131d44a943f3c9e34b6b88
tree9e6e569e18712d77b8a65c6ebf4dda50ade1b55a
parent899e1a4baa95d0bc6f0eef34de66f0e257174878
Adds Template Overrides

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>
66 files changed:
config.env.sample
src/laas_dashboard/settings.py
src/templates/README [new file with mode: 0644]
src/templates/base/account/booking_list.html [moved from src/templates/account/booking_list.html with 100% similarity]
src/templates/base/account/configuration_list.html [moved from src/templates/account/configuration_list.html with 100% similarity]
src/templates/base/account/details.html [moved from src/templates/account/details.html with 100% similarity]
src/templates/base/account/image_list.html [moved from src/templates/account/image_list.html with 100% similarity]
src/templates/base/account/resource_list.html [moved from src/templates/account/resource_list.html with 100% similarity]
src/templates/base/account/user_list.html [moved from src/templates/account/user_list.html with 100% similarity]
src/templates/base/account/userprofile_update_form.html [moved from src/templates/account/userprofile_update_form.html with 100% similarity]
src/templates/base/base.html [moved from src/templates/base.html with 100% similarity]
src/templates/base/booking/booking_calendar.html [moved from src/templates/booking/booking_calendar.html with 100% similarity]
src/templates/base/booking/booking_delete.html [moved from src/templates/booking/booking_delete.html with 100% similarity]
src/templates/base/booking/booking_detail.html [moved from src/templates/booking/booking_detail.html with 100% similarity]
src/templates/base/booking/booking_grid_item.html [moved from src/templates/booking/booking_grid_item.html with 100% similarity]
src/templates/base/booking/booking_list.html [moved from src/templates/booking/booking_list.html with 100% similarity]
src/templates/base/booking/booking_table.html [moved from src/templates/booking/booking_table.html with 100% similarity]
src/templates/base/booking/quick_deploy.html [moved from src/templates/booking/quick_deploy.html with 100% similarity]
src/templates/base/booking/stats.html [moved from src/templates/booking/stats.html with 100% similarity]
src/templates/base/booking/steps/booking_meta.html [moved from src/templates/booking/steps/booking_meta.html with 100% similarity]
src/templates/base/config_bundle/steps/assign_host_roles.html [moved from src/templates/config_bundle/steps/assign_host_roles.html with 100% similarity]
src/templates/base/config_bundle/steps/assign_network_roles.html [moved from src/templates/config_bundle/steps/assign_network_roles.html with 100% similarity]
src/templates/base/config_bundle/steps/config_software.html [moved from src/templates/config_bundle/steps/config_software.html with 100% similarity]
src/templates/base/config_bundle/steps/define_software.html [moved from src/templates/config_bundle/steps/define_software.html with 100% similarity]
src/templates/base/config_bundle/steps/pick_installer.html [moved from src/templates/config_bundle/steps/pick_installer.html with 100% similarity]
src/templates/base/config_bundle/steps/table_formset.html [moved from src/templates/config_bundle/steps/table_formset.html with 100% similarity]
src/templates/base/dashboard/genericselect.html [moved from src/templates/dashboard/genericselect.html with 100% similarity]
src/templates/base/dashboard/host_profile_detail.html [moved from src/templates/dashboard/host_profile_detail.html with 100% similarity]
src/templates/base/dashboard/idf.yaml [moved from src/templates/dashboard/idf.yaml with 100% similarity]
src/templates/base/dashboard/lab_detail.html [moved from src/templates/dashboard/lab_detail.html with 100% similarity]
src/templates/base/dashboard/lab_list.html [moved from src/templates/dashboard/lab_list.html with 100% similarity]
src/templates/base/dashboard/landing.html [moved from src/templates/dashboard/landing.html with 80% similarity]
src/templates/base/dashboard/login.html [moved from src/templates/dashboard/login.html with 100% similarity]
src/templates/base/dashboard/multiple_select_filter_widget.html [moved from src/templates/dashboard/multiple_select_filter_widget.html with 100% similarity]
src/templates/base/dashboard/pdf.yaml [moved from src/templates/dashboard/pdf.yaml with 100% similarity]
src/templates/base/dashboard/resource.html [moved from src/templates/dashboard/resource.html with 100% similarity]
src/templates/base/dashboard/resource_all.html [moved from src/templates/dashboard/resource_all.html with 100% similarity]
src/templates/base/dashboard/resource_detail.html [moved from src/templates/dashboard/resource_detail.html with 100% similarity]
src/templates/base/dashboard/searchable_select_multiple.html [moved from src/templates/dashboard/searchable_select_multiple.html with 100% similarity]
src/templates/base/dashboard/server_table.html [moved from src/templates/dashboard/server_table.html with 100% similarity]
src/templates/base/dashboard/table.html [moved from src/templates/dashboard/table.html with 100% similarity]
src/templates/base/layout.html [moved from src/templates/layout.html with 100% similarity]
src/templates/base/notifier/email_ended.txt [moved from src/templates/notifier/email_ended.txt with 100% similarity]
src/templates/base/notifier/email_expiring.txt [moved from src/templates/notifier/email_expiring.txt with 100% similarity]
src/templates/base/notifier/email_fulfilled.txt [moved from src/templates/notifier/email_fulfilled.txt with 100% similarity]
src/templates/base/notifier/end_booking.html [moved from src/templates/notifier/end_booking.html with 100% similarity]
src/templates/base/notifier/expiring_booking.html [moved from src/templates/notifier/expiring_booking.html with 100% similarity]
src/templates/base/notifier/inbox.html [moved from src/templates/notifier/inbox.html with 100% similarity]
src/templates/base/notifier/new_booking.html [moved from src/templates/notifier/new_booking.html with 100% similarity]
src/templates/base/notifier/notification.html [moved from src/templates/notifier/notification.html with 100% similarity]
src/templates/base/resource/hostprofile_detail.html [moved from src/templates/resource/hostprofile_detail.html with 100% similarity]
src/templates/base/resource/hosts.html [moved from src/templates/resource/hosts.html with 100% similarity]
src/templates/base/resource/mxClient.min.js [moved from src/templates/resource/mxClient.min.js with 100% similarity]
src/templates/base/resource/steps/define_hardware.html [moved from src/templates/resource/steps/define_hardware.html with 100% similarity]
src/templates/base/resource/steps/host_info.html [moved from src/templates/resource/steps/host_info.html with 100% similarity]
src/templates/base/resource/steps/meta_info.html [moved from src/templates/resource/steps/meta_info.html with 100% similarity]
src/templates/base/resource/steps/pod_definition.html [moved from src/templates/resource/steps/pod_definition.html with 100% similarity]
src/templates/base/resource/uncommon.css [moved from src/templates/resource/uncommon.css with 100% similarity]
src/templates/base/rest_framework/api.html [moved from src/templates/rest_framework/api.html with 100% similarity]
src/templates/base/snapshot_workflow/steps/meta.html [moved from src/templates/snapshot_workflow/steps/meta.html with 100% similarity]
src/templates/base/snapshot_workflow/steps/select_host.html [moved from src/templates/snapshot_workflow/steps/select_host.html with 100% similarity]
src/templates/base/workflow/confirm.html [moved from src/templates/workflow/confirm.html with 100% similarity]
src/templates/base/workflow/no_workflow.html [moved from src/templates/workflow/no_workflow.html with 100% similarity]
src/templates/base/workflow/viewport-base.html [moved from src/templates/workflow/viewport-base.html with 100% similarity]
src/templates/base/workflow/viewport-element.html [moved from src/templates/workflow/viewport-element.html with 100% similarity]
src/templates/laas/dashboard/landing.html [new file with mode: 0644]