Commit | Line | Data |
---|---|---|
1d184b4c | 1 | doctype html |
9a3c9f79 | 2 | html |
1d184b4c BA |
3 | |
4 | head | |
5 | meta(charset="UTF-8") | |
6 | title vchess - #{title} | |
92342261 BA |
7 | meta(name="viewport" content="width=device-width, initial-scale=1") |
8 | meta(name="msapplication-config" content="/images/favicon/browserconfig.xml") | |
9 | meta(name="theme-color" content="#ffffff") | |
10 | link(rel="stylesheet" | |
11 | href="//cdnjs.cloudflare.com/ajax/libs/mini.css/3.0.0/mini-default.min.css") | |
12 | link(rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,700") | |
13 | link(rel="apple-touch-icon" sizes="180x180" | |
14 | href="/images/favicon/apple-touch-icon.png") | |
15 | link(rel="icon" type="image/png" sizes="32x32" | |
16 | href="/images/favicon/favicon-32x32.png") | |
17 | link(rel="icon" type="image/png" sizes="16x16" | |
18 | href="/images/favicon/favicon-16x16.png") | |
19 | link(rel="manifest" href="/images/favicon/manifest.json") | |
20 | link(rel="mask-icon" href="/images/favicon/safari-pinned-tab.svg" color="#5bbad5") | |
21 | link(rel="shortcut icon" href="/images/favicon/favicon.ico") | |
22 | link(rel="stylesheet" href="/stylesheets/layout.css") | |
b6487fb9 | 23 | link(rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons") |
1d184b4c BA |
24 | block css |
25 | ||
26 | body | |
27 | ||
298c42e6 BA |
28 | include langNames |
29 | case lang | |
30 | when "en" | |
31 | include translations/en | |
32 | when "es" | |
33 | include translations/es | |
34 | when "fr" | |
35 | include translations/fr | |
8d7e2786 BA |
36 | if !user |
37 | include login_register | |
38 | else | |
39 | include logout_update | |
298c42e6 BA |
40 | include contactForm |
41 | include settings | |
1d184b4c BA |
42 | main |
43 | block content | |
298c42e6 BA |
44 | footer.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2.text-center |
45 | div | |
46 | a(href="https://github.com/yagu0/vchess") Source code | |
47 | p.clickable(onClick="document.getElementById('modalContact').checked=true") | |
48 | =translations["Contact"] | |
1d184b4c BA |
49 | |
50 | script(src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js") | |
298c42e6 | 51 | script(src="/javascripts/utils/ajax.js") |
b6487fb9 | 52 | script(src="/javascripts/layout.js") |
298c42e6 BA |
53 | script(src="/javascripts/settings.js") |
54 | script(src="/javascripts/contactForm.js") | |
fb1ecbdf BA |
55 | if development |
56 | script(src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js") | |
57 | else | |
58 | script(src="https://cdn.jsdelivr.net/npm/vue") | |
b6487fb9 BA |
59 | script. |
60 | const translations = !{JSON.stringify(translations)}; | |
8d7e2786 | 61 | const user = !{JSON.stringify(user)}; |
1d184b4c | 62 | block javascripts |