+
+
+ $if withHeader +

#{challengeTitle challenge} +

#{challengeDescription challenge} + ^{pageBody bc} diff --git a/templates/challenge.julius b/templates/challenge.julius new file mode 100644 index 0000000..023a8b1 --- /dev/null +++ b/templates/challenge.julius @@ -0,0 +1,9 @@ +$(document).ready(function () { + var url = window.location; + $('.navbar-left').find('.active').removeClass('active'); + $('.navbar-left li a').each(function () { + if (this.href == url) { + $(this).parent().addClass('active'); + } + }); + }); diff --git a/templates/challenge.lucius b/templates/challenge.lucius new file mode 100644 index 0000000..a6a174c --- /dev/null +++ b/templates/challenge.lucius @@ -0,0 +1,11 @@ +#submenu { + width: 20%; + float: left; + right-margin: 5px; +} + +#main-block { + width: auto; + overflow: hidden; + left-margin: 5px; +} \ No newline at end of file diff --git a/templates/default-layout-wrapper.hamlet b/templates/default-layout-wrapper.hamlet index 1c596bc..5b7bf3c 100644 --- a/templates/default-layout-wrapper.hamlet +++ b/templates/default-layout-wrapper.hamlet @@ -20,6 +20,8 @@ $newline never \ \ +