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
-rw-r--r--resources/views/layouts/with_sidebar.blade.php16
2 files changed, 56 insertions, 0 deletions
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
new file mode 100644
index 0000000..43c1a24
--- /dev/null
+++ b/resources/views/layouts/master.blade.php
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<!--
+HebrewParseTrainer - practice Hebrew verbs
+Copyright (C) 2015 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
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+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/>.
+ -->
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>ParseTrainer</title>
+ <link rel="stylesheet" href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css">
+ <link rel="stylesheet" href="vendor/twbs/bootstrap/dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" href="public/css/hebrewparsetrainer.css">
+ </head>
+ <body role="application">
+ <div class="container" role="main">
+ <div class="page-header">
+ <h1>ParseTrainer</h1>
+ </div>
+
+ @yield('master-content')
+ </div>
+
+ <script src="vendor/components/jquery/jquery.min.js"></script>
+ <script src="vendor/twbs/bootstrap/dist/js/bootstrap.min.js"></script>
+ <script src="public/js/hebrewparsetrainer.js"></script>
+ </body>
+</html>
diff --git a/resources/views/layouts/with_sidebar.blade.php b/resources/views/layouts/with_sidebar.blade.php
new file mode 100644
index 0000000..b16954e
--- /dev/null
+++ b/resources/views/layouts/with_sidebar.blade.php
@@ -0,0 +1,16 @@
+@extends('layouts.master')
+
+@section('master-content')
+<div class="row">
+ <div class="col-md-2 col-xs-4">
+ @yield('sidebar')
+
+ <h3>About</h3>
+ <p>&copy; 2015-16 <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/HebrewTools/ParseTrainer">GitHub</a>.</p>
+ <p>Please report any mistakes to <a href="mailto:info@camilstaps.nl">info@camilstaps.nl</a>.</p>
+ </div>
+ <div class="col-md-10 col-xs-8">
+ @yield('content')
+ </div>
+</div>
+@endsection