mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Display multiple charts per row, reduce overall chart size
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{% extends 'pageWrapper.html' %}
|
||||
|
||||
{% block head %}
|
||||
<title>Statistics</title>
|
||||
<title>Archipelago Game Statistics</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/markdown.css") }}" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename="styles/stats.css") }}" />
|
||||
{{ css_resources|indent(4)|safe }}
|
||||
{{ js_resources|indent(4)|safe }}
|
||||
{{ chart_data|indent(4)|safe }}
|
||||
@@ -11,11 +12,17 @@
|
||||
{% block body %}
|
||||
{% include 'header/grassFlowersHeader.html' %}
|
||||
<div id="stats" class="markdown">
|
||||
<h1>Stats</h1>
|
||||
{% for chart in charts %}
|
||||
{{ chart|indent(12)|safe }}
|
||||
<h1>Archipelago Game Statistics</h1>
|
||||
<h5>
|
||||
The data on this page is updated hourly.
|
||||
</h5>
|
||||
|
||||
<div id="charts-wrapper">
|
||||
{% for index in range(chart_count) %}
|
||||
<div class="chart-container">
|
||||
{{ charts[index]|indent(12)|safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user