2018-12-21 21:58:12 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2018-12-23 13:17:39 +00:00
|
|
|
<navbar></navbar>
|
2018-12-21 21:58:12 +00:00
|
|
|
|
2018-12-21 23:45:34 +00:00
|
|
|
<div class="px-4 py-5 border-b-2 border-grey flex justify-between items-center">
|
|
|
|
<div class="w-full md:w-auto flex flex-col">
|
2018-12-21 21:58:12 +00:00
|
|
|
<div class="text-xs mb-3">
|
|
|
|
<ol class="list-reset flex">
|
|
|
|
<li class="mr-6"><a href="#0" class="text-blue-dark no-underline hover:underline">Applications</a></li>
|
2018-12-23 13:17:39 +00:00
|
|
|
<li>{{ application.name }}</li>
|
2018-12-21 21:58:12 +00:00
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
|
2018-12-22 00:36:38 +00:00
|
|
|
<button class="flex flex-1 items-center justify-between md:justify-start">
|
2018-12-23 13:17:39 +00:00
|
|
|
<div class="text-2xl font-hairline mr-2">{{ application.name }}</div>
|
|
|
|
<svg class="h-6 w-6 text-blue-dark fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__down-arrow"></use></svg>
|
2018-12-22 00:36:38 +00:00
|
|
|
</button>
|
2018-12-21 21:58:12 +00:00
|
|
|
</div>
|
|
|
|
|
2018-12-21 23:45:34 +00:00
|
|
|
<div class="hidden md:block">
|
2018-12-21 21:58:12 +00:00
|
|
|
<ul class="list-reset flex">
|
|
|
|
<li>
|
|
|
|
<button type="button" class="text-xs text-blue-dark no-underline hover:underline flex flex-col items-center justify-center">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-blue-dark fill-current mb-2" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__new-database"></use></svg>
|
2018-12-21 21:58:12 +00:00
|
|
|
Add database
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="ml-6">
|
|
|
|
<button type="button" class="text-xs text-blue-dark no-underline hover:underline flex flex-col items-center justify-center">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-blue-dark fill-current mb-2" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__info"></use></svg>
|
2018-12-21 21:58:12 +00:00
|
|
|
Git Info
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="ml-6">
|
2018-12-22 00:27:09 +00:00
|
|
|
<button type="button" class="text-xs text-grey-dark no-underline flex flex-col items-center justify-center cursor-not-allowed" disabled>
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 fill-current text-grey-dark mb-2" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__edit"></use></svg>
|
2018-12-21 21:58:12 +00:00
|
|
|
Rename
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="flex flex-row-reverse h-full">
|
2018-12-21 23:45:34 +00:00
|
|
|
<div class="flex-1 p-4 lg:p-12">
|
2018-12-21 21:58:12 +00:00
|
|
|
<div class="mb-6">
|
2018-12-22 01:17:47 +00:00
|
|
|
<div class="lg:flex lg:items-baseline mb-2">
|
|
|
|
<div class="mr-16 mb-4 lg:mb-0">
|
|
|
|
<h1 class="text-4xl font-hairline mb-2">Environments</h1>
|
2018-12-21 21:58:12 +00:00
|
|
|
|
2018-12-23 13:17:39 +00:00
|
|
|
<!-- <application-tags></application-tags> -->
|
2018-12-21 21:58:12 +00:00
|
|
|
</div>
|
|
|
|
|
2018-12-22 01:17:47 +00:00
|
|
|
<div class="lg:flex lg:flex-row-reverse flex-1 justify-between _bg-blue items-baseline">
|
|
|
|
<div class="w-full lg:w-1/2 xl:w-1/3">
|
|
|
|
<form action="#">
|
|
|
|
<input type="text" placeholder="Filter environments" class="w-full py-2 px-3 border border-grey-darker rounded">
|
|
|
|
</form>
|
|
|
|
</div>
|
2018-12-21 21:58:12 +00:00
|
|
|
|
2018-12-22 01:17:47 +00:00
|
|
|
<div class="flex-1">
|
|
|
|
<toggle-help @toggle="help.hidden = !help.hidden"></toggle-help>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-21 21:58:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-12-21 23:02:15 +00:00
|
|
|
<quick-help :hidden="help.hidden"></quick-help>
|
2018-12-23 13:17:39 +00:00
|
|
|
<environment-cards :environments="application.environments"></environment-cards>
|
2018-12-21 21:58:12 +00:00
|
|
|
<task-log></task-log>
|
|
|
|
</div>
|
|
|
|
|
2018-12-21 23:45:34 +00:00
|
|
|
<div class="w-auto lg:w-64 bg-grey-darkest text-white antialiased">
|
2018-12-21 21:58:12 +00:00
|
|
|
<div>
|
|
|
|
<ul class="list-reset">
|
2018-12-22 00:27:09 +00:00
|
|
|
<li class="border-r-6 border-b border-grey-darker">
|
2018-12-21 23:45:34 +00:00
|
|
|
<a href="#0" class="flex items-center text-white no-underline hover:underline focus:underline border-l-6 border-blue px-4 py-5 bg-grey-darker">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-white fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__grid"></use></svg>
|
2018-12-21 23:45:34 +00:00
|
|
|
<span class="hidden lg:block lg:ml-4">Environments</span>
|
2018-12-21 21:58:12 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2018-12-21 23:45:34 +00:00
|
|
|
<li class="border-r-6 border-grey-darkest hover:border-grey-darker">
|
2018-12-21 21:58:12 +00:00
|
|
|
<div class="flex items-center text-grey no-underline hover:underline focus:underline border-l-6 border-transparent px-4 py-5 cursor-not-allowed hover:bg-grey-darker">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-grey fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#locations__keys"></use></svg>
|
2018-12-21 23:45:34 +00:00
|
|
|
<span class="hidden lg:block lg:ml-4">Product Keys</span>
|
2018-12-21 21:58:12 +00:00
|
|
|
</div>
|
2018-12-23 13:17:39 +00:00
|
|
|
</li>
|
|
|
|
<li class="border-r-6 border-grey-darkest hover:border-grey-darker">
|
2018-12-21 21:58:12 +00:00
|
|
|
<div class="flex items-center text-grey no-underline hover:underline focus:underline border-l-6 border-transparent px-4 py-5 cursor-not-allowed hover:bg-grey-darker">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-grey fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__security"></use></svg>
|
2018-12-21 23:45:34 +00:00
|
|
|
<span class="hidden lg:block lg:ml-4">Security</span>
|
2018-12-21 21:58:12 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
2018-12-21 23:45:34 +00:00
|
|
|
<li class="border-r-6 border-grey-darkest hover:border-grey-darker">
|
2018-12-21 21:58:12 +00:00
|
|
|
<a href="#0" class="flex items-center text-white no-underline hover:underline focus:underline border-l-6 border-transparent px-4 py-5 hover:bg-grey-darker">
|
2018-12-23 13:17:39 +00:00
|
|
|
<svg class="h-6 w-6 text-white fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__search"></use></svg>
|
2018-12-21 23:45:34 +00:00
|
|
|
<span class="hidden lg:block lg:ml-4">Acquia Search</span>
|
2018-12-21 21:58:12 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2018-12-23 13:17:39 +00:00
|
|
|
import EnvironmentCards from '@/components/EnvironmentCards'
|
|
|
|
import QuickHelp from '@/components/QuickHelp'
|
|
|
|
import TaskLog from '@/components/TaskLog'
|
|
|
|
import ToggleHelp from '@/components/ToggleHelp'
|
|
|
|
import data from '@/data.json'
|
2018-12-21 21:58:12 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
EnvironmentCards,
|
|
|
|
QuickHelp,
|
|
|
|
TaskLog,
|
2018-12-21 23:02:15 +00:00
|
|
|
ToggleHelp,
|
2018-12-21 21:58:12 +00:00
|
|
|
},
|
|
|
|
|
2018-12-21 23:58:35 +00:00
|
|
|
props: {
|
2018-12-23 13:17:39 +00:00
|
|
|
id: String,
|
2018-12-21 23:58:35 +00:00
|
|
|
},
|
|
|
|
|
2018-12-21 21:58:12 +00:00
|
|
|
data() {
|
|
|
|
return {
|
2018-12-23 13:17:39 +00:00
|
|
|
applications: data.applications,
|
2018-12-21 23:02:15 +00:00
|
|
|
help: {
|
|
|
|
hidden: false,
|
|
|
|
}
|
2018-12-21 21:58:12 +00:00
|
|
|
}
|
2018-12-23 13:17:39 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
application: function() {
|
|
|
|
return this.applications[this.id]
|
|
|
|
}
|
2018-12-21 21:58:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|