aboutsummaryrefslogtreecommitdiff
path: root/resources/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/layouts')
-rw-r--r--resources/views/layouts/master.blade.php40
1 files changed, 4 insertions, 36 deletions
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
index 6a472e3..faf8aa2 100644
--- a/resources/views/layouts/master.blade.php
+++ b/resources/views/layouts/master.blade.php
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<!--
-HebrewParseTrainer - practice Hebrew verbs
-Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+Luo Parse Trainer - practice Ancient Greek verb forms
+Copyright (C) 2015-present Camil Staps <info@camilstaps.nl>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -16,20 +16,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-<?php
-use Illuminate\Support\Facades\Auth;
-use Illuminate\Support\Facades\Request;
-
-$activePage = isset($activePage) ? $activePage : '';
-$menu = [
- 'Train' => ['/', ''],
-];
-
-if (Auth::check()) {
- $menu['Contribute'] = ['contribute', 'contribute'];
- $menu['Statistics'] = ['stats', 'stats'];
-}
-?>
<html lang="en">
<head>
<meta charset="utf-8"/>
@@ -38,7 +24,7 @@ if (Auth::check()) {
<title>ParseTrainer</title>
<link rel="stylesheet" href="{{ asset('vendor/twbs/bootstrap/dist/css/bootstrap.min.css') }}"/>
- <link rel="stylesheet" href="{{ asset('public/css/hebrewparsetrainer.css') }}"/>
+ <link rel="stylesheet" href="{{ asset('public/css/luoparsetrainer.css') }}"/>
<script type="text/javascript">
var app_url = '{{ env('APP_URL') }}';
@@ -48,16 +34,6 @@ if (Auth::check()) {
<body role="application">
<div class="container" role="main">
<div class="header clearfix">
- <nav>
- <ul class="nav nav-pills pull-right">
- @foreach($menu as $name => $link)
- <li role="presentation" class="{{ Request::is($link[0]) ? 'active' : '' }}"><a href="{{ url($link[1]) }}">{{ $name }}</a></li>
- @endforeach
- @if(Auth::check())
- <li role="presentation"><a href="{{ url('/logout') }}" onclick="event.preventDefault();document.getElementById('logout-form').submit();">Logout</a></li>
- @endif
- </ul>
- </nav>
<h2 class="text-muted"><a href="{{ url('/') }}">ParseTrainer</a></h2>
</div>
@@ -66,14 +42,6 @@ if (Auth::check()) {
<script src="{{ asset('vendor/components/jquery/jquery.min.js') }}"></script>
<script src="{{ asset('vendor/twbs/bootstrap/dist/js/bootstrap.min.js') }}"></script>
- <script src="{{ asset('public/js/alerts.js') }}"></script>
- <script src="{{ asset('public/js/hebrewparsetrainer.js') }}"></script>
- @if(Auth::check())
- <script src="{{ asset('public/js/moderators.js') }}"></script>
-
- <form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display:none;">
- {{ csrf_field() }}
- </form>
- @endif
+ <script src="{{ asset('public/js/luoparsetrainer.js') }}"></script>
</body>
</html>