Add navigation links on users pages; close #187

pull/189/head
Henrique Dias 2017-08-05 10:06:12 +01:00
parent 26d9fd98ff
commit a117f83256
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
3 changed files with 309 additions and 291 deletions

View File

@ -1,6 +1,15 @@
<template>
<div>
<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-else>{{ $t('settings.user') }} {{ username }}</h1>

View File

@ -1,5 +1,14 @@
<template>
<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>
<table>

File diff suppressed because one or more lines are too long