🎨 Minor UI update on collections
This commit is contained in:
@@ -23,8 +23,18 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer">
|
<div slot="footer">
|
||||||
<button @click="addNewFolder" v-if='!newFolder.hasOwnProperty("folderIndex")'>Add</button>
|
<ul>
|
||||||
<button @click="saveFolder" v-if='newFolder.hasOwnProperty("folderIndex")'>Save</button>
|
<li>
|
||||||
|
<button class="icon" @click="addNewFolder" v-if='!newFolder.hasOwnProperty("folderIndex")'>
|
||||||
|
<i class="material-icons">add</i>
|
||||||
|
<span>Create</span>
|
||||||
|
</button>
|
||||||
|
<button class="icon" @click="saveFolder" v-if='newFolder.hasOwnProperty("folderIndex")'>
|
||||||
|
<i class="material-icons">save</i>
|
||||||
|
<span>Save</span>
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</modal>
|
</modal>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -11,13 +11,9 @@
|
|||||||
|
|
||||||
<div class="flex-wrap">
|
<div class="flex-wrap">
|
||||||
<div>
|
<div>
|
||||||
<button class="icon" @click="toggleShowChildren" v-show='!showChildren'>
|
|
||||||
<i class="material-icons">arrow_right</i>
|
|
||||||
</button>
|
|
||||||
<button class="icon" @click="toggleShowChildren" v-show='showChildren'>
|
|
||||||
<i class="material-icons">arrow_drop_down</i>
|
|
||||||
</button>
|
|
||||||
<button class="icon" @click="toggleShowChildren">
|
<button class="icon" @click="toggleShowChildren">
|
||||||
|
<i class="material-icons" v-show='!showChildren'>arrow_right</i>
|
||||||
|
<i class="material-icons" v-show='showChildren'>arrow_drop_down</i>
|
||||||
<i class="material-icons">folder</i>
|
<i class="material-icons">folder</i>
|
||||||
<span>{{collection.name}}</span>
|
<span>{{collection.name}}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div slot="body">
|
<div slot="body">
|
||||||
<textarea v-model='collectionJson'>
|
<textarea v-model='collectionJson' rows="8">
|
||||||
</textarea>
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer">
|
<div slot="footer">
|
||||||
|
|||||||
@@ -2,13 +2,9 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="flex-wrap">
|
<div class="flex-wrap">
|
||||||
<div>
|
<div>
|
||||||
<button class="icon" @click="toggleShowChildren" v-show='!showChildren'>
|
|
||||||
<i class="material-icons">arrow_right</i>
|
|
||||||
</button>
|
|
||||||
<button class="icon" @click="toggleShowChildren" v-show='showChildren'>
|
|
||||||
<i class="material-icons">arrow_drop_down</i>
|
|
||||||
</button>
|
|
||||||
<button class="icon" @click="toggleShowChildren">
|
<button class="icon" @click="toggleShowChildren">
|
||||||
|
<i class="material-icons" v-show='!showChildren'>arrow_right</i>
|
||||||
|
<i class="material-icons" v-show='showChildren'>arrow_drop_down</i>
|
||||||
<i class="material-icons">folder_open</i>
|
<i class="material-icons">folder_open</i>
|
||||||
<span>{{folder.name}}</span>
|
<span>{{folder.name}}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -40,8 +40,18 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer">
|
<div slot="footer">
|
||||||
<button @click="addRequest" v-if='!request.hasOwnProperty("requestIndex")'>Add</button>
|
<ul>
|
||||||
<button @click="saveRequest" v-if='request.hasOwnProperty("requestIndex")'>Save</button>
|
<li>
|
||||||
|
<button class="icon" @click="addRequest" v-if='!request.hasOwnProperty("requestIndex")'>
|
||||||
|
<i class="material-icons">add</i>
|
||||||
|
<span>Create</span>
|
||||||
|
</button>
|
||||||
|
<button class="icon" @click="saveRequest" v-if='request.hasOwnProperty("requestIndex")'>
|
||||||
|
<i class="material-icons">save</i>
|
||||||
|
<span>Save</span>
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</modal>
|
</modal>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user