-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 add option to disallow registrations
- Loading branch information
1 parent
ea0d044
commit f0c82b7
Showing
5 changed files
with
46 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,6 @@ IMPRINT_FAX= | |
IMPRINT_EMAIL= | ||
|
||
MATOMO_URL= | ||
MATOMO_ID= | ||
MATOMO_ID= | ||
|
||
REGISTRATION_ENABLED=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,4 +116,6 @@ | |
|
||
'password_timeout' => 10800, | ||
|
||
'registration_enabled' => env('REGISTRATION_ENABLED', true), | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,49 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> | ||
|
||
<title>KStats - {{__('general.menu.stats')}}</title> | ||
<title>KStats - {{__('general.menu.stats')}}</title> | ||
|
||
<link href="/css/app.css" rel="stylesheet"> | ||
<link href="/css/cover.css" rel="stylesheet"> | ||
<link href="/css/app.css" rel="stylesheet"> | ||
<link href="/css/cover.css" rel="stylesheet"> | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.svg"> | ||
</head> | ||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.svg"> | ||
</head> | ||
|
||
<body class="text-center"> | ||
<body class="text-center"> | ||
|
||
<div class="cover-container d-flex h-100 p-3 mx-auto flex-column"> | ||
<header class="masthead mb-auto"> | ||
<div class="inner"> | ||
<h3 class="masthead-brand">KStats</h3> | ||
<nav class="nav nav-masthead justify-content-center"> | ||
<a class="nav-link active" href="{{ route('welcome') }}">{{__('general.menu.home')}}</a> | ||
@guest | ||
<a class="nav-link" href="{{ route('login') }}">{{__('auth.login')}}</a> | ||
<a class="nav-link" href="{{ route('register') }}">{{__('auth.register')}}</a> | ||
@else | ||
<a class="nav-link" href="{{ route('home') }}">{{__('general.menu.dashboard')}}</a> | ||
@endif | ||
</nav> | ||
</div> | ||
</header> | ||
<div class="cover-container d-flex h-100 p-3 mx-auto flex-column"> | ||
<header class="masthead mb-auto"> | ||
<div class="inner"> | ||
<h3 class="masthead-brand">KStats</h3> | ||
<nav class="nav nav-masthead justify-content-center"> | ||
<a class="nav-link active" href="{{ route('welcome') }}">{{__('general.menu.home')}}</a> | ||
@guest | ||
<a class="nav-link" href="{{ route('login') }}">{{__('auth.login')}}</a> | ||
@if (Route::has('register')) | ||
<a class="nav-link" href="{{ route('register') }}">{{__('auth.register')}}</a> | ||
@endif | ||
@else | ||
<a class="nav-link" href="{{ route('home') }}">{{__('general.menu.dashboard')}}</a> | ||
@endif | ||
</nav> | ||
</div> | ||
</header> | ||
|
||
@yield('content') | ||
@yield('content') | ||
|
||
<footer class="mastfoot mt-auto"> | ||
<div class="inner"> | ||
<p> | ||
<a href="https://github.com/MrKrisKrisu/KStats" | ||
target="github">{{ __('general.show_sourcecode') }}</a> - | ||
<a href="/imprint/">{{__('general.menu.imprint')}}</a> - | ||
<a href="/privacy">{{ __('general.menu.privacy_policy') }}</a> | ||
</p> | ||
</div> | ||
</footer> | ||
<footer class="mastfoot mt-auto"> | ||
<div class="inner"> | ||
<p> | ||
<a href="https://github.com/MrKrisKrisu/KStats" | ||
target="github">{{ __('general.show_sourcecode') }}</a> - | ||
<a href="/imprint/">{{__('general.menu.imprint')}}</a> - | ||
<a href="/privacy">{{ __('general.menu.privacy_policy') }}</a> | ||
</p> | ||
</div> | ||
</body> | ||
</footer> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters