Finalize login page!
This commit is contained in:
parent
d63624f607
commit
6d970a4cc3
10 changed files with 40 additions and 16 deletions
|
@ -43,15 +43,16 @@ Vue.i18n.add('en', Locales.en);
|
|||
Vue.i18n.set('en');
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes: [
|
||||
{
|
||||
name: 'login',
|
||||
path: '/',
|
||||
path: '/auth/login',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
name: 'forgot-password',
|
||||
path: '/forgot-password',
|
||||
path: '/auth/password',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
|
@ -61,7 +62,7 @@ const router = new VueRouter({
|
|||
},
|
||||
{
|
||||
name: 'reset-password',
|
||||
path: '/reset-password/:token',
|
||||
path: '/auth/password/reset/:token',
|
||||
component: ResetPassword,
|
||||
props: function (route) {
|
||||
return {
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link to="/" class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
{{ $t('auth.go_to_login') }}
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
|
@ -50,7 +50,9 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link to="/" class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
{{ $t('auth.go_to_login') }}
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }">
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
Back to Login
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
|
@ -84,4 +84,7 @@ return [
|
|||
'sat' => 'Saturday',
|
||||
],
|
||||
'last_used' => 'Last Used',
|
||||
|
||||
// Copyright Line
|
||||
'copyright' => '© 2015 - :year Pterodactyl Software',
|
||||
];
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
@extends('templates/auth.core')
|
||||
|
||||
@section('title')
|
||||
Login
|
||||
@endsection
|
|
@ -1,6 +1,6 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>{{ config('app.name', 'Pterodactyl') }} - @yield('title')</title>
|
||||
<title>{{ config('app.name', 'Pterodactyl') }}</title>
|
||||
|
||||
@section('meta')
|
||||
<meta charset="utf-8">
|
||||
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
<router-view></router-view>
|
||||
<p class="text-center text-grey text-xs">
|
||||
© 2015 - {{ date('Y') }} Pterodactyl Software
|
||||
{{ trans('strings.copyright', ['year' => date('Y')]) }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue