From 7584d018f664c7c32bb5d1aa0a1b22044422ca20 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Wed, 6 May 2020 20:50:43 +0100 Subject: [PATCH] Begin setup & files with download tab --- src/nginxconfig/scss/style.scss | 26 +++++- src/nginxconfig/templates/app.vue | 5 ++ src/nginxconfig/templates/setup.vue | 85 +++++++++++++++++++ .../templates/setup_sections/download.vue | 85 +++++++++++++++++++ .../templates/setup_sections/index.js | 1 + 5 files changed, 200 insertions(+), 2 deletions(-) create mode 100644 src/nginxconfig/templates/setup.vue create mode 100644 src/nginxconfig/templates/setup_sections/download.vue create mode 100644 src/nginxconfig/templates/setup_sections/index.js diff --git a/src/nginxconfig/scss/style.scss b/src/nginxconfig/scss/style.scss index 8817092..9a1e82c 100644 --- a/src/nginxconfig/scss/style.scss +++ b/src/nginxconfig/scss/style.scss @@ -114,6 +114,26 @@ $highlight: #f2c94c; } } + &.setup { + ol { + color: $dark-blue; + margin: 0 1rem; + text-align: left; + + li { + margin: 0 0 1.5rem; + + p { + overflow-wrap: break-word; + + a { + text-decoration: none; + } + } + } + } + } + .container { padding: 0 1.5rem; } @@ -204,7 +224,7 @@ $highlight: #f2c94c; } .v-select { - .vs__dropdown-toggle { + .vs__dropdown-toggle { // sass-lint:disable-line class-name-format background: rgba($highlight, .35); } } @@ -291,6 +311,7 @@ $highlight: #f2c94c; } } + // sass-lint:disable class-name-format .v-select { &.vs--open { > ul { @@ -308,7 +329,7 @@ $highlight: #f2c94c; } > ul { - display: block !important; + display: block !important; // sass-lint:disable-line no-important margin: 0; opacity: 0; transition: opacity $transition; @@ -346,6 +367,7 @@ $highlight: #f2c94c; } } } + // sass-lint:enable class-name-format .modal { .modal-card { diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue index 0544a2e..47ba573 100644 --- a/src/nginxconfig/templates/app.vue +++ b/src/nginxconfig/templates/app.vue @@ -53,6 +53,9 @@ limitations under the License.

Global config

+

Setup and files

+ +
{{ exportData }}
@@ -71,6 +74,7 @@ limitations under the License. import i18n from '../i18n'; import Domain from './domain'; import Global from './global'; + import Setup from './setup'; export default { name: 'App', @@ -79,6 +83,7 @@ limitations under the License. Footer, Domain, Global, + Setup, }, data() { return { diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue new file mode 100644 index 0000000..21ef182 --- /dev/null +++ b/src/nginxconfig/templates/setup.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/src/nginxconfig/templates/setup_sections/download.vue b/src/nginxconfig/templates/setup_sections/download.vue new file mode 100644 index 0000000..e681d49 --- /dev/null +++ b/src/nginxconfig/templates/setup_sections/download.vue @@ -0,0 +1,85 @@ + + + diff --git a/src/nginxconfig/templates/setup_sections/index.js b/src/nginxconfig/templates/setup_sections/index.js new file mode 100644 index 0000000..ae26dd7 --- /dev/null +++ b/src/nginxconfig/templates/setup_sections/index.js @@ -0,0 +1 @@ +export { default as Download } from './download';