Unverified Commit 14845d51 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'master' into 19-become-a-member-page

Conflicts:
	website/thaliawebsite/locale/nl/LC_MESSAGES/django.mo
	website/thaliawebsite/locale/nl/LC_MESSAGES/django.po
	website/thaliawebsite/menus.py
parents d713a589 facf03f9
...@@ -7,8 +7,8 @@ msgid "" ...@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-27 21:40+0200\n" "POT-Creation-Date: 2016-07-27 21:54+0200\n"
"PO-Revision-Date: 2016-07-27 21:42+0100\n" "PO-Revision-Date: 2016-07-26 22:21+0100\n"
"Last-Translator: Joost Rijneveld <joost@joostrijneveld.nl>\n" "Last-Translator: Joost Rijneveld <joost@joostrijneveld.nl>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: nl\n" "Language: nl\n"
...@@ -50,9 +50,10 @@ msgstr "" ...@@ -50,9 +50,10 @@ msgstr ""
msgid "Documents" msgid "Documents"
msgstr "" msgstr ""
#: menus.py:11 #: menus.py:11 templates/singlepages/sister_associations.html:4
#: templates/singlepages/sister_associations.html:17
msgid "Sister Associations" msgid "Sister Associations"
msgstr "" msgstr "Zusterverenigingen"
#: menus.py:12 #: menus.py:12
msgid "Become Member" msgid "Become Member"
...@@ -118,7 +119,8 @@ msgstr "" ...@@ -118,7 +119,8 @@ msgstr ""
msgid "Add Summary" msgid "Add Summary"
msgstr "" msgstr ""
#: menus.py:32 #: menus.py:32 templates/singlepages/contact.html:4
#: templates/singlepages/contact.html:7
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
...@@ -130,11 +132,11 @@ msgstr "" ...@@ -130,11 +132,11 @@ msgstr ""
msgid "Dutch" msgid "Dutch"
msgstr "" msgstr ""
#: templates/base.html:84 templates/base.html:121 #: templates/base.html:86 templates/base.html:123
msgid "Study Association Thalia" msgid "Study Association Thalia"
msgstr "" msgstr ""
#: templates/base.html:142 templates/registration/login.html:3 #: templates/base.html:158 templates/registration/login.html:3
#: templates/registration/login.html:24 #: templates/registration/login.html:24
msgid "Login" msgid "Login"
msgstr "" msgstr ""
...@@ -239,3 +241,170 @@ msgstr "" ...@@ -239,3 +241,170 @@ msgstr ""
"hieronder te downloaden is. Mocht je nog verdere vragen hebben over Thalia " "hieronder te downloaden is. Mocht je nog verdere vragen hebben over Thalia "
"en/of je lidmaatschap dan kun je altijd mailen naar <a href=\"mailto:" "en/of je lidmaatschap dan kun je altijd mailen naar <a href=\"mailto:"
"info@thalia.nu\" target=\"_blank\">info@thalia.nu</a>!" "info@thalia.nu\" target=\"_blank\">info@thalia.nu</a>!"
#: templates/singlepages/become_active.html:4
#: templates/singlepages/become_active.html:7
msgid "Become active"
msgstr "Actief worden"
#: templates/singlepages/become_active.html:9
msgid ""
"Throughout the year, Thalia organizes a wide variety of activities, both "
"educational (such as symposiums and programming contests) as well as social "
"(such as drinks, paintballing and LAN parties). All in all, this adds up to "
"around 80 activities each year. The board and Thalia's committees organize "
"these events. Furthermore, Thalia members are involved in e.g. writing the "
"Thabloid, maintaining this website and our servers, and taking pictures "
"during events. Altogether, a group of 50 to 60 members commits to making all "
"these amazing activities happen every year."
msgstr ""
"Thalia organiseert door het hele jaar heen diverse activiteiten, van "
"studiegerelateerde activiteiten zoals symposia en programeerwedstrijden tot "
"sociale activiteiten als borrels, paintballen en LAN-party's. Bij elkaar "
"zijn dit zo'n 80 activiteiten per jaar. Het bestuur en de commissies van "
"Thalia organiseren deze activiteiten. Daarnaast zijn er nog de leden die "
"bijvoorbeeld de Thabloid maken, deze website en de Thalia-servers "
"onderhouden, of foto's maken op evenementen. Ongeveer 50 - 60 leden zetten "
"zich ieder jaar in om geweldige activiteiten te organiseren voor alle leden."
#: templates/singlepages/become_active.html:11
msgid ""
"Does it seem like fun to join a committee and do your bit to contribute to "
"the association? Then become a member of one of the committees! You can do "
"this by sending an e-mail to <a href=\"mailto:intern@thalia.nu"
"\">intern@thalia.nu</a>, sending a Facebook message or speaking to a board "
"or committee member in person."
msgstr ""
"Lijkt het jou ook leuk om in een commissie te gaan en een steentje bij te "
"dragen aan de vereniging? Word dan lid van een commissie! Dit kun je doen "
"door een mailtje te sturen naar <a href=\"mailto:intern@thalia.nu"
"\">intern@thalia.nu</a>, een Facebookbericht te sturen of een bestuurs- of "
"commissielid persoonlijk aan te spreken."
#: templates/singlepages/become_active.html:13
msgid ""
"Are you not sure if being part of a committee is for you? You can always sit "
"in on a meeting to see if you like it. Again, feel free to ask committee "
"members or the board in person. The committees are always looking for "
"enthusiastic new members!"
msgstr ""
"Weet je niet zeker of commissiewerk iets voor jou is? Je kunt altijd een "
"vergadering bijwonen van een commissie om te kijken of het jou bevalt. Je "
"kunt ook commissieleden of het bestuur persoonlijk aanspreken. De commissies "
"zijn altijd op zoek naar nieuwe enthousiaste leden!"
#: templates/singlepages/contact.html:11
msgid "Faculty:"
msgstr "Faculteit:"
#: templates/singlepages/contact.html:12
msgid "Faculty of Science"
msgstr "Faculteit der Natuurwetenschappen, Wiskunde & Informatica"
#: templates/singlepages/contact.html:15
msgid "Room:"
msgstr "Kamer:"
#: templates/singlepages/contact.html:19
msgid "Address:"
msgstr "Adres:"
#: templates/singlepages/contact.html:20
msgid "Board room: HG00.150 (above the north-canteen)"
msgstr "Bestuurskamer: HG00.150 (boven de noordkantine)"
#: templates/singlepages/contact.html:23
msgid "Postal address:"
msgstr "Postadres:"
#: templates/singlepages/contact.html:27
msgid "Telephone:"
msgstr "Telefoon:"
#: templates/singlepages/contact.html:31
msgid "Voicemailbox:"
msgstr "Voicemailbox:"
#: templates/singlepages/contact.html:35
msgid "Email:"
msgstr "E-mail:"
#: templates/singlepages/contact.html:37
msgid "general"
msgstr "algemeen"
#: templates/singlepages/contact.html:38
msgid "communication w.r.t. promoting your company (activities)"
msgstr "communicatie over het promoten van uw bedrijf(sactiviteiten)"
#: templates/singlepages/contact.html:50
msgid "VAT number:"
msgstr "BTW-nummer:"
#: templates/singlepages/sister_associations.html:7
msgid "Associations of the Radboud University Science Faculty"
msgstr "Bètaverenigingen van de Radboud Universiteit"
#: templates/singlepages/sister_associations.html:9
msgid "(Medical) Biology"
msgstr "(Medische) Biologie"
#: templates/singlepages/sister_associations.html:10
msgid "Artificial Intelligence"
msgstr "Kunstmatige Intelligentie"
#: templates/singlepages/sister_associations.html:11
msgid "Mathematics"
msgstr "Wiskunde"
#: templates/singlepages/sister_associations.html:12
msgid "Science"
msgstr "Science"
#: templates/singlepages/sister_associations.html:13
msgid "Physics and Astronomy"
msgstr "Natuur- en Sterrekunde"
#: templates/singlepages/sister_associations.html:14
msgid "Science faculty umbrella association"
msgstr "Overkoepelende bètavereniging"
#: templates/singlepages/sister_associations.html:15
msgid "Molecular Sciences"
msgstr "Moleculaire Wetenschappen"
#: templates/singlepages/sister_associations.html:19
#: templates/singlepages/sister_associations.html:26
msgid "University of Twente"
msgstr "Universiteit Twente"
#: templates/singlepages/sister_associations.html:20
#: templates/singlepages/sister_associations.html:28
msgid "Utrecht University"
msgstr "Universiteit Utrecht"
#: templates/singlepages/sister_associations.html:21
msgid "Delft University of Technology"
msgstr "Technische Universiteit Delft"
#: templates/singlepages/sister_associations.html:22
#: templates/singlepages/sister_associations.html:24
msgid "University of Groningen"
msgstr "Rijksuniversiteit Groningen"
#: templates/singlepages/sister_associations.html:23
msgid "Leiden University"
msgstr "Universiteit Leiden"
#: templates/singlepages/sister_associations.html:25
msgid "Eindhoven University of Technology"
msgstr "Technische Universiteit Eindhoven"
#: templates/singlepages/sister_associations.html:27
#: templates/singlepages/sister_associations.html:30
msgid "University of Amsterdam"
msgstr "Universiteit van Amsterdam"
#: templates/singlepages/sister_associations.html:29
msgid "VU University Amsterdam"
msgstr "Vrije Universiteit Amsterdam"
...@@ -8,14 +8,14 @@ main = [ ...@@ -8,14 +8,14 @@ main = [
{'title': _('Members'), 'name': '#'}, {'title': _('Members'), 'name': '#'},
{'title': _('Documents'), 'name': 'documents:index'}, {'title': _('Documents'), 'name': 'documents:index'},
{'title': _('Members'), 'name': '#'}, {'title': _('Members'), 'name': '#'},
{'title': _('Sister Associations'), 'name': '#'}, {'title': _('Sister Associations'), 'name': 'sister-associations'},
{'title': _('Become Member'), 'name': 'become-a-member'}, {'title': _('Become Member'), 'name': 'become-a-member'},
{'title': _('Thabloid'), 'name': '#'}, {'title': _('Thabloid'), 'name': '#'},
]}, ]},
{'title': _('For Members'), 'name': '#', 'submenu': [ {'title': _('For Members'), 'name': '#', 'submenu': [
{'title': _('Photos'), 'name': '#'}, {'title': _('Photos'), 'name': '#'},
{'title': _('Statistics'), 'name': '#'}, {'title': _('Statistics'), 'name': '#'},
{'title': _('Become Active'), 'name': '#'}, {'title': _('Become Active'), 'name': 'become-active'},
{'title': _('Wiki'), 'name': '#'}, {'title': _('Wiki'), 'name': '#'},
]}, ]},
{'title': _('Calendar'), 'name': '#'}, {'title': _('Calendar'), 'name': '#'},
...@@ -29,5 +29,5 @@ main = [ ...@@ -29,5 +29,5 @@ main = [
{'title': _('Add Exam'), 'name': '#'}, {'title': _('Add Exam'), 'name': '#'},
{'title': _('Add Summary'), 'name': '#'}, {'title': _('Add Summary'), 'name': '#'},
]}, ]},
{'title': _('Contact'), 'name': '#'}, {'title': _('Contact'), 'name': 'contact'},
] ]
...@@ -239,9 +239,16 @@ ...@@ -239,9 +239,16 @@
// CONCRETE stuff // CONCRETE stuff
/* header account menu */ /* header account menu */
#thimbus-account-menu-container {
top: 10px;
right: 10px;
position: absolute;
}
#language-selector-menu,
#thimbus-account-menu { #thimbus-account-menu {
a.btn { a.btn {
background-color: @inverted-color; background: @inverted-color;
color: @background-color; color: @background-color;
&:hover { &:hover {
......
(function() {
language_submit_btn.onclick = function () {
set_language_form.submit();
};
})();
var htmlClasses=document.documentElement.className.split(" ");htmlClasses.push("js-on"),document.documentElement.className=htmlClasses.join(" ").replace(/^\s+|\s+$/g,""),function(e){e.fn.gwScrollTo=function(t){var i={duration:1e3,easing:"easeInOutCubic",target:"#top",callback:""},s=e.extend({},i,t),n=this;if(s.easing=jQuery.easing[s.easing]?s.easing:!1,!e(s.target).length)return!1;var a=e(s.target).offset();return n.is(":animated")||a.top==e(window).scrollTop()?!1:n.animate({scrollTop:e(s.target).offset().top},s.duration,s.easing,function(){this.tagName==n[0].tagName&&e.isFunction(s.callback)?s.callback.call(this):!1})}}(jQuery),jQuery(document).ready(function(e,t){var i,s,n=e("body"),a=n.find("#wrapper"),o=n.find("#header-info"),l=n.find("#logo"),r=l.find("img"),c=n.find("#primary-navigation"),d=c.find(".nav"),u=c.find(".menu-responsive"),f=n.find("#header-panel"),h=n.find("#bottom"),p=n.find("#footer"),g=e("<div />",{id:"primary-navigation-placholder"}).css({height:"45px",display:"none"}),v=o.length?o.outerHeight():0,m=l.length?l.height():0,b=c.length?c.height():0,w=f.height?f.height():0,y=h.height?h.outerHeight():0,k=10,C=35,x=function(){return v+m+2*k},T=function(){return x()+b+w};r.load(function(){m=l.length?l.height():0}),n.hasClass("stickymenu")&&g.insertBefore(c),setTimeout(function(){e(window).resize(),d.find(".nav-path-selected > a").trigger("click")},10),e(window).resize(),d.find(".nav-path-selected > a").trigger("click");var j;n.find('[class^="hide-info-box"]').delegate(this,"mouseenter mouseleave",function(e){clearTimeout(j),"mouseenter"==e.type?(A!=t&&A.find(".fullwidthabnner").revpause(),n.find(".header-overlay").addClass("visible")):j=setTimeout(function(){A!=t&&(A.find(".fullwidthabnner").hasClass("hovered")||A.find(".fullwidthabnner").revresume().closest(".slider").trigger("mousemove")),n.find(".header-overlay").removeClass("visible")},300)}),e(window).scroll(function(){f.length&&(i=u.is(":visible")?0:.6667*T()>e(window).scrollTop()?e(window).scrollTop()*-.5:.6667*T()*-.5,f.hasClass("header-parallax")&&f.css("marginBottom",i).find(".page-title").css("bottom",i*-.5+50)),s=k+(C-k)*(v-e(window).scrollTop())/v,l.css({paddingTop:function(){return u.is(":visible")?C:s>k?s:k},paddingBottom:function(){return u.is(":visible")?C:s>k?s:k}}),n.hasClass("stickymenu")&&!u.is(":visible")&&x()<=e(window).scrollTop()?(c.addClass("stickynav"),g.css("display","block"),e(document).height()-e(window).height()<=e(window).scrollTop()?p.removeClass("stickyfooter-bottom"):p.addClass("stickyfooter-bottom")):(c.removeClass("stickynav"),g.css("display","none")),e(window).scrollTop()>0?n.find("#scroll-top").fadeIn(200):n.find("#scroll-top").fadeOut(200)}),e(window).resize(function(){e(window).trigger("scroll"),v=v=o.length?o.outerHeight():0,n.hasClass("stickyfooter")&&(u.is(":visible")?(n.removeClass("stickyfooter"),a.css("marginBottom",0)):(n.addClass("stickyfooter"),y=h.height?h.outerHeight():0,a.css("marginBottom",y-5))),u.is(":visible")?(u.hasClass("open")||d.css("display","none").find('li:not(".nav-path-selected")').children("ul").css("display","none"),d.find("li").addClass("noLava").find("ul").each(function(){var t=e(this),i=t.find(">li>a").parents("ul").length;t.find(">li>a").css({paddingLeft:20*(i-1)+40+"px",backgroundPosition:20*(i-1)+20+"px -5px"}),t.find(">li.nav-path-selected>a").css({paddingLeft:20*(i-1)+40+"px",backgroundPosition:20*(i-1)+20+"px -54px"})})):(u.removeClass("open"),d.css("display","block").find("ul").css("display","block").end().find("li").removeClass("noLava").end().find("ul > li").addClass("noLava").end().find("li.nav-path-selected").trigger("mouseenter").trigger("mouseleave").end().find("li>a").css("paddingLeft","20px"))}).resize(),jQuery().magnificPopup&&(e(".magnific-popup").each(function(){e(this).magnificPopup({type:"image",closeOnContentClick:!0})}),e(".magnific-popup-html").each(function(){e(this).magnificPopup({disableOn:700,type:"iframe"})})),(e("html").hasClass("lt-ie10")||e("html").hasClass("lt-ie9"))&&n.find("input[placeholder], textarea[placeholder]").each(function(){var t=e(this);t.val(t.attr("placeholder")),t.delegate(this,"focus blur",function(e){"focus"==e.type?t.val()==t.attr("placeholder")&&t.val(""):(""==t.val()||t.val()==t.attr("placeholder"))&&t.val(t.attr("placeholder"))})}),n.find("#scroll-top").css("display","none").delegate("a","click",function(t){t.preventDefault(),e("html, body").gwScrollTo({easing:"easeInOutCubic"})}),n.find(".searchform").delegate(this,"submit",function(){var t=e(this),i=t.find('input[name="s"]');return""==i[0].value?(i.focus(),!1):void 0}),d.delegate("li a","click mouseenter mouseleave",function(t){var i=e(this),s=e(this).parent(),n=s.parents("ul").parent("li");"click"==t.type&&(this.href.match(/#/gi)?t.preventDefault():(u.find(".menu-title").html(i.text()),d.find("li.nav-path-selected").removeClass("nav-path-selected").find(">a").css("backgroundPositionY","-5px").css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -5px"}),s.addClass("nav-path-selected"),n.each(function(){var t=e(this);t.hasClass("nav-path-selected")||t.addClass("nav-path-selected").find(">a").css("backgroundPositionY","-54px").css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -54px"})}))),u.is(":visible")&&("click"==t.type?!i.closest("li").find(">ul").is(":visible")&&i.closest("li").find(">ul").length>0&&(t.preventDefault(),i.closest("li").find(">ul").slideDown(300,"easeInOutCubic").end().siblings().find("ul").slideUp(300,"easeInOutCubic")):"mouseenter"==t.type?(i.css("backgroundPositionY","-54px"),i.css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -54px"})):i.closest("li").hasClass("nav-path-selected")||(i.css("backgroundPositionY","-5px"),i.css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -5px"})))}),u.delegate(this,"click",function(){var t=e(this);d.is(":visible")?d.slideUp(300,"easeInOutCubic"):(t.addClass("open"),d.slideDown(300,"easeInOutCubic"))}),jQuery().lavaLamp&&setTimeout(function(){d.each(function(){e(this).children("li.").addClass("selectedLava").end().find("ul > li").addClass("noLava").end().lavaLamp({fx:"easeOutExpo",speed:500})})},100),n.find(".alert").delegate(".close","click",function(){e(this).closest(".alert").slideUp()}),n.find(".tabs").delegate("li","click",function(t){var i=e(this),s=i.closest(".tabs-wrapper").next(".tabs-content"),n=s.find("> li"),a=i.closest(".tabs").find("> li").index(i);t.preventDefault(),i.hasClass("current")?s.stop().animate({height:n.eq(a).find(".tab-content").outerHeight()},350,"jswing"):(i.addClass("current").siblings(".current").removeClass("current"),n.eq(a).siblings(".current").find(".tab-content").css("display","block").fadeTo(200,0,function(){s.stop().animate({height:n.eq(a).find(".tab-content").outerHeight()},350,"jswing",function(){n.eq(a).siblings(".current").removeClass("current").find(".tab-content").css("display","none"),n.eq(a).addClass("current").find(".tab-content").fadeTo(200,1)})}))}),e(window).resize(function(){n.find(".tabs li.current").trigger("click")}),n.find(".tabs-content").delegate(".tab-title","click",function(t){var i=e(this),s=i.closest("li"),n=i.closest(".tabs-content"),a=(n.find("> li"),n.prev(".tabs-wrapper").find(".tabs")),o=a.find("> li"),l=n.find("> li").index(s);t.preventDefault(),s.hasClass("current")||(s.addClass("current").find(".tab-content").stop().css({display:"none",opacity:1}).slideDown(500,"easeOutExpo"),s.siblings(".current").removeClass("current").find(".tab-content").stop().css("display","block").slideUp(500,"easeOutExpo",function(){n.css("height",s.find(".tab-content").outerHeight())}),o.eq(l).addClass("current").siblings().removeClass("current"))}),n.find(".toggles").delegate(".toggle-title","click",function(t){var i=e(this),s=i.closest("li");t.preventDefault(),s.hasClass("current")?s.removeClass("current").find(".toggle-content").stop().css("display","block").slideUp(500,"easeOutExpo"):(s.addClass("current").find(".toggle-content").stop().css("display","none").slideDown(500,"easeOutExpo"),s.siblings(".current").find(".toggle-title").trigger("click"))});var P=n.find(".progress-bars");P.find(".progress-label span").html("0%").end().find(".bar").css("width",0).bind("inview",function(t,i){var s,n=e(this),a=n.closest("li");n.addClass("trans-enabled"),i===!0&&(n.css("width",Math.round(parseFloat(n.data("width")))+"%").unbind("inview"),s=setInterval(function(){var e=Math.round(n.width()/a.width()*100);a.find(".progress-label span").html(e+"%"),e==Math.round(parseFloat(n.data("width")))&&clearInterval(s)},5))});var O=n.find(".portfolio-isotope"),I=O.find(".portfolio-filter"),L=O.find(".portfolio-posts");jQuery().isotope&&I.delegate("li","click",function(){var i,s=e(this);i=s.data("filter")==t?"*":'[data-filter*="'+s.data("filter")+'"]',setTimeout(function(){L.isotope({filter:i})},100)}),e(window).resize(function(){I.find("li.current").length?I.find("li.current").trigger("click"):I.find("li:first").trigger("click")}),jQuery().carouFredSel&&(n.find(".testimonials .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,auto:!1,height:"variable",width:"100%",pagination:{keys:!1,container:e(this).closest(".slider").find(".slider-pagination"),anchorBuilder:function(e){return'<li><a href="#" data-id="'+e+'"></a></li>'}},swipe:{onTouch:!0},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},10)}).trigger("resize")}})}),n.find(".post-slider .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,height:"variable",width:"100%",height:"auto",auto:!1,next:t.closest(".slider").find(".slider-control-next"),prev:t.closest(".slider").find(".slider-control-prev"),swipe:{onTouch:!0},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},10)}).trigger("resize")}})}),e(".brands .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,auto:!1,width:"100%",next:t.closest(".slider").find(".slider-controls .next"),prev:t.closest(".slider").find(".slider-controls .prev"),scroll:1,swipe:{onTouch:!0},items:{width:300,visible:{min:1,max:4}},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},100)}).trigger("resize")}})}));var z,D=n.find(".ticker"),M=e(".ticker-controls");D.each(function(){e(this).bind("loaded clicked",function(i,s){var n=e(this),a=n.find(".ticker-list"),o=a.find("li"),l=o.length,s=s==t?"fw":"rev",r=function(e){return e=e>=l?0:e,e=0>e?l-1:e},c=function(e,i){i=i==t?"fw":i,e=e==t?"fw"==i?0:l-1:r(e);var s,c=r(e+1),d=r(e-1);e="fw"==i?c:d,s=o.eq(e).height(),o.stop().fadeTo(200,0,function(){o.css({position:"absolute",top:o.eq(e).height()}).eq(e).css("top","-="+o.eq(e).height()),a.stop().animate({height:s},250,"jswing",function(){o.stop().fadeTo(200,1)})}),"fw"==i?n.data("id",e):n.data("id",e)};"clicked"==i.type&&(clearInterval(z),c(n.data("id"),s),n.trigger("loaded")),"loaded"==i.type&&(clearInterval(z),n.data("id")==t&&(n.data("id",0),a.css("height",o.eq(n.data("id")).height())),z=setInterval(function(){c(n.data("id"))},5e3))})}),M.delegate(".arrow","click",function(t){var i=e(this),s=i.closest(".ticker-controls").prev(".ticker");t.preventDefault(),i.hasClass("next")?s.trigger("clicked"):s.trigger("clicked","rev")}),M.prev(".ticker").trigger("loaded");var H=!1;e(window).resize(function(){H&&clearTimeout(H),H=setTimeout(function(){M.prev(".ticker").trigger("loaded")},100)});var Q=n.find("#contact-form");Q.length&&Q.submit(function(){var i=e(this),s=i.find("#contact-submit"),a=i.find("input[type=text], textarea"),o=(i.find("#captcha"),i.parent().find("#contact-message")),l=s[0].innerHTML;return s.hasClass("disabled")?!1:(e.ajax({type:"POST",url:i[0].action,data:i.serialize(),dataType:"json",beforeSend:function(){o.length>0&&o.stop().slideUp(),s.css("opacity",.5).addClass("disabled")[0].innerHTML=s.data("send")}}).done(function(r){if(s.css("opacity",1).removeClass("disabled")[0].innerHTML=l,a.filter("#captcha")[0].value="",0==o.length&&(o=e("<div />",{id:"contact-message"}).css("display","none"),i.before(o)),"success"==r.result)a.val(""),o.addClass("alert alert-success1").removeClass("alert-error").html(r.message.mail_sent+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown();else if(r.message.mail_sent!=t)o.addClass("alert alert-error").removeClass("alert-success1").html(r.message.mail_sent+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown();else{var c="";jQuery.each(r.message,function(e,t){c+="<p>"+t+"</p>"}),o.addClass("alert alert-error").removeClass("alert-success1").html(c+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown()}n.find(".alert").delegate(".close","click",function(){e(this).closest(".alert").slideUp()})}),!1)});var S=n.find("#header-map");if(jQuery().goMap&&google&&google.maps){S.each(function(){e(this).goMap({markers:[{address:"Leatherhead, Surrey United Kingdom 01372 818123, United Kingdom",title:"Granth",icon:{image:"assets/images/misc/pin_red.png"}}],scrollwheel:!1,zoom:13,maptype:"ROADMAP"})});var q=!1;e(window).resize(function(){q&&clearTimeout(q),q=setTimeout(function(){e.goMap.getMarkers("markers").length&&e.goMap.map.panTo(e.goMap.getMarkers("markers")[0].getPosition())},100)})}if(jQuery().revolution){var A=n.find(".rev-slider"),U=570;A.find(".fullwidthabnner").css({height:U,maxHeight:U}).revolution({delay:9e3,startheight:U,startwidth:1020,navigationType:"none",navigationArrows:"none",touchenabled:"on",onHoverStop:"on",navOffsetHorizontal:0,navOffsetVertical:20,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,hideSliderAtLimit:0,stopAtSlide:-1,stopAfterLoops:-1,shadow:0,fullWidth:"on"}),A.delegate(".slider-control-prev, .slider-control-next","click",function(t){{var i=e(this);i.closest(".rev-slider")}t.preventDefault(),i.hasClass("slider-control-prev")?A.revprev():A.revnext()})}}),jQuery(document).ready(function(){jQuery(".gallery-box").fancybox({helpers:{title:{type:"float"}},afterShow:function(){var e=$(this.element).attr("data-download");void 0!=e&&$('<a class="fancybox-download" href="'+e+'"></a>').appendTo(this.outer)},padding:0})}),jQuery(document).ready(function(){$(".member-item img").on("error",function(e){-1==e.target.src.indexOf("gravatarmissing.png")&&(e.target.src="/packages/theme_thimbus/themes/thimbus/assets/images/gravatarmissing.png")})}); (function() {
\ No newline at end of file /** do stuff here **/
})();
var htmlClasses=document.documentElement.className.split(" ");htmlClasses.push("js-on"),document.documentElement.className=htmlClasses.join(" ").replace(/^\s+|\s+$/g,""),function(e){e.fn.gwScrollTo=function(t){var i={duration:1e3,easing:"easeInOutCubic",target:"#top",callback:""},s=e.extend({},i,t),n=this;if(s.easing=jQuery.easing[s.easing]?s.easing:!1,!e(s.target).length)return!1;var a=e(s.target).offset();return n.is(":animated")||a.top==e(window).scrollTop()?!1:n.animate({scrollTop:e(s.target).offset().top},s.duration,s.easing,function(){this.tagName==n[0].tagName&&e.isFunction(s.callback)?s.callback.call(this):!1})}}(jQuery),jQuery(document).ready(function(e,t){var i,s,n=e("body"),a=n.find("#wrapper"),o=n.find("#header-info"),l=n.find("#logo"),r=l.find("img"),c=n.find("#primary-navigation"),d=c.find(".nav"),u=c.find(".menu-responsive"),f=n.find("#header-panel"),h=n.find("#bottom"),p=n.find("#footer"),g=e("<div />",{id:"primary-navigation-placholder"}).css({height:"45px",display:"none"}),v=o.length?o.outerHeight():0,m=l.length?l.height():0,b=c.length?c.height():0,w=f.height?f.height():0,y=h.height?h.outerHeight():0,k=10,C=35,x=function(){return v+m+2*k},T=function(){return x()+b+w};r.load(function(){m=l.length?l.height():0}),n.hasClass("stickymenu")&&g.insertBefore(c),setTimeout(function(){e(window).resize(),d.find(".nav-path-selected > a").trigger("click")},10),e(window).resize(),d.find(".nav-path-selected > a").trigger("click");var j;n.find('[class^="hide-info-box"]').delegate(this,"mouseenter mouseleave",function(e){clearTimeout(j),"mouseenter"==e.type?(A!=t&&A.find(".fullwidthabnner").revpause(),n.find(".header-overlay").addClass("visible")):j=setTimeout(function(){A!=t&&(A.find(".fullwidthabnner").hasClass("hovered")||A.find(".fullwidthabnner").revresume().closest(".slider").trigger("mousemove")),n.find(".header-overlay").removeClass("visible")},300)}),e(window).scroll(function(){f.length&&(i=u.is(":visible")?0:.6667*T()>e(window).scrollTop()?e(window).scrollTop()*-.5:.6667*T()*-.5,f.hasClass("header-parallax")&&f.css("marginBottom",i).find(".page-title").css("bottom",i*-.5+50)),s=k+(C-k)*(v-e(window).scrollTop())/v,l.css({paddingTop:function(){return u.is(":visible")?C:s>k?s:k},paddingBottom:function(){return u.is(":visible")?C:s>k?s:k}}),n.hasClass("stickymenu")&&!u.is(":visible")&&x()<=e(window).scrollTop()?(c.addClass("stickynav"),g.css("display","block"),e(document).height()-e(window).height()<=e(window).scrollTop()?p.removeClass("stickyfooter-bottom"):p.addClass("stickyfooter-bottom")):(c.removeClass("stickynav"),g.css("display","none")),e(window).scrollTop()>0?n.find("#scroll-top").fadeIn(200):n.find("#scroll-top").fadeOut(200)}),e(window).resize(function(){e(window).trigger("scroll"),v=v=o.length?o.outerHeight():0,n.hasClass("stickyfooter")&&(u.is(":visible")?(n.removeClass("stickyfooter"),a.css("marginBottom",0)):(n.addClass("stickyfooter"),y=h.height?h.outerHeight():0,a.css("marginBottom",y-5))),u.is(":visible")?(u.hasClass("open")||d.css("display","none").find('li:not(".nav-path-selected")').children("ul").css("display","none"),d.find("li").addClass("noLava").find("ul").each(function(){var t=e(this),i=t.find(">li>a").parents("ul").length;t.find(">li>a").css({paddingLeft:20*(i-1)+40+"px",backgroundPosition:20*(i-1)+20+"px -5px"}),t.find(">li.nav-path-selected>a").css({paddingLeft:20*(i-1)+40+"px",backgroundPosition:20*(i-1)+20+"px -54px"})})):(u.removeClass("open"),d.css("display","block").find("ul").css("display","block").end().find("li").removeClass("noLava").end().find("ul > li").addClass("noLava").end().find("li.nav-path-selected").trigger("mouseenter").trigger("mouseleave").end().find("li>a").css("paddingLeft","20px"))}).resize(),jQuery().magnificPopup&&(e(".magnific-popup").each(function(){e(this).magnificPopup({type:"image",closeOnContentClick:!0})}),e(".magnific-popup-html").each(function(){e(this).magnificPopup({disableOn:700,type:"iframe"})})),(e("html").hasClass("lt-ie10")||e("html").hasClass("lt-ie9"))&&n.find("input[placeholder], textarea[placeholder]").each(function(){var t=e(this);t.val(t.attr("placeholder")),t.delegate(this,"focus blur",function(e){"focus"==e.type?t.val()==t.attr("placeholder")&&t.val(""):(""==t.val()||t.val()==t.attr("placeholder"))&&t.val(t.attr("placeholder"))})}),n.find("#scroll-top").css("display","none").delegate("a","click",function(t){t.preventDefault(),e("html, body").gwScrollTo({easing:"easeInOutCubic"})}),n.find(".searchform").delegate(this,"submit",function(){var t=e(this),i=t.find('input[name="s"]');return""==i[0].value?(i.focus(),!1):void 0}),d.delegate("li a","click mouseenter mouseleave",function(t){var i=e(this),s=e(this).parent(),n=s.parents("ul").parent("li");"click"==t.type&&(this.href.match(/#/gi)?t.preventDefault():(u.find(".menu-title").html(i.text()),d.find("li.nav-path-selected").removeClass("nav-path-selected").find(">a").css("backgroundPositionY","-5px").css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -5px"}),s.addClass("nav-path-selected"),n.each(function(){var t=e(this);t.hasClass("nav-path-selected")||t.addClass("nav-path-selected").find(">a").css("backgroundPositionY","-54px").css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -54px"})}))),u.is(":visible")&&("click"==t.type?!i.closest("li").find(">ul").is(":visible")&&i.closest("li").find(">ul").length>0&&(t.preventDefault(),i.closest("li").find(">ul").slideDown(300,"easeInOutCubic").end().siblings().find("ul").slideUp(300,"easeInOutCubic")):"mouseenter"==t.type?(i.css("backgroundPositionY","-54px"),i.css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -54px"})):i.closest("li").hasClass("nav-path-selected")||(i.css("backgroundPositionY","-5px"),i.css("backgroundPosition",function(){var t=e(this).css("backgroundPosition").split(" ")[0];return t+" -5px"})))}),u.delegate(this,"click",function(){var t=e(this);d.is(":visible")?d.slideUp(300,"easeInOutCubic"):(t.addClass("open"),d.slideDown(300,"easeInOutCubic"))}),jQuery().lavaLamp&&setTimeout(function(){d.each(function(){e(this).children("li.").addClass("selectedLava").end().find("ul > li").addClass("noLava").end().lavaLamp({fx:"easeOutExpo",speed:500})})},100),n.find(".alert").delegate(".close","click",function(){e(this).closest(".alert").slideUp()}),n.find(".tabs").delegate("li","click",function(t){var i=e(this),s=i.closest(".tabs-wrapper").next(".tabs-content"),n=s.find("> li"),a=i.closest(".tabs").find("> li").index(i);t.preventDefault(),i.hasClass("current")?s.stop().animate({height:n.eq(a).find(".tab-content").outerHeight()},350,"jswing"):(i.addClass("current").siblings(".current").removeClass("current"),n.eq(a).siblings(".current").find(".tab-content").css("display","block").fadeTo(200,0,function(){s.stop().animate({height:n.eq(a).find(".tab-content").outerHeight()},350,"jswing",function(){n.eq(a).siblings(".current").removeClass("current").find(".tab-content").css("display","none"),n.eq(a).addClass("current").find(".tab-content").fadeTo(200,1)})}))}),e(window).resize(function(){n.find(".tabs li.current").trigger("click")}),n.find(".tabs-content").delegate(".tab-title","click",function(t){var i=e(this),s=i.closest("li"),n=i.closest(".tabs-content"),a=(n.find("> li"),n.prev(".tabs-wrapper").find(".tabs")),o=a.find("> li"),l=n.find("> li").index(s);t.preventDefault(),s.hasClass("current")||(s.addClass("current").find(".tab-content").stop().css({display:"none",opacity:1}).slideDown(500,"easeOutExpo"),s.siblings(".current").removeClass("current").find(".tab-content").stop().css("display","block").slideUp(500,"easeOutExpo",function(){n.css("height",s.find(".tab-content").outerHeight())}),o.eq(l).addClass("current").siblings().removeClass("current"))}),n.find(".toggles").delegate(".toggle-title","click",function(t){var i=e(this),s=i.closest("li");t.preventDefault(),s.hasClass("current")?s.removeClass("current").find(".toggle-content").stop().css("display","block").slideUp(500,"easeOutExpo"):(s.addClass("current").find(".toggle-content").stop().css("display","none").slideDown(500,"easeOutExpo"),s.siblings(".current").find(".toggle-title").trigger("click"))});var P=n.find(".progress-bars");P.find(".progress-label span").html("0%").end().find(".bar").css("width",0).bind("inview",function(t,i){var s,n=e(this),a=n.closest("li");n.addClass("trans-enabled"),i===!0&&(n.css("width",Math.round(parseFloat(n.data("width")))+"%").unbind("inview"),s=setInterval(function(){var e=Math.round(n.width()/a.width()*100);a.find(".progress-label span").html(e+"%"),e==Math.round(parseFloat(n.data("width")))&&clearInterval(s)},5))});var O=n.find(".portfolio-isotope"),I=O.find(".portfolio-filter"),L=O.find(".portfolio-posts");jQuery().isotope&&I.delegate("li","click",function(){var i,s=e(this);i=s.data("filter")==t?"*":'[data-filter*="'+s.data("filter")+'"]',setTimeout(function(){L.isotope({filter:i})},100)}),e(window).resize(function(){I.find("li.current").length?I.find("li.current").trigger("click"):I.find("li:first").trigger("click")}),jQuery().carouFredSel&&(n.find(".testimonials .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,auto:!1,height:"variable",width:"100%",pagination:{keys:!1,container:e(this).closest(".slider").find(".slider-pagination"),anchorBuilder:function(e){return'<li><a href="#" data-id="'+e+'"></a></li>'}},swipe:{onTouch:!0},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},10)}).trigger("resize")}})}),n.find(".post-slider .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,height:"variable",width:"100%",height:"auto",auto:!1,next:t.closest(".slider").find(".slider-control-next"),prev:t.closest(".slider").find(".slider-control-prev"),swipe:{onTouch:!0},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},10)}).trigger("resize")}})}),e(".brands .slides").each(function(){var t=e(this);t.carouFredSel({responsive:!0,auto:!1,width:"100%",next:t.closest(".slider").find(".slider-controls .next"),prev:t.closest(".slider").find(".slider-controls .prev"),scroll:1,swipe:{onTouch:!0},items:{width:300,visible:{min:1,max:4}},onCreate:function(){e(window).on("resize",function(){var e=setInterval(function(){0!=t.find("li:first").height()&&(clearInterval(e),t.parent().add(t).css("height",t.children().first().height()+"px"))},100)}).trigger("resize")}})}));var z,D=n.find(".ticker"),M=e(".ticker-controls");D.each(function(){e(this).bind("loaded clicked",function(i,s){var n=e(this),a=n.find(".ticker-list"),o=a.find("li"),l=o.length,s=s==t?"fw":"rev",r=function(e){return e=e>=l?0:e,e=0>e?l-1:e},c=function(e,i){i=i==t?"fw":i,e=e==t?"fw"==i?0:l-1:r(e);var s,c=r(e+1),d=r(e-1);e="fw"==i?c:d,s=o.eq(e).height(),o.stop().fadeTo(200,0,function(){o.css({position:"absolute",top:o.eq(e).height()}).eq(e).css("top","-="+o.eq(e).height()),a.stop().animate({height:s},250,"jswing",function(){o.stop().fadeTo(200,1)})}),"fw"==i?n.data("id",e):n.data("id",e)};"clicked"==i.type&&(clearInterval(z),c(n.data("id"),s),n.trigger("loaded")),"loaded"==i.type&&(clearInterval(z),n.data("id")==t&&(n.data("id",0),a.css("height",o.eq(n.data("id")).height())),z=setInterval(function(){c(n.data("id"))},5e3))})}),M.delegate(".arrow","click",function(t){var i=e(this),s=i.closest(".ticker-controls").prev(".ticker");t.preventDefault(),i.hasClass("next")?s.trigger("clicked"):s.trigger("clicked","rev")}),M.prev(".ticker").trigger("loaded");var H=!1;e(window).resize(function(){H&&clearTimeout(H),H=setTimeout(function(){M.prev(".ticker").trigger("loaded")},100)});var Q=n.find("#contact-form");Q.length&&Q.submit(function(){var i=e(this),s=i.find("#contact-submit"),a=i.find("input[type=text], textarea"),o=(i.find("#captcha"),i.parent().find("#contact-message")),l=s[0].innerHTML;return s.hasClass("disabled")?!1:(e.ajax({type:"POST",url:i[0].action,data:i.serialize(),dataType:"json",beforeSend:function(){o.length>0&&o.stop().slideUp(),s.css("opacity",.5).addClass("disabled")[0].innerHTML=s.data("send")}}).done(function(r){if(s.css("opacity",1).removeClass("disabled")[0].innerHTML=l,a.filter("#captcha")[0].value="",0==o.length&&(o=e("<div />",{id:"contact-message"}).css("display","none"),i.before(o)),"success"==r.result)a.val(""),o.addClass("alert alert-success1").removeClass("alert-error").html(r.message.mail_sent+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown();else if(r.message.mail_sent!=t)o.addClass("alert alert-error").removeClass("alert-success1").html(r.message.mail_sent+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown();else{var c="";jQuery.each(r.message,function(e,t){c+="<p>"+t+"</p>"}),o.addClass("alert alert-error").removeClass("alert-success1").html(c+'<button type="button" class="close"><span class="alert-icon-close"></span></button>').slideDown()}n.find(".alert").delegate(".close","click",function(){e(this).closest(".alert").slideUp()})}),!1)});var S=n.find("#header-map");if(jQuery().goMap&&google&&google.maps){S.each(function(){e(this).goMap({markers:[{address:"Leatherhead, Surrey United Kingdom 01372 818123, United Kingdom",title:"Granth",icon:{image:"assets/images/misc/pin_red.png"}}],scrollwheel:!1,zoom:13,maptype:"ROADMAP"})});var q=!1;e(window).resize(function(){q&&clearTimeout(q),q=setTimeout(function(){e.goMap.getMarkers("markers").length&&e.goMap.map.panTo(e.goMap.getMarkers("markers")[0].getPosition())},100)})}if(jQuery().revolution){var A=n.find(".rev-slider"),U=570;A.find(".fullwidthabnner").css({height:U,maxHeight:U}).revolution({delay:9e3,startheight:U,startwidth:1020,navigationType:"none",navigationArrows:"none",touchenabled:"on",onHoverStop:"on",navOffsetHorizontal:0,navOffsetVertical:20,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,hideSliderAtLimit:0,stopAtSlide:-1,stopAfterLoops:-1,shadow:0,fullWidth:"on"}),A.delegate(".slider-control-prev, .slider-control-next","click",function(t){{var i=e(this);i.closest(".rev-slider")}t.preventDefault(),i.hasClass("slider-control-prev")?A.revprev():A.revnext()})}}),jQuery(document).ready(function(){jQuery(".gallery-box").fancybox({helpers:{title:{type:"float"}},afterShow:function(){var e=$(this.element).attr("data-download");void 0!=e&&$('<a class="fancybox-download" href="'+e+'"></a>').appendTo(this.outer)},padding:0})}),jQuery(document).ready(function(){$(".member-item img").on("error",function(e){-1==e.target.src.indexOf("gravatarmissing.png")&&(e.target.src="/packages/theme_thimbus/themes/thimbus/assets/images/gravatarmissing.png")})});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
{% load i18n static compile_static menu %} {% load i18n static compile_static menu %}
{% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html> <!DOCTYPE html>
<!--[if IE 9]><html dir="ltr" lang="{{ get_current_language }}" class="lt-ie10"> <![endif]--> <!--[if IE 9]><html dir="ltr" lang="{{ LANGUAGE_CODE }}" class="lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!--><html dir="ltr" lang="{{ get_current_language }}" class="gt-ie9 non-ie"><!--<![endif]--> <!--[if gt IE 9]><!--><html dir="ltr" lang="{{ LANGUAGE_CODE }}" class="gt-ie9 non-ie"><!--<![endif]-->
<head> <head>
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]--> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
{% block css_head %} {% block css_head %}
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700" rel="stylesheet" type="text/css">
<link href="{% static "fonts/gillsans.css" %}" rel="stylesheet" type="text/css"> <link href="{% static "fonts/gillsans.css" %}" rel="stylesheet" type="text/css">
<link href="{% static "plugins/font-awesome/css/font-awesome.min.css" %}" rel="stylesheet" type="text/css">
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet" type="text/css"> <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet" type="text/css">
<link href="{% static "plugins/magnific-popup/magnific-popup.css" %}" rel="stylesheet" type="text/css"> <link href="{% static "plugins/magnific-popup/magnific-popup.css" %}" rel="stylesheet" type="text/css">
...@@ -27,9 +28,10 @@ ...@@ -27,9 +28,10 @@
<!-- js head --> <!-- js head -->
{% block js_head %} {% block js_head %}
<script type="text/javascript" src="{% static "plugins/jquery-1.8.1.min.js" %}"></script> <script type="text/javascript" src="{% static "plugins/jquery-1.8.3.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/jquery.jscroll.min.js" %}"></script> <script type="text/javascript" src="{% static "js/jquery.jscroll.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/jquery.fancybox.pack.js" %}"></script> <script type="text/javascript" src="{% static "js/jquery.fancybox.pack.js" %}"></script>
<script type="text/javascript" src="{% static "js/thimbus.js" %}"></script>
<script type="text/javascript" src="{% static "js/scripts.js" %}"></script> <script type="text/javascript" src="{% static "js/scripts.js" %}"></script>
{% endblock %} {% endblock %}
...@@ -136,15 +138,32 @@ ...@@ -136,15 +138,32 @@
<script type="text/javascript" src="{% static "plugins/magnific-popup/jquery.magnific-popup.min.js" %}"></script> <script type="text/javascript" src="{% static "plugins/magnific-popup/jquery.magnific-popup.min.js" %}"></script>
{% endblock %} {% endblock %}
{% if not user.is_authenticated %}
<div class="thimbus-ui" id="thimbus-account-menu-container"> <div class="thimbus-ui" id="thimbus-account-menu-container">
<div class="btn-group open" id="language-selector-menu">
<form action="{% url 'set_language' %}" id="set_language_form" method="post">
{% csrf_token %}
<input name="next" type="hidden" value="{{ redirect_to }}" />
{% if LANGUAGE_CODE == 'nl' %}
<input type="hidden" name="language" value="en" />
<a class="btn btn-default" id="language_submit_btn"><i class="fa fa-flag"></i>English</a>
{% else %}
<input type="hidden" name="language" value="nl" />
<a class="btn btn-default" id="language_submit_btn"><i class="fa fa-flag"></i>Nederlands</a>
{% endif %}
</form>
</div>
{% if not user.is_authenticated %}
<div class="btn-group open" id="thimbus-account-menu"> <div class="btn-group open" id="thimbus-account-menu">
<a class="btn btn-default" href="/account"><i class="fa fa-user"></i> {% trans "Login" %}</a> <a class="btn btn-default" href="/account"><i class="fa fa-user"></i>{% trans "Login" %}</a>
</div> </div>
</div>
{% endif %} {% endif %}
</div>
{% block footer_scripts %}
<script type="text/javascript" src="{% static "js/footer.js" %}"></script>
{% endblock %}
</body> </body>
<!-- /body --> <!-- /body -->
</html> </html>
\ No newline at end of file
{% extends "base.html" %}
{% load i18n %}
{% block page_title %}{% trans "Become active" %}{% endblock %}
{% block body %}