Skip to content
Snippets Groups Projects
Commit 03b49128 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Add icons, use template inheritance.

parent ae2a0f05
No related branches found
No related tags found
No related merge requests found
...@@ -4,40 +4,6 @@ body { ...@@ -4,40 +4,6 @@ body {
background-color: #000; background-color: #000;
max-width: 100%; max-width: 100%;
} }
body.page-live header span.back-to-home {
float: right;
font-size: .8em;
opacity: .6;
}
body.page-live main {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-content: flex-start;
max-width: 100%;
box-sizing: border-box;
}
body.page-live p, ul {
margin: .25em 0;
}
body.page-home form {
display: flex;
flex-wrap: wrap;
}
body.page-home form > * {
flex: auto 1 0;
}
body.page-home label {
display: flex;
flex-wrap: wrap;
}
body.page-home input,
body.page-home select {
flex: 15em 1 0;
}
body.page-home input[type=submit] {
flex: 6em 0 0;
}
h1 { h1 {
font-size: 1.2em; font-size: 1.2em;
} }
...@@ -111,3 +77,40 @@ span.number { ...@@ -111,3 +77,40 @@ span.number {
font-weight: bold; font-weight: bold;
font-size: 1.1em; font-size: 1.1em;
} }
/* Page-specific styles */
body.page-live header span.back-to-home {
float: right;
font-size: .8em;
opacity: .6;
}
body.page-live main {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-content: flex-start;
max-width: 100%;
box-sizing: border-box;
}
body.page-live p, ul {
margin: .25em 0;
}
body.page-index form {
display: flex;
flex-wrap: wrap;
}
body.page-index form > * {
flex: auto 1 0;
}
body.page-index label {
display: flex;
flex-wrap: wrap;
}
body.page-index input,
body.page-index select {
flex: 15em 1 0;
}
body.page-index input[type=submit] {
flex: 6em 0 0;
}
<link rel="apple-touch-icon" sizes="180x180" href="/static/images/icons/apple-touch-icon.png?v=20180325">
<link rel="icon" type="image/png" sizes="32x32" href="/static/images/icons/favicon-32x32.png?v=20180325">
<link rel="icon" type="image/png" sizes="16x16" href="/static/images/icons/favicon-16x16.png?v=20180325">
<link rel="manifest" href="/static/images/icons/site.webmanifest?v=20180325">
<link rel="mask-icon" href="/static/images/icons/safari-pinned-tab.svg?v=20180325" color="#5bbad5">
<link rel="shortcut icon" href="/static/images/icons/favicon.ico?v=20180325">
<meta name="apple-mobile-web-app-title" content="Armory">
<meta name="application-name" content="Armory">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/static/images/icons/browserconfig.xml?v=20180325">
<meta name="theme-color" content="#ffffff">
\ No newline at end of file
static/images/icons/android-chrome-192x192.png

49 KiB

static/images/icons/android-chrome-512x512.png

379 KiB

static/images/icons/apple-touch-icon.png

43.7 KiB

static/images/icons/favicon-16x16.png

5.12 KiB

static/images/icons/favicon-32x32.png

5.77 KiB

static/images/icons/favicon.ico

11.7 KiB

static/images/icons/mstile-150x150.png

25 KiB

This diff is collapsed.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Armory Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scaleable=0">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}?t=20180325">
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='images/icons/apple-touch-icon.png') }}?t=20180325">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/icons/favicon-32x32.png') }}?t=20180325">
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='images/icons/favicon-16x16.png') }}?t=20180325">
<link rel="manifest" href="{{ url_for('static', filename='images/icons/site.webmanifest') }}?t=20180325">
<link rel="mask-icon" href="{{ url_for('static', filename='images/icons/safari-pinned-tab.svg') }}?t=20180325" color="#5bbad5">
<link rel="shortcut icon" href="{{ url_for('static', filename='images/icons/favicon.ico') }}?t=20180325">
<meta name="apple-mobile-web-app-title" content="Armory">
<meta name="application-name" content="Armory">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="{{ url_for('static', filename='images/icons/browserconfig.xml') }}?t=20180325">
<meta name="theme-color" content="#ffffff">
</head>
<body class="page-{{ request.endpoint }}">
{% block content %}{% endblock content %}
</body>
</html>
<!doctype html> {% extends "base.html" %}
<html lang="en"> {% block content %}
<head>
<meta charset="utf-8">
<title>Armory Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body class="page-home">
<header> <header>
<h1>Armory Dashboard</h1> <h1>Armory Dashboard</h1>
</header> </header>
...@@ -36,5 +29,4 @@ ...@@ -36,5 +29,4 @@
</form> </form>
</p> </p>
</main> </main>
</body> {% endblock content %}
</html>
<!doctype html> {% extends "base.html" %}
<html lang="en"> {% block content %}
<head>
<meta charset="utf-8">
<title>Armory Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="60; URL={{ url_for('index') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body class="page-live">
<header> <header>
<span class="back-to-home"><a href="{{ url_for('index') }}">Back to Home</a></span> <span class="back-to-home"><a href="{{ url_for('index') }}">Back to Home</a></span>
<h1>{{ tournament_name }} - {{ events | length }} events</h1> <h1>{{ tournament_name }} - {{ events | length }} events</h1>
...@@ -38,5 +30,4 @@ ...@@ -38,5 +30,4 @@
</section> </section>
{% endfor %} {% endfor %}
</main> </main>
</body> {% endblock content %}
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment