Some code cleaning + clarifying (TODO: work on variables names)
[vchess.git] / views / variant.pug
index 7f4d6ef..561663c 100644 (file)
@@ -1,19 +1,21 @@
 extends layout
 
 block css
-       link(rel="stylesheet", href="//fonts.googleapis.com/icon?family=Material+Icons")
-       link(rel="stylesheet", href="/stylesheets/variant.css")
+       link(rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons")
+       link(rel="stylesheet" href="/stylesheets/variant.css")
 
 block content
        .container#variantPage
                .row
                        .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
-                               h4.rulesTitle.text-center(v-on:click="displayRules=!displayRules") #{variant} Rules
+                               h4.rulesTitle.text-center(v-on:click="displayRules=!displayRules")
+                                       | #{variant} Rules
                                my-rules(v-show="displayRules")
                        .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
                                my-game
 
 block javascripts
+       script(src="/javascripts/utils/misc.js")
        script(src="/javascripts/utils/socket_url.js")
        script(src="/javascripts/utils/array.js")
        script(src="/javascripts/base_rules.js")