Commit | Line | Data |
---|---|---|
1d184b4c BA |
1 | extends layout |
2 | ||
3 | block css | |
4 | link(rel="stylesheet", href="/stylesheets/index.css") | |
5 | ||
6 | block content | |
b57dbd12 | 7 | .container |
247356cd BA |
8 | case lang |
9 | when "en" | |
b6487fb9 | 10 | include welcome/en |
e081ffe3 | 11 | when "es" |
b6487fb9 | 12 | include welcome/es |
247356cd | 13 | when "fr" |
b6487fb9 | 14 | include welcome/fr |
1d184b4c | 15 | .row |
9a3c9f79 | 16 | #header.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 |
298c42e6 | 17 | #mainTitle |
d5973790 | 18 | img(src="/images/index/unicorn.svg") |
9a3c9f79 BA |
19 | .info-container |
20 | p vchess.club | |
d5973790 | 21 | img(src="/images/index/wildebeest.svg") |
8a477a7e | 22 | #flagMenu.clickable(onClick="doClick('modalLang')") |
b57dbd12 | 23 | img(src="/images/flags/" + lang + ".svg") |
26b8e4f7 | 24 | include userMenu |
8a477a7e | 25 | #introductionMenu.clickable(onClick="doClick('modalWelcome')") |
298c42e6 BA |
26 | .info-container |
27 | p Introduction | |
26b8e4f7 BA |
28 | .row |
29 | .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 | |
30 | label(for="prefixFilter") Type first letters... | |
31 | input#prefixFilter(v-model="curPrefix") | |
1d184b4c | 32 | .row |
3acb852d BA |
33 | my-variant-summary(v-for="(v,idx) in sortedCounts" |
34 | v-bind:vobj="v" v-bind:index="idx" v-bind:key="v.name") | |
b6487fb9 | 35 | |
1d184b4c BA |
36 | block javascripts |
37 | script. | |
38 | const variantArray = !{JSON.stringify(variantArray)}; | |
a48ee8b8 | 39 | script(src="/javascripts/socket_url.js") |
1d184b4c BA |
40 | script(src="/javascripts/components/variantSummary.js") |
41 | script(src="/javascripts/index.js") |