aboutsummaryrefslogtreecommitdiff
path: root/resources/views/stats.blade.php
diff options
context:
space:
mode:
authorCamil Staps2016-09-05 22:30:47 +0200
committerCamil Staps2016-09-05 22:30:47 +0200
commitfc5cef0efddbb1141b0a371108a23fc7f6e8d860 (patch)
tree8b3e62b50e5f856c57af477a78a51567d6e859f2 /resources/views/stats.blade.php
parentUser creation and authentication (diff)
Vote on verb suggestions
Diffstat (limited to 'resources/views/stats.blade.php')
-rw-r--r--resources/views/stats.blade.php51
1 files changed, 10 insertions, 41 deletions
diff --git a/resources/views/stats.blade.php b/resources/views/stats.blade.php
index f68c9ac..04fabfe 100644
--- a/resources/views/stats.blade.php
+++ b/resources/views/stats.blade.php
@@ -1,42 +1,3 @@
-<!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 statistics</title>
- <link rel="stylesheet" href="{{ url("/vendor/twbs/bootstrap/dist/css/bootstrap.min.css") }}">
- <link rel="stylesheet" href="{{ url("/vendor/twbs/bootstrap/dist/css/bootstrap-theme.min.css") }}">
- <link rel="stylesheet" href="{{ url("/public/css/hebrewparsetrainer.css") }}">
-</head>
-<body role="application">
-<div class="container" role="main">
- <div class="page-header">
- <h1>ParseTrainer statistics</h1>
- </div>
-
- <div class="row">
- <div class="col-md-12">
- <div id="statistics" style="height:400px;"></div>
- </div>
- </div>
-</div>
-
<?php
use \HebrewParseTrainer\RandomLog;
@@ -53,6 +14,15 @@ foreach ($db_stats as $stat) {
$stats = "[" . implode(",", $stats) . "]";
?>
+@extends('layouts.master')
+
+@section('master-content')
+<div class="row">
+ <div class="col-md-12">
+ <div id="statistics" style="height:400px;"></div>
+ </div>
+</div>
+
<script src="{{ url("/vendor/components/jquery/jquery.min.js") }}"></script>
<script src="{{ url("/vendor/twbs/bootstrap/dist/js/bootstrap.min.js") }}"></script>
<script src="//code.highcharts.com/stock/highstock.js"></script>
@@ -105,5 +75,4 @@ $stats = "[" . implode(",", $stats) . "]";
]
});
</script>
-</body>
-</html>
+@endsection