Initial commit with basic structure
This commit is contained in:
5
templates/errors/404.html.twig
Normal file
5
templates/errors/404.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
Page not found.
|
||||
{% endblock %}
|
||||
5
templates/errors/4xx.html.twig
Normal file
5
templates/errors/4xx.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
An error occurred on the client.
|
||||
{% endblock %}
|
||||
5
templates/errors/500.html.twig
Normal file
5
templates/errors/500.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
Internal server error.
|
||||
{% endblock %}
|
||||
5
templates/errors/5xx.html.twig
Normal file
5
templates/errors/5xx.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
An error occurred on the server.
|
||||
{% endblock %}
|
||||
5
templates/errors/default.html.twig
Normal file
5
templates/errors/default.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
An error occurred.
|
||||
{% endblock %}
|
||||
55
templates/index.html.twig
Normal file
55
templates/index.html.twig
Normal file
@@ -0,0 +1,55 @@
|
||||
{% extends "layout.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
|
||||
<table>
|
||||
<col>
|
||||
<colgroup span="3"></colgroup>
|
||||
<colgroup span="3"></colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowpsan="2"></td>
|
||||
<th colspan="3" scope="colgroup">Eternal Battleground</th>
|
||||
<th colspan="3" scope="colgroup">Red Borderland</th>
|
||||
<th colspan="3" scope="colgroup">Blue Borderland</th>
|
||||
<th colspan="3" scope="colgroup">Green Borderland</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">Start (CEST)</th>
|
||||
<th scope="col" class="red">Red</th>
|
||||
<th scope="col" class="blue">Blue</th>
|
||||
<th scope="col" class="green">Green</th>
|
||||
<th scope="col" class="red">Red</th>
|
||||
<th scope="col" class="blue">Blue</th>
|
||||
<th scope="col" class="green">Green</th>
|
||||
<th scope="col" class="red">Red</th>
|
||||
<th scope="col" class="blue">Blue</th>
|
||||
<th scope="col" class="green">Green</th>
|
||||
<th scope="col" class="red">Red</th>
|
||||
<th scope="col" class="blue">Blue</th>
|
||||
<th scope="col" class="green">Green</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for diff in diffs %}
|
||||
<tr>
|
||||
<th scope="row">{{diff.start|date("l H:i")}}</th>
|
||||
<td class="red">{{displayRatio(diff.eb_r_k, diff.eb_r_d)|raw}}</td>
|
||||
<td class="blue">{{displayRatio(diff.eb_b_k, diff.eb_b_d)|raw}}</td>
|
||||
<td class="green">{{displayRatio(diff.eb_g_k, diff.eb_g_d)|raw}}</td>
|
||||
<td class="red">{{displayRatio(diff.rh_r_k, diff.rh_r_d)|raw}}</td>
|
||||
<td class="blue">{{displayRatio(diff.rh_b_k, diff.rh_b_d)|raw}}</td>
|
||||
<td class="green">{{displayRatio(diff.rh_g_k, diff.rh_g_d)|raw}}</td>
|
||||
<td class="red">{{displayRatio(diff.bh_r_k, diff.bh_r_d)|raw}}</td>
|
||||
<td class="blue">{{displayRatio(diff.bh_b_k, diff.bh_b_d)|raw}}</td>
|
||||
<td class="green">{{displayRatio(diff.bh_g_k, diff.bh_g_d)|raw}}</td>
|
||||
<td class="red">{{displayRatio(diff.gh_r_k, diff.gh_r_d)|raw}}</td>
|
||||
<td class="blue">{{displayRatio(diff.gh_b_k, diff.gh_b_d)|raw}}</td>
|
||||
<td class="green">{{displayRatio(diff.gh_g_k, diff.gh_g_d)|raw}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
{% endblock %}
|
||||
15
templates/layout.html.twig
Normal file
15
templates/layout.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title '' %}WvW skimrish stats</title>
|
||||
|
||||
<link href="{{ asset('css/main.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('css/hint.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user