-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
84 lines (76 loc) · 2.58 KB
/
home.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{% extends 'base.html' %}
{% block title %} Home {% endblock %}
{% block header %}
<link rel="stylesheet" href="/static/css/pages/home.css">
{% endblock %}
{% block content %}
{% if flash %}
<div class='noti-banner noti-banner-warning'>
<div class="container">
<div class="noti-column">
<div class='noti-col noti-col-icon'></div>
<div class='noti-col noti-col-label'>
<div class='noti-bannertype'>
{% if status=='error' %}
Warning
{% elif status=='success' %}
Notice
{% endif %}
</div>
<div class='noti-bannertext'>
{% if status=='error' %}
Uh oh! Be careful!
{% elif status=='success' %}
Hey! Listen!
{% endif %}
</div>
</div>
<div class='noti-banner-text'>
{{ flash }}
</div>
</div>
</div>
</div>
{% endif %}
<div class="hero splash p-less is-fullheight-with-navbar" id="home-hero">
<div class="container flex">
<div class="columns flex-vcenter">
<div class="column flex-vcenter flex-lcenter is-size-2-desktop is-size-1-fullhd" id="title">
<h1 class="title is-spaced is-size-2-desktop is-size-1-fullhd">{{ appName() }}</h1>
<h2 class="subtitle">
We are an osu! private server built based on the bancho.py as the backend
and a frontend based on guweb! Just fell free to play in our server!
We would never ban anyone!
</h2>
{% if not session.authenticated %}
<div class="buttons">
<a class="button is-primary" href="/register">
<strong>Sign up</strong>
</a>
<a class="button is-light" href="/login">
Log in
</a>
</div>
{% endif %}
</div>
<div class="column flex flex-lcenter" id="mascot">
<div class="gulag-avatar"></div>
</div>
</div>
</div>
</div>
{% if not session.authenticated %}
<section class="hero splash">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title is-spaced">What are you waiting for?</h1>
<h2 class="subtitle">Join {{ appName() }}! It's risk-free! You won't get your account banned on official servers
if
you play here with us! And don't worry, as you can always switch between the official servers and us at any time!</h2>
<div class="buttons is-centered"><a class="control button is-primary" href="/register">Sign up for free</a><a
class="control button is-light" href="/login">Login</a></div>
</div>
</div>
</section>
{% endif %}
{% endblock %}