2018-12-21 21:58:12 +00:00
< template >
< div class = "mb-6" >
< div class = "flex flex-wrap -mx-4 -mb-6" >
2018-12-22 01:18:06 +00:00
< div v-for ="(environment, key) in environments" class="w-full md:w-1/2 xl:w-1/3 px-4 mb-6" :key ="key" >
2018-12-21 21:58:12 +00:00
< div class = "border border-grey rounded overflow-hidden" >
< div class = "bg-white" >
2018-12-22 01:20:15 +00:00
< div class = "border-t-4 border-teal p-3" >
2018-12-22 00:36:38 +00:00
< a href = "#0" class = "no-underline hover:underline focus:underline text-grey-darkest hover:text-blue-dark focus:text-blue-dark focus:outline-none" >
< h2 class = "mb-1" > { { environment . name } } < / h2 >
< / a >
< div class = "text-grey-darker mb-2" >
< a href = "#0" class = "no-underline hover:underline focus:underline text-grey-darkest hover:text-blue-dark focus:text-blue-dark focus:outline-none" > { { environment . url } } < / a >
< / div >
2018-12-21 21:58:12 +00:00
< div class = "text-grey-darker" > { { environment . label } } < / div >
< / div >
< / div >
2018-12-22 01:18:06 +00:00
2018-12-21 21:58:12 +00:00
< div >
< button type = "button" class = "flex items-center justify-between text-white pl-1 bg-blue-light hover:bg-blue-dark focus:bg-blue-dark focus:outline-none focus:underline text-sm w-full text-left" >
2018-12-23 13:17:39 +00:00
< svg class = "h-6 w-5 text-white mr-2 fill-current" role = "presentation" > < use xlink :href = "/img/icons.symbol.svg#objects__grip-handle" > < / use > < / svg >
2018-12-21 21:58:12 +00:00
< span class = "flex-1" > Code < / span >
< span class = "border-l border-grey p-2" >
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__switch" > < / use > < / svg >
2018-12-21 21:58:12 +00:00
< / span >
< / button >
< button type = "button" class = "flex items-center justify-between text-white pl-1 bg-blue-light hover:bg-blue-dark focus:bg-blue-dark focus:outline-none focus:underline text-sm w-full text-left border-t border-grey" >
2018-12-23 13:17:39 +00:00
< svg class = "h-6 w-5 text-white mr-2 fill-current" role = "presentation" > < use xlink :href = "/img/icons.symbol.svg#objects__grip-handle" > < / use > < / svg >
2018-12-21 21:58:12 +00:00
< span class = "flex-1" > Databases < / span >
< span class = "border-l border-grey p-2" >
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__backup" > < / use > < / svg >
2018-12-21 21:58:12 +00:00
< / span >
< / button >
< button type = "button" class = "flex items-center text-white bg-blue-light hover:bg-blue-dark focus:bg-blue-dark focus:outline-none focus:underline px-1 py-3 text-sm w-full text-left border-t border-grey" >
2018-12-23 13:17:39 +00:00
< svg class = "h-6 w-5 text-white mr-2 fill-current" role = "presentation" > < use xlink :href = "/img/icons.symbol.svg#objects__grip-handle" > < / use > < / svg >
2018-12-21 21:58:12 +00:00
Files
< / button >
< / div >
< / div >
< / div >
< / div >
< / div >
< / template >
< script >
export default {
2018-12-21 23:58:35 +00:00
props : {
2018-12-23 13:17:39 +00:00
environments : Object ,
2018-12-21 23:58:35 +00:00
} ,
2018-12-21 21:58:12 +00:00
}
< / script >