chore(refactor): better inputs

This commit is contained in:
Liyas Thomas
2020-12-12 08:33:29 +05:30
parent 27980cf7c7
commit a56e2bb577
11 changed files with 58 additions and 22 deletions

View File

@@ -16,7 +16,12 @@
</div>
</li>
</ul>
<ul v-for="(header, index) in headers" :key="`${header.value}_${index}`">
<ul
v-for="(header, index) in headers"
:key="`${header.value}_${index}`"
class="border-b border-dashed divide-x border-brdColor divide-dashed divide-brdColor"
:class="{ 'border-t': index == 0 }"
>
<li>
<autocomplete
:placeholder="$t('header_count', { count: index + 1 })"

View File

@@ -16,7 +16,12 @@
</div>
</li>
</ul>
<ul v-for="(param, index) in params" :key="index">
<ul
v-for="(param, index) in params"
:key="index"
class="border-b border-dashed divide-x border-brdColor divide-dashed divide-brdColor"
:class="{ 'border-t': index == 0 }"
>
<li>
<input
:placeholder="$t('parameter_count', { count: index + 1 })"

View File

@@ -26,7 +26,7 @@
<ul id="token-list" v-for="(token, index) in tokens" :key="index">
<li>
<input
:placeholder="'name ' + (index + 1)"
:placeholder="`name ${index + 1}`"
:value="token.name"
@change="
$store.commit('setOAuthTokenName', {