Add navigation links on users pages; close #187
parent
26d9fd98ff
commit
a117f83256
|
@ -1,6 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<form @submit="save" class="dashboard">
|
<form @submit="save" class="dashboard">
|
||||||
|
<ul id="nav">
|
||||||
|
<li>
|
||||||
|
<router-link to="/users">
|
||||||
|
<i class="material-icons">keyboard_arrow_left</i> {{ $t('settings.userManagement') }}
|
||||||
|
</router-link>
|
||||||
|
</li>
|
||||||
|
<li></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h1 v-if="id === 0">{{ $t('settings.newUser') }}</h1>
|
<h1 v-if="id === 0">{{ $t('settings.newUser') }}</h1>
|
||||||
<h1 v-else>{{ $t('settings.user') }} {{ username }}</h1>
|
<h1 v-else>{{ $t('settings.user') }} {{ username }}</h1>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dashboard">
|
<div class="dashboard">
|
||||||
|
<ul id="nav">
|
||||||
|
<li>
|
||||||
|
<router-link to="/settings/global">
|
||||||
|
<i class="material-icons">keyboard_arrow_left</i> {{ $t('settings.globalSettings') }}
|
||||||
|
</router-link>
|
||||||
|
</li>
|
||||||
|
<li></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h1>{{ $t('settings.users') }} <router-link to="/users/new"><button>{{ $t('buttons.new') }}</button></router-link></h1>
|
<h1>{{ $t('settings.users') }} <router-link to="/users/new"><button>{{ $t('buttons.new') }}</button></router-link></h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|
582
rice-box.go
582
rice-box.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue