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