wip
This commit is contained in:
parent
864529e950
commit
85b70fd33f
8 changed files with 0 additions and 0 deletions
71
src/components/Environment/QuickHelp.vue
Normal file
71
src/components/Environment/QuickHelp.vue
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
<template>
|
||||
<div class="bg-white border-t-10 border-purple mb-6" :class="[hidden ? 'hidden' : 'block lg:flex']">
|
||||
<div class="flex-none py-3 pl-3 pr-8 border-b lg:border-r border-grey-lighter">
|
||||
<div class="flex items-center">
|
||||
<svg class="h-6 w-6 mr-1 text-purple fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__info"></use></svg>
|
||||
Quick help
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-4">
|
||||
<div class="block lg:hidden leading-normal -mb-5">
|
||||
<div v-for="item in items" :key="item.subject">
|
||||
<p class="text-sm mb-3 font-bold">{{ item.subject }}</p>
|
||||
<p class="text-sm mb-5">{{ item.text }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden lg:block">
|
||||
<div class="w-full lg:w-auto lg:flex mb-6">
|
||||
<button
|
||||
v-for="(item, i) in items"
|
||||
:key="item.subject"
|
||||
type="button"
|
||||
class="hover:underline focus:underline mr-6 focus:outline-none"
|
||||
:class="[ i === selected ? 'text-grey-darkest' : 'text-blue-dark' ]"
|
||||
@click="selected = i"
|
||||
>{{ item.subject }}</button>
|
||||
</div>
|
||||
|
||||
<div class="leading-normal">
|
||||
<p class="text-sm text-grey-darker">
|
||||
{{ items[selected].text }}
|
||||
<a href="#0" class="text-blue-dark no-underline hover:underline focus:underline">Learn more</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
hidden: Boolean,
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
selected: 0,
|
||||
items: [
|
||||
{
|
||||
subject: 'Deploying code',
|
||||
text: 'Drag a code element from one environment to another environment, which creates a new tag for the HEAD of that branch and then deploys the tag.',
|
||||
},
|
||||
{
|
||||
subject: 'Copying files',
|
||||
text: 'Drag a file element from one environment to another environment, which writes new files, overwrites existing files, and ignores files already in place.',
|
||||
},
|
||||
{
|
||||
subject: 'Copying database',
|
||||
text: 'Drag a database element from one environment to another environment, which overwrites the target database(s). Dragging database elements with more than one database displays a dialog box that allows you to select the databases to deploy',
|
||||
},
|
||||
{
|
||||
subject: 'Task Log',
|
||||
text: 'The Task Log is displayed below your Acquia Cloud environments and contains information on all of the actions taken against your application, including code deployments, configuration updates and environment specific changes.',
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in a new issue