jimmy/events (#6)
Co-authored-by: Jimmy Vargo <james@ayo.tokyo> Reviewed-on: ayo/website#6
This commit is contained in:
parent
83a0903155
commit
e3ddda951f
76 changed files with 564 additions and 1 deletions
65
events/templates/stats.html
Normal file
65
events/templates/stats.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='app.css') }}">
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.svg') }}">
|
||||
<title>AYO Events</title>
|
||||
<script src="{{ url_for('static', filename='app.js') }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<img class="header" src="{{ url_for('static', filename='event_header.jpeg') }}" />
|
||||
|
||||
<h1>AYO Events</h1>
|
||||
|
||||
<p>Thank you for your feedback submission!</p>
|
||||
<p>アンケートのご協力いただき、ありがとうございました!</p>
|
||||
|
||||
<br>
|
||||
<p class="instructions">Here are some insights into what others have said.</p>
|
||||
<p class="instructions">以下は他の方からいただいた回答についての情報があります。</p>
|
||||
<br>
|
||||
|
||||
<div class="stats-table">
|
||||
<span class="stats-header">Times 都合の時間</span>
|
||||
{% for id, label in times.items() %}
|
||||
<div class="stat-item">
|
||||
<div class="stat-chart">
|
||||
<div class="pie-chart" style="background: conic-gradient(var(--color) 0%, var(--color) {{ data[id]['percent'] }}%, var(--bg) {{ data[id]['percent'] }}%, var(--bg) 100%);"></div>
|
||||
<span class="stat-percent">{{ data[id]['percent'] }}%</span>
|
||||
</div>
|
||||
<div><p class="stat-label">{{ label }}</p></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<span class="stats-header">Topics of Interest 興味あるテーマ</span>
|
||||
{% for id, label in topics.items() %}
|
||||
<div class="stat-item">
|
||||
<div class="stat-chart">
|
||||
<div class="pie-chart" style="background: conic-gradient(var(--color) 0%, var(--color) {{ data[id]['percent'] }}%, var(--bg) {{ data[id]['percent'] }}%, var(--bg) 100%);"></div>
|
||||
<span class="stat-percent">{{ data[id]['percent'] }}%</span>
|
||||
</div>
|
||||
<div><p class="stat-label">{{ label }}</p></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<span class="stats-header">Other Topics of Interest その他の興味あるテーマ</span>
|
||||
<div class="stat-other-topics">
|
||||
{% for item in data['topic-other'] %}
|
||||
<p>{{ item }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<span class="stats-header">Languages 言語</span>
|
||||
{% for id, label in languages.items() %}
|
||||
<div class="stat-item">
|
||||
<div class="stat-chart">
|
||||
<div class="pie-chart" style="background: conic-gradient(var(--color) 0%, var(--color) {{ data[id]['percent'] }}%, var(--bg) {{ data[id]['percent'] }}%, var(--bg) 100%);"></div>
|
||||
<span class="stat-percent">{{ data[id]['percent'] }}%</span>
|
||||
</div>
|
||||
<div><p class="stat-label">{{ label }}</p></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue