3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Config schema and docs text changes. Fix clickable tab area in dashboard/docs.

This commit is contained in:
Dragory 2019-10-11 02:09:31 +03:00
parent f41d280fab
commit 0bbe9433c1
5 changed files with 35 additions and 8 deletions

View file

@ -1,9 +1,36 @@
<template>
<li class="py-2 px-4 hover:text-gray-200" :class="{'pb-1 border-b border-gray-400 text-gray-200': active, 'text-gray-500': !active}">
<li style="padding-bottom: 1px" :class="{active: active}">
<slot></slot>
</li>
</template>
<style scoped>
li {
padding-bottom: 1px;
&.active {
padding-bottom: 0;
@apply border-b;
@apply border-gray-400;
}
}
a {
@apply block;
@apply py-2;
@apply px-4;
@apply text-gray-500;
&:hover {
@apply text-gray-200;
}
}
.active a {
@apply text-gray-200;
}
</style>
<script lang="ts">
export default {
props: ["active"],

View file

@ -98,9 +98,7 @@
<div class="configuration" v-if="tab === 'configuration'">
<!-- Basic config info -->
<p>
Name in config: <code>{{ data.name }}</code>
</p>
<p>
<strong>Name in config:</strong> <code>{{ data.name }}</code><br>
To enable this plugin with default configuration, add <code>{{ data.name }}: {}</code> to the <code>plugins</code> list in config
</p>