Index page almost OK. Now work on variant page (main hall...)
[vchess.git] / views / layout.pug
index d894ff0..da99fc3 100644 (file)
@@ -25,20 +25,29 @@ html
 
        body
 
+               include langNames
+               case lang
+                       when "en"
+                               include translations/en
+                       when "es"
+                               include translations/es
+                       when "fr"
+                               include translations/fr
+               include contactForm
+               include settings
                main
-                       include langNames
-                       case lang
-                               when "en"
-                                       include translations/en
-                               when "es"
-                                       include translations/es
-                               when "fr"
-                                       include translations/fr
-                       include settings
                        block content
+               footer.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2.text-center
+                       div
+                               a(href="https://github.com/yagu0/vchess") Source code
+                               p.clickable(onClick="document.getElementById('modalContact').checked=true")
+                                       =translations["Contact"]
 
                script(src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js")
+               script(src="/javascripts/utils/ajax.js")
                script(src="/javascripts/layout.js")
+               script(src="/javascripts/settings.js")
+               script(src="/javascripts/contactForm.js")
                if development
                        script(src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js")
                else