This commit is contained in:
Alicia 2019-02-23 16:59:14 +00:00
parent f23f00231c
commit 89c65d1d98
5 changed files with 15 additions and 84 deletions

View File

@ -7,9 +7,9 @@
<div class="ui segment">
{{ .T "Hey, %s." .Context.User.Username }}
{{ if eq $e 1 }}
{{ .T "Before proceding any further on Ripple, we require you to use the message you just received on telegram to log in to your account." }}
{{ .T "Before proceding any further on Yozora, we require you to use the message you just received on telegram to log in to your account." }}
{{ else }}
{{ .T "Before proceding further on Ripple, we require you to use your Google Authenticator App to use the code for Ripple, so that we can log you in." }}
{{ .T "Before proceding further on Yozora, we require you to use your Google Authenticator App to use the code for Yozora, so that we can log you in." }}
{{ end }}
</div>
<div class="ui segment">

View File

@ -3,7 +3,7 @@
<div class="tiny container">
<div class="ui segments">
<div class="ui segment">
{{ .T "Can't find a way to get back access to your Ripple account? Fear not! If you have your recovery codes which we recommended you to print you can type one in here and we'll magically log you in this time. After you've managed to get in, please disable and then re-enable 2FA, so you won't risk losing your account again." }}
{{ .T "Can't find a way to get back access to your Yozora account? Fear not! If you have your recovery codes which we recommended you to print you can type one in here and we'll magically log you in this time. After you've managed to get in, please disable and then re-enable 2FA, so you won't risk losing your account again." }}
</div>
<div class="ui segment">
<form method="POST" class="ui form">

View File

@ -1,7 +1,7 @@
{{ define "tpl" }}
<div class="ui container">
<div class="ui segment">
{{ .T "Ooops! Looks like something went really wrong while trying to process your request. Perhaps report this to a Ripple developer? Retrying doing what you were trying to do might work, too." }}
{{ .T "Ooops! Looks like something went really wrong while trying to process your request. Perhaps report this to a Yozora developer? Retrying doing what you were trying to do might work, too." }}
</div>
</div>
{{ end }}

View File

