feat: minor ui tweaks

This commit is contained in:
liyasthomas
2021-06-14 09:55:27 +05:30
parent ced2f1b911
commit 111a947413
28 changed files with 48 additions and 95 deletions

View File

@@ -232,6 +232,7 @@ export default {
this.hideModal()
},
hideModal() {
this.picked = null
this.$emit("hide-modal")
},
},

View File

@@ -36,7 +36,7 @@
>
<i class="material-icons">topic</i>
</button>
<v-popover v-if="!savingMode">
<v-popover>
<button v-tooltip.left="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -28,7 +28,7 @@
<span>{{ folder.name }}</span>
</button>
</div>
<v-popover v-if="!savingMode">
<v-popover>
<button v-tooltip.left="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -25,7 +25,7 @@
<span>{{ request.name }}</span>
</button>
</div>
<v-popover v-if="!savingMode">
<v-popover>
<button v-tooltip="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -1,12 +1,8 @@
<template>
<AppSection
ref="collections"
class="yellow"
:label="$t('collections')"
no-legend
>
<AppSection ref="collections" :label="$t('collections')">
<div class="show-on-large-screen">
<input
v-if="showCollActions"
v-model="filterText"
aria-label="Search"
type="search"
@@ -50,11 +46,7 @@
@hide-modal="displayModalImportExport(false)"
/>
<div class="border-b row-wrapper border-divider">
<button
v-if="showCollActions"
class="icon"
@click="displayModalAdd(true)"
>
<button class="icon" @click="displayModalAdd(true)">
<i class="material-icons">add</i>
<span>{{ $t("new") }}</span>
</button>

View File

@@ -1,5 +1,5 @@
<template>
<AppSection ref="collections" :label="$t('collections')" no-legend>
<AppSection ref="collections" :label="$t('collections')">
<div class="show-on-large-screen">
<input
v-if="!saveRequest"
@@ -57,8 +57,7 @@
v-if="
collectionsType.type == 'team-collections' &&
(collectionsType.selectedTeam == undefined ||
collectionsType.selectedTeam.myRole == 'VIEWER') &&
!saveRequest
collectionsType.selectedTeam.myRole == 'VIEWER')
"
class="icon"
disabled
@@ -69,11 +68,7 @@
<span>{{ $t("new") }}</span>
</div>
</button>
<button
v-else-if="!saveRequest"
class="icon"
@click="displayModalAdd(true)"
>
<button v-else class="icon" @click="displayModalAdd(true)">
<i class="material-icons">add</i>
<span>{{ $t("new") }}</span>
</button>

View File

@@ -44,7 +44,7 @@
>
<i class="material-icons">check_box</i>
</button>
<v-popover v-if="!saveRequest">
<v-popover>
<button v-tooltip.left="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -27,7 +27,7 @@
<span>{{ folder.name ? folder.name : folder.title }}</span>
</button>
</div>
<v-popover v-if="!saveRequest">
<v-popover>
<button v-tooltip.left="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -27,7 +27,7 @@
<span>{{ request.name }}</span>
</button>
</div>
<v-popover v-if="!saveRequest">
<v-popover>
<button v-tooltip="$t('more')" class="tooltip-target icon">
<i class="material-icons">more_vert</i>
</button>

View File

@@ -33,7 +33,7 @@
>
<i class="material-icons">check_box</i>
</button>
<v-popover v-if="!saveRequest">
<v-popover>
<button
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
v-tooltip.left="$t('more')"

View File

@@ -18,7 +18,7 @@
<span>{{ folder.name ? folder.name : folder.title }}</span>
</button>
</div>
<v-popover v-if="!saveRequest">
<v-popover>
<button
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
v-tooltip.left="$t('more')"

View File

@@ -17,7 +17,7 @@
<span>{{ request.name }}</span>
</button>
</div>
<v-popover v-if="!saveRequest">
<v-popover>
<button
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
v-tooltip="$t('more')"