diff --git a/postcss.config.js b/postcss.config.js
index 4e8295d..b5564b3 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,7 +1,7 @@
module.exports = {
plugins: {
- tailwindcss: "./tailwind.config.js",
- "postcss-nested": {},
+ tailwindcss: './tailwind.config.js',
+ 'postcss-nested': {},
autoprefixer: {}
}
}
diff --git a/src/components/Application/ApplicationCard.vue b/src/components/Application/ApplicationCard.vue
index c856cef..812756c 100644
--- a/src/components/Application/ApplicationCard.vue
+++ b/src/components/Application/ApplicationCard.vue
@@ -53,18 +53,18 @@ import StarToggle from '@/components/Application/StarToggle'
export default {
components: {
ApplicationTags,
- StarToggle,
+ StarToggle
},
props: {
application: Object,
display: String,
- id: Number,
+ id: Number
},
- data() {
+ data () {
return {
- starred: false,
+ starred: false
}
}
}
diff --git a/src/components/Application/ApplicationDisplaySwitcher.vue b/src/components/Application/ApplicationDisplaySwitcher.vue
index afef797..5e68769 100644
--- a/src/components/Application/ApplicationDisplaySwitcher.vue
+++ b/src/components/Application/ApplicationDisplaySwitcher.vue
@@ -17,7 +17,7 @@
diff --git a/src/components/Application/ApplicationTags.vue b/src/components/Application/ApplicationTags.vue
index 662d229..ce961f1 100644
--- a/src/components/Application/ApplicationTags.vue
+++ b/src/components/Application/ApplicationTags.vue
@@ -11,7 +11,7 @@
export default {
props: {
level: String,
- type: String,
- },
+ type: String
+ }
}
diff --git a/src/components/Application/StarToggle.vue b/src/components/Application/StarToggle.vue
index 7c3e636..993e06d 100644
--- a/src/components/Application/StarToggle.vue
+++ b/src/components/Application/StarToggle.vue
@@ -8,13 +8,13 @@
diff --git a/src/components/Environment/ActionCard.vue b/src/components/Environment/ActionCard.vue
index a4da653..4d09576 100644
--- a/src/components/Environment/ActionCard.vue
+++ b/src/components/Environment/ActionCard.vue
@@ -28,13 +28,13 @@ export default {
props: {
title: {
type: String,
- required: true,
+ required: true
},
description: {
type: String,
- required: true,
- },
- },
+ required: true
+ }
+ }
}
diff --git a/src/components/Environment/ActionCardButton.vue b/src/components/Environment/ActionCardButton.vue
index b4f0e8a..1268749 100644
--- a/src/components/Environment/ActionCardButton.vue
+++ b/src/components/Environment/ActionCardButton.vue
@@ -8,8 +8,8 @@
diff --git a/src/components/Environment/ActionCards.vue b/src/components/Environment/ActionCards.vue
index 8d10d23..bfdaec8 100644
--- a/src/components/Environment/ActionCards.vue
+++ b/src/components/Environment/ActionCards.vue
@@ -73,7 +73,6 @@
-
diff --git a/src/components/Environment/EnvironmentCards.vue b/src/components/Environment/EnvironmentCards.vue
index 44ac707..56138b9 100644
--- a/src/components/Environment/EnvironmentCards.vue
+++ b/src/components/Environment/EnvironmentCards.vue
@@ -52,8 +52,8 @@
export default {
props: {
environments: Object,
- id: String,
- },
+ id: String
+ }
}
diff --git a/src/components/Environment/QuickHelp.vue b/src/components/Environment/QuickHelp.vue
index 7793681..208bacb 100644
--- a/src/components/Environment/QuickHelp.vue
+++ b/src/components/Environment/QuickHelp.vue
@@ -41,29 +41,29 @@
diff --git a/src/components/HeaderButtons.vue b/src/components/HeaderButtons.vue
index c982298..78473df 100644
--- a/src/components/HeaderButtons.vue
+++ b/src/components/HeaderButtons.vue
@@ -24,7 +24,7 @@ import _ from 'lodash'
export default {
props: {
- links: Array,
+ links: Array
},
computed: {
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index 09cc954..3f05695 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -25,7 +25,7 @@
diff --git a/src/data.js b/src/data.js
index 1c463e2..cbb2ba9 100644
--- a/src/data.js
+++ b/src/data.js
@@ -10,23 +10,23 @@ export default {
dev: {
name: 'Dev',
url: 'dev.rebuilding-acquia.com',
- label: 'develop',
+ label: 'develop'
},
stage: {
name: 'Stage',
url: 'stg.rebuilding-acquia.com',
- label: 'master',
+ label: 'master'
},
prod: {
name: 'Prod',
url: 'rebuilding-acquia.com',
- label: 'tags/2018-12-21',
+ label: 'tags/2018-12-21'
},
ra: {
name: 'RA',
url: 'ra.rebuilding-acquia.com',
- label: 'tags/WELCOME',
- },
+ label: 'tags/WELCOME'
+ }
},
tasks: [
{
@@ -38,7 +38,7 @@ export default {
completed: 'Dec 19, 2018 3:48:29 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: 9688c41 Update IP address refs/heads/master',
@@ -46,10 +46,10 @@ export default {
times: {
display: 'Dec 19, 2018 3:50:31 PM UTC +0000',
started: 'Dec 19, 2018 3:50:31 PM UTC +0000',
- completed: 'Dec 19, 2018 3:50:31 PM UTC +0000',
+ completed: 'Dec 19, 2018 3:50:31 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Deploy code from test to prod',
@@ -57,10 +57,10 @@ export default {
times: {
display: 'Dec 19, 2018 3:55:29 PM UTC +0000',
started: 'Dec 19, 2018 3:55:29 PM UTC +0000',
- completed: 'Dec 19, 2018 3:55:29 PM UTC +0000',
+ completed: 'Dec 19, 2018 3:55:29 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Deploy the code reference master to dev',
@@ -68,10 +68,10 @@ export default {
times: {
display: 'Dec 20, 2018 10:13:48 PM UTC +0000',
started: 'Dec 20, 2018 10:13:48 PM UTC +0000',
- completed: 'Dec 20, 2018 10:13:48 PM UTC +0000',
+ completed: 'Dec 20, 2018 10:13:48 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Deploy the code reference tags/2018-12-19 to test',
@@ -79,10 +79,10 @@ export default {
times: {
display: 'Dec 20, 2018 10:25:07 PM UTC +0000',
started: 'Dec 20, 2018 10:25:07 PM UTC +0000',
- completed: 'Dec 20, 2018 10:25:07 PM UTC +0000',
+ completed: 'Dec 20, 2018 10:25:07 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: e75c4a3 Merge branch \'voucher-code-bug-34\' refs/heads/master',
@@ -90,11 +90,11 @@ export default {
times: {
display: 'Dec 21, 2018 12:55:49 PM UTC +0000',
started: 'Dec 21, 2018 12:55:49 PM UTC +0000',
- completed: 'Dec 21, 2018 12:55:49 PM UTC +0000',
+ completed: 'Dec 21, 2018 12:55:49 PM UTC +0000'
},
status: 'Failed',
loading: false,
- success: false,
+ success: false
},
{
text: 'Commit: 398945c Ensure stage_file_proxy is enabled refs/heads/master',
@@ -102,10 +102,10 @@ export default {
times: {
display: 'Dec 21, 2018 1:09:19 PM UTC +0000',
started: 'Dec 21, 2018 1:09:19 PM UTC +0000',
- completed: 'Dec 21, 2018 1:09:19 PM UTC +0000',
+ completed: 'Dec 21, 2018 1:09:19 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: 96ac151 Fix syntax refs/heads/master',
@@ -113,10 +113,10 @@ export default {
times: {
display: 'Dec 21, 2018 1:23:43 PM UTC +0000',
started: 'Dec 21, 2018 1:23:43 PM UTC +0000',
- completed: 'Dec 21, 2018 1:23:43 PM UTC +0000',
+ completed: 'Dec 21, 2018 1:23:43 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: 8056d51 Add production URLs as settings refs/heads/master',
@@ -124,13 +124,13 @@ export default {
times: {
display: 'Dec 21, 2018 1:34:13 PM UTC +0000',
started: 'Dec 21, 2018 1:34:13 PM UTC +0000',
- completed: 'Dec 21, 2018 1:34:13 PM UTC +0000',
+ completed: 'Dec 21, 2018 1:34:13 PM UTC +0000'
},
status: 'In progress',
loading: true,
- success: true,
- },
- ],
+ success: true
+ }
+ ]
},
2: {
id: 2,
@@ -142,18 +142,18 @@ export default {
dev: {
name: 'Dev',
url: 'dev.oliverdavies.uk',
- label: 'develop',
+ label: 'develop'
},
stage: {
name: 'Stage',
url: 'stg.oliverdavies.uk',
- label: 'master',
+ label: 'master'
},
prod: {
name: 'Prod',
url: 'oliverdavies.uk',
- label: 'tags/2018-12-21',
- },
+ label: 'tags/2018-12-21'
+ }
},
tasks: [
{
@@ -162,10 +162,10 @@ export default {
times: {
display: 'Dec 23, 2018 11:26:48 PM UTC +0000',
started: 'Dec 23, 2018 11:26:50 PM UTC +0000',
- completed: 'Dec 23, 2018 11:26:52 PM UTC +0000',
+ completed: 'Dec 23, 2018 11:26:52 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Create database opdaviestest in Stage.',
@@ -173,10 +173,10 @@ export default {
times: {
display: 'Dec 23, 2018 11:26:48 PM UTC +0000',
started: 'Dec 23, 2018 11:26:50 PM UTC +0000',
- completed: 'Dec 23, 2018 11:26:52 PM UTC +0000',
+ completed: 'Dec 23, 2018 11:26:52 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Install Drupal 8 to Dev.',
@@ -184,10 +184,10 @@ export default {
times: {
display: 'Dec 23, 2018 11:33:52 PM UTC +0000',
started: 'Dec 23, 2018 11:33:53 PM UTC +0000',
- completed: 'Dec 23, 2018 11:37:21 PM UTC +0000',
+ completed: 'Dec 23, 2018 11:37:21 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: 9736ef5 Importing site archive refs/heads/master',
@@ -195,10 +195,10 @@ export default {
times: {
display: 'Dec 23, 2018 11:36:29 PM UTC +0000',
started: 'Dec 23, 2018 11:36:30 PM UTC +0000',
- completed: 'Dec 23, 2018 11:37:16 PM UTC +0000',
+ completed: 'Dec 23, 2018 11:37:16 PM UTC +0000'
},
loading: false,
- success: true,
+ success: true
},
{
text: 'Commit: 0ab620f Initial commit to Acquia Git starter repo. refs/tags/pre-import-2018-12-23',
@@ -206,12 +206,12 @@ export default {
times: {
display: 'Dec 23, 2018 11:36:30 PM UTC +0000',
started: 'Dec 23, 2018 11:36:32 PM UTC +0000',
- completed: 'Dec 23, 2018 11:36:33 PM UTC +0000',
+ completed: 'Dec 23, 2018 11:36:33 PM UTC +0000'
},
loading: false,
- success: true,
- },
- ],
- },
- },
+ success: true
+ }
+ ]
+ }
+ }
}
diff --git a/src/main.js b/src/main.js
index 1f3919e..9f9de90 100644
--- a/src/main.js
+++ b/src/main.js
@@ -9,12 +9,12 @@ import VueRouter from 'vue-router'
Vue.config.productionTip = false
-Vue.component('header-buttons', HeaderButtons);
-Vue.component('navbar', Navbar);
-Vue.component('sidebar', Sidebar);
-Vue.component('title-block', TitleBlock);
+Vue.component('header-buttons', HeaderButtons)
+Vue.component('navbar', Navbar)
+Vue.component('sidebar', Sidebar)
+Vue.component('title-block', TitleBlock)
-Vue.use(VueRouter);
+Vue.use(VueRouter)
new Vue({
render: h => h(App),
diff --git a/src/routes.js b/src/routes.js
index 84e3247..84e145c 100644
--- a/src/routes.js
+++ b/src/routes.js
@@ -7,19 +7,19 @@ export default {
{
path: '/',
name: 'applications',
- component: Applications,
+ component: Applications
},
{
path: '/:id/environments',
name: 'environments',
component: Environments,
- props: true,
+ props: true
},
{
path: '/:id/environments/:environmentName',
name: 'environment',
component: Environment,
- props: true,
+ props: true
}
]
}
diff --git a/src/views/Applications.vue b/src/views/Applications.vue
index cd51781..381a30a 100644
--- a/src/views/Applications.vue
+++ b/src/views/Applications.vue
@@ -70,13 +70,13 @@ import data from '@/data'
export default {
components: {
ApplicationCard,
- ApplicationDisplaySwitcher,
+ ApplicationDisplaySwitcher
},
- data() {
+ data () {
return {
applications: data.applications,
- display: 'grid',
+ display: 'grid'
}
},
@@ -87,7 +87,7 @@ export default {
},
methods: {
- handleDisplay(mode) {
+ handleDisplay (mode) {
this.display = mode
}
}
diff --git a/src/views/Environment.vue b/src/views/Environment.vue
index 5bfa601..c3b6b4e 100644
--- a/src/views/Environment.vue
+++ b/src/views/Environment.vue
@@ -159,17 +159,17 @@ import data from '@/data'
export default {
components: {
ActionCards,
- ApplicationTags,
+ ApplicationTags
},
props: {
id: String,
- environmentName: String,
+ environmentName: String
},
- data() {
+ data () {
return {
- applications: data.applications,
+ applications: data.applications
}
},
@@ -183,16 +183,16 @@ export default {
},
gitUrl: function () {
- return this.application.machineName + '@svn-1234.prod.hosting.acquia.com:' + this.application.machineName + '.git'
+ return this.application.machineName + '@svn-1234.prod.hosting.acquia.com:' + this.application.machineName + '.git'
},
isProduction: function () {
- return this.environmentName == 'prod'
+ return this.environmentName === 'prod'
},
sshUrl: function () {
return this.application.machineName + '.' + this.environmentName + '@staging-1234.prod.hosting.acquia.com'
}
- },
+ }
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 5b3fb49..dfe4e9e 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,4 +1,4 @@
-defaultTheme = require('tailwindcss/defaultTheme')
+let defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
@@ -9,7 +9,7 @@ module.exports = {
100: '#29aae1',
200: '#018dc7',
300: '#0e68a7',
- 400: '#004f86',
+ 400: '#004f86'
},
green: '#398002',
grey: {
@@ -19,11 +19,11 @@ module.exports = {
400: '#bbb',
500: '#888',
600: '#555',
- 700: '#333',
+ 700: '#333'
},
orange: {
100: '#fa9903',
- 200: '#ffb401',
+ 200: '#ffb401'
},
purple: '#991faf',
red: '#cc1f1a',
@@ -36,30 +36,30 @@ module.exports = {
borderWidth: {
3: '3px',
6: '6px',
- 10: '10px',
+ 10: '10px'
},
boxShadow: {
- md: '0 0 10px 0 rgba(0,0,0,0.1)',
+ md: '0 0 10px 0 rgba(0,0,0,0.1)'
},
fontFamily: {
- sans: ['Proxima Nova', ...defaultTheme.fontFamily.sans],
+ sans: ['Proxima Nova', ...defaultTheme.fontFamily.sans]
},
fontSize: {
- '2xs': '.625rem', // 10px
+ '2xs': '.625rem' // 10px
},
spacing: {
'2px': '2px',
48: '10rem',
56: '14rem',
- 64: '16rem',
+ 64: '16rem'
},
width: {
- 56: '14rem',
- },
- },
+ 56: '14rem'
+ }
+ }
},
plugins: [
require('tailwindcss-spaced-items')({ values: defaultTheme.spacing }),
- require('tailwindcss-visuallyhidden')(),
- ],
+ require('tailwindcss-visuallyhidden')()
+ ]
}