💄 UI stylings

This commit is contained in:
Liyas Thomas
2019-10-22 17:32:26 +05:30
parent 705fd9971f
commit 4b3cee7f43
9 changed files with 55 additions and 31 deletions

View File

@@ -24,8 +24,18 @@
</ul>
</div>
<div slot="footer">
<button @click="addNewCollection" v-if='!newCollection.hasOwnProperty("collectionIndex")'>Add</button>
<button @click="saveCollection" v-if='newCollection.hasOwnProperty("collectionIndex")'>Save</button>
<ul>
<li>
<button class="icon" @click="addNewCollection" v-if='!newCollection.hasOwnProperty("collectionIndex")'>
<i class="material-icons">add</i>
<span>Create</span>
</button>
<button class="icon" @click="saveCollection" v-if='newCollection.hasOwnProperty("collectionIndex")'>
<i class="material-icons">save</i>
<span>Save</span>
</button>
</li>
</ul>
</div>
</modal>
</div>
@@ -81,4 +91,4 @@ export default {
},
},
};
</script>
</script>