From 8d129109ec70a946ca5db879cd81f216ff3c804e Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Thu, 19 Dec 2019 09:51:55 -0800 Subject: Add page level layout components Adding components to help standardize type, size, spacing for common elements on a page. Also removed a conflicting class name and added modifications to the main container. The main container needed a min-height and height value set, which became apparent with added background color. Adding a background color will move us closer to agreed design solution to add a subtle background color instead of adding a border to separate main content from left hand navigation. Signed-off-by: Yoshie Muranaka Signed-off-by: Derick Montague Change-Id: Ie63c4f0c0f3fd199fa0ca790065402e06a613691 --- src/components/Global/PageContainer.vue | 23 ++++++++++++++++ src/components/Global/PageSection.vue | 30 +++++++++++++++++++++ src/components/Global/PageTitle.vue | 31 ++++++++++++++++++++++ src/layouts/AppLayout.vue | 8 +++--- src/router/index.js | 4 +-- .../LocalUserManagement/LocalUserManagement.vue | 10 +++---- src/views/Overview/Overview.vue | 28 +++++++++---------- 7 files changed, 109 insertions(+), 25 deletions(-) create mode 100644 src/components/Global/PageContainer.vue create mode 100644 src/components/Global/PageSection.vue create mode 100644 src/components/Global/PageTitle.vue (limited to 'src') diff --git a/src/components/Global/PageContainer.vue b/src/components/Global/PageContainer.vue new file mode 100644 index 00000000..8efbf7b1 --- /dev/null +++ b/src/components/Global/PageContainer.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/src/components/Global/PageSection.vue b/src/components/Global/PageSection.vue new file mode 100644 index 00000000..678fd31d --- /dev/null +++ b/src/components/Global/PageSection.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue new file mode 100644 index 00000000..02314249 --- /dev/null +++ b/src/components/Global/PageTitle.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index ab25ea3f..49d61c14 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -7,9 +7,9 @@ -
+ -
+
@@ -19,11 +19,13 @@