Added method to edit namespace
This commit is contained in:
parent
475dd8f26e
commit
94b14167b1
3 changed files with 123 additions and 0 deletions
|
|
@ -35,6 +35,9 @@
|
|||
<p class="menu-label" v-if="loading">Loading...</p>
|
||||
<template v-for="n in namespaces">
|
||||
<p class="menu-label" :key="n.id">
|
||||
<router-link :to="{name: 'editNamespace', params: {id: n.id} }" class="icon nsettings">
|
||||
<icon icon="cog"/>
|
||||
</router-link>
|
||||
{{n.name}}
|
||||
</p>
|
||||
<router-link :to="{ name: 'newList', params: { id: n.id} }" class="button is-success is-fullwidth button-bottom" :key="n.id + 'newList'">
|
||||
|
|
@ -169,4 +172,10 @@
|
|||
.button-bottom {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Namespace settings */
|
||||
.nsettings{
|
||||
vertical-align: middle;
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Reference in a new issue