diff --git a/src/router/index.js b/src/router/index.js index c1e959a..9ac83af 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,6 +1,7 @@ import Vue from 'vue' import Router from 'vue-router' import Applications from '@/views/Applications' +import Environment from '@/views/Environment' import Environments from '@/views/Environments' Vue.use(Router) @@ -17,6 +18,12 @@ export default new Router({ name: 'environments', component: Environments, props: true, + }, + { + path: '/:id/environments/:environmentName', + name: 'environment', + component: Environment, + props: true, } ] }) diff --git a/src/views/Environment.vue b/src/views/Environment.vue new file mode 100644 index 0000000..b10e500 --- /dev/null +++ b/src/views/Environment.vue @@ -0,0 +1,241 @@ + + + + + + + + + + + Applications + + + + {{ application.name }} + + + {{ environment.name }} + + + + + {{ application.name }} : {{ environment.name }} + + + + + + + + + + + + + + + + Overview + + + + + + + + {{ environment.url }} + + + + + + + + + + + + + Code + {{ environment.name }}: {{ environment.label }} + + + + + + + + + + + + + + + Deploy + + + + + + + Switch + + + + + + + + + + + + + + + + Databases + {{ environment.name }} + + + + + + + + + + + + + + + Copy + + + + + + + Back up + + + + + + + Restore + + + + + + + + + + + + + + + + Files + {{ environment.name }} + + + + + + + + + + + + + + + Copy + + + + + + + + + + + + + + + + + + + + + +