Added method to edit namespace

This commit is contained in:
kolaente 2018-09-11 19:46:14 +02:00
parent 475dd8f26e
commit 94b14167b1
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
3 changed files with 123 additions and 0 deletions

View file

@ -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>