hanayo/templates/about.html

24 lines
993 B
HTML
Raw Normal View History

2019-02-23 13:29:15 +00:00
{{/*###
Handler=/about
TitleBar=About
*/}}
{{ define "tpl" }}
<div class="ui container">
<div class="ui centered segments">
<div class="ui segment">
<img src="/static/logos/logo-pink.svg">
<h1 class="ui no bottom margin header">
2019-02-23 16:59:14 +00:00
{{ .T "Welcome to Yozora." }}
2019-02-23 13:29:15 +00:00
</h1>
2019-02-23 16:59:14 +00:00
<div class="about subtitle">{{ .T "Yozora is a private osu! server." }}<br>
2019-02-23 13:29:15 +00:00
{{ .T "There are many like it, but this one is ours." }}</div>
</div>
<div class="ui segment">
2019-02-23 16:59:14 +00:00
{{ $scoreCount := qb "SELECT COUNT(*) as Count FROM scores" }}
{{ $scoreCountRx := qb "SELECT COUNT(*) as Count FROM scores_relax" }}
{{ $scoreCountAp := qb "SELECT COUNT(*) as Count FROM scores_auto" }}
<p>With {{ .T "%s Vanilla Scores, %s Relax Scores, %s Autopilot Scores and %s Registered Players (With %s people online currently!) you'd be crazy not to play!" $scoreCount $scoreCountRx $scoreCountAp (rediget "ripple:online_users") (rediget "ripple:registered_users") | html}}</p>
2019-02-23 13:29:15 +00:00
</div>
</div>
</div>
{{ end }}