4 link(rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons")
5 link(rel="stylesheet" href="/stylesheets/variant.css")
10 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
11 h4.variantpage-title.text-center(v-on:click="toggleDisplay('rules')")
13 my-rules(v-show="display=='rules'")
14 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
15 h4.variantpage-title.text-center(v-on:click="toggleDisplay('game')")
17 my-game(v-show="display=='game'" v-bind:problem="problem")
18 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
19 h4.variantpage-title.text-center(v-on:click="toggleDisplay('problems')")
21 my-problems(v-show="display=='problems'"
22 v-on:show-problem="showProblem($event)")
25 script(src="/javascripts/utils/misc.js")
26 script(src="/javascripts/utils/socket_url.js")
27 script(src="/javascripts/utils/array.js")
28 script(src="/javascripts/utils/md5.js")
29 script(src="/javascripts/utils/printDiagram.js")
30 script(src="/javascripts/utils/ajax.js")
31 script(src="/javascripts/utils/datetime.js")
32 script(src="/javascripts/base_rules.js")
33 script(src="/javascripts/variants/" + variant + ".js")
35 const VariantRules = #{variant}Rules;
36 const V = VariantRules; //because this variable is often used
37 const variant = "#{variant}";
38 const problemArray = !{JSON.stringify(problemArray)};
39 script(src="/javascripts/components/rules.js")
40 script(src="/javascripts/components/game.js")
41 script(src="/javascripts/components/problemSummary.js")
42 script(src="/javascripts/components/problems.js")
43 script(src="/javascripts/variant.js")