@ -8,78 +8,16 @@ TitleBar=About
<div class="ui segment">
<img src="/static/logos/logo-pink.svg">
<h1 class="ui no bottom margin header">
{{ .T "Welcome to Ripple." }}
{{ .T "Welcome to Yozora." }}
</h1>
<div class="about subtitle">{{ .T "Ripple is a private osu! server." }}<br>
<div class="about subtitle">{{ .T "Yozora is a private osu! server." }}<br>
{{ .T "There are many like it, but this one is ours." }}</div>
</div>
<div class="ui segment">
<img src="/static/about/intro.jpg">
<div class="about title twemoji">{{ .T "Don't you like %s?" "🍆" }}</div>
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "We have leaderboards." }}
</h1>
<img src="/static/about/leaderboards.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "Online user listing." }}
</h1>
<img src="/static/about/onlineusers.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "Free osu!direct." }}
</h1>
<img src="/static/about/osudirect.jpg">
</div>
<div class="ui segment">
<h1 class="ui no bottom margin header">
{{ .T "Global leaderboards." }}
</h1>
<p class="about subtitle">{{ .T "and PP for all game modes" }}</p>
<img src="/static/about/global_leaderboards.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "Ranking queue for unranked beatmaps." }}
</h1>
<img src="/static/about/request_beatmaps.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "Spectator." }}
</h1>
<img src="/static/about/spectator.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "Multiplayer." }}
</h1>
<img src="/static/about/multi.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "FokaBot, our chat bot" }}
</h1>
<p class="about subtitle">{{ .T "with plenty of functions for just about anything, <a href=\"/doc/4\">check it out!</a>" | html }}</p>
<img src="/static/about/foka.jpg">
</div>
<div class="ui segment">
<h1 class="ui header">
{{ .T "And a lot more to come!" }}
</h1>
<p class="about title">
{{ .T "Ripple is the result of the hard work of two Italian developers, who got tired about the whole osu! ecosystem, and also because they wanted to play with a few banned friends." }}
</p>
<p class="about title twemoji">
{{ .T "It has now evolved into the largest available osu! private server, with more than 50,000 registered users. <a href=\"/register\">Signing up</a> on Ripple won't result in getting your account on osu! restricted, so what are you waiting for?! Come join us! %s" "😉" | html }}
</p>
<p class="about subtitle">
{{ .T "In case you want to make sure we're not doing shady stuff with your data, you can also check the <a href=\"https://zxq.co/ripple/ripple\">source code</a> Ripple is running on." | html }}
</p>
{{ $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>
</div>
</div>
</div>

View File

@ -8,7 +8,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if .TitleBar }}{{ .T .TitleBar }} - {{ end }}Ripple</title>
<title>{{ if .TitleBar }}{{ .T .TitleBar }} - {{ end }}Yozora</title>
<link rel="stylesheet" type="text/css" href="/static/{{ if $ds }}dark/{{ end }}semantic.min.css?{{ unixNano }}">
<link rel="stylesheet" type="text/css" href="/static/ripple.css?{{ unixNano }}">
@ -53,7 +53,7 @@
<noscript>Research has proven this website works 10000% better if you have JavaScript enabled.</noscript>
{{ if and .Context.User.Username (not (has .Context.User.Privileges 1)) }}
<div class="ui warning message">
{{ $.T "Your account is currently in restricted mode. You will not be able to do certain actions, and your profile can only be seen by you and by Ripple's staff. If you believe we have mistaken putting you in restricted mode, or a month has passed since you first saw this, then you can send an appeal at <a href='https://support.ripple.moe'>support.ripple.moe</a>." | html }}
{{ $.T "Your account is currently in restricted mode. You will not be able to do certain actions, and your profile can only be seen by you and by Yozora's staff. If you believe we have mistaken putting you in restricted mode, or a month has passed since you first saw this, then you can send an appeal to <a href='mailto:support@yozora.pw'>support@yozora.pw</a>." | html }}
</div>
{{ end }}
{{ if .Messages }}
@ -72,12 +72,12 @@
{{ end }}
{{ with $settings.game_maintenance.Int }}
<div class="ui warning message">
{{ $.T "Ripple's score submission is currently in maintenance mode. You will not be allowed to submit scores for the time being." }}
{{ $.T "Yozora's score submission is currently in maintenance mode. You will not be allowed to submit scores for the time being." }}
</div>
{{ end }}
{{ with $settings.website_maintenance.Int }}
<div class="ui warning message">
{{ $.T "The Ripple website is currently in maintenance mode. Only certain users are allowed to access the full website." }}
{{ $.T "The Yozora website is currently in maintenance mode. Only certain users are allowed to access the full website." }}
</div>
{{ end }}
</div>
@ -87,15 +87,8 @@
</div>
<div class="footer">
{{ .T "&copy; 2015-%d Ripple, using Hanayo %s." (curryear) (version) | html }}
{{ .T "Yozora, using Hanayo %s." (curryear) (version) | html }}
<a href="/team" title="{{ .T "Who is working on this thing?" }}"><i class="users icon"></i>{{ .T "Team" }}</a> |
<a href="https://docs.ripple.moe" title="59 6f 75 27 72 65 20 73 6f 20 31 33 33 37 2e"><i class="wrench icon"></i>{{ .T "Developer docs" }}</a> |
<a href="/changelog" title="{{ .T "See what changed!" }}"><i class="bug icon"></i>{{ .T "Changelog" }}</a> |
<a href="https://blog.ripple.moe"><i class="anchor icon"></i>{{ .T "Blog" }}</a> |
<a href="http://status.ripple.moe"><i class="signal icon"></i>{{ .T "Status" }}</a> |
<a href="https://zxq.co/ripple" title="{{ .T "What's going on under the hood?"}}{{/*'"*/}}"><i class="git square icon"></i></a>
<a href="https://twitter.com/_ripple" title="{{ .T "Follow us on Twitter!" }}"><i class="twitter icon"></i></a>
<a href="https://reddit.com/r/osuripple" title="{{ .T "Share irrelevant opinions on reddit!" }}"><i class="reddit square icon"></i></a> |
<div class="ui scrolling dropdown" style="margin-left: 5px;" id="language-selector">
{{ $lang := .Context.Language }}
{{ with $lang }}