Moved buttons to manage teams and namespaces to the top (#11)

This commit is contained in:
konrad 2018-12-20 14:27:09 +00:00 committed by Gitea
parent a3d1f4ae04
commit edbf1b4fb1
3 changed files with 19 additions and 15 deletions

View file

@ -9,6 +9,18 @@
</div>
<div class="navbar-menu">
<div class="navbar-end">
<router-link :to="{name: 'listTeams'}" class="navbar-item">
<span class="icon is-small">
<icon icon="users"/>
</span>
Teams
</router-link>
<router-link :to="{name: 'newNamespace'}" class="navbar-item">
<span class="icon is-small">
<icon icon="layer-group"/>
</span>
New Namespace
</router-link>
<span class="navbar-item">{{user.infos.username}}</span>
<span class="navbar-item image">
<img :src="gravatar()" class="is-rounded" alt=""/>
@ -26,18 +38,6 @@
<div class="box shadow" v-if="user.authenticated">
<div class="columns">
<div class="column is-3">
<router-link :to="{name: 'listTeams'}" class="button is-primary is-fullwidth button-bottom">
<span class="icon is-small">
<icon icon="users"/>
</span>
Teams
</router-link>
<router-link :to="{name: 'newNamespace'}" class="button is-success is-fullwidth button-bottom">
<span class="icon is-small">
<icon icon="layer-group"/>
</span>
New Namespace
</router-link>
<aside class="menu namespaces-lists">
<p class="menu-label" v-if="loading">Loading...</p>
<template v-for="n in namespaces">