<commit_before>include ../mixins/flashMessages

doctype 5
html
	head
		meta(charset="utf-8")
		meta(name="viewport", content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width")
		
		title= title
		
		//- Component Stylesheets
		link(rel="stylesheet", href="/keystone/js/lib/select2/select2-3.3.2.css")
		link(rel="stylesheet", href="/keystone/js/lib/pikaday/pikaday-1.1.0.css")
		
		//- Keystone Stylesheet
		link(rel="stylesheet", href="/keystone/styles/keystone.min.css")
		block css
		
		link(rel="shortcut icon", href="/favicon.ico", type="image/x-icon")
		block head
		
	body
		#wrap
			nav(role='navigation')#header.navbar.navbar-default.navbar-static-top: .container
				a(href='/').navbar-backtobrand.hidden-xs: span.glyphicon.glyphicon-arrow-left
				.navbar-header
					button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-headernav-collapse')
						span.sr-only Toggle section navigation
						span.icon-bar
						span.icon-bar
						span.icon-bar
					if section.lists && section.lists.length > 1
						a(href='/keystone', class=(section == 'home' ? 'active' : null)).navbar-brand= brand
						
					else
						a(href='/keystone', class=(section == 'home' ? 'active' : null)).navbar-brand= brand
				.collapse.navbar-collapse.navbar-headernav-collapse
					ul.nav.navbar-nav: each navSection in nav.sections
						li(class=section.key == navSection.key ? 'active' : false): a(href='/keystone/' + navSection.lists[0].path)= navSection.label
					if signout
						ul.nav.navbar-nav.navbar-right
							li.divider
							li: a(href=signout).signout Sign Out
			if section.lists && section.lists.length > 1
				nav(role='navigation')#section-nav.navbar.navbar-default.navbar-static-top: .container
					.navbar-header
						button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-sectionnav-collapse')
							span.sr-only Toggle list navigation
							span.icon-bar
							span.icon-bar
							span.icon-bar
						.navbar-brand.visible-xs
							=section.label
							if section.label != list.label
								| : #{list.label}
					.collapse.navbar-collapse.navbar-sectionnav-collapse
						ul.nav.navbar-nav: each navList in section.lists
							li(class=navList.key == list.key ? 'active' : false): a(href='/keystone/' + navList.path)= navList.label
			#body: .container
				block intro
				+flash-messages(messages)
				block content
		
		#footer: .container
			p Powered by 
				a(href='http://github.com/JedWatson/keystone', target='_blank') Keystone JS
				| .
		
		//- Common
		script(src="/keystone/js/lib/underscore/underscore-1.5.1.min.js")
		script(src="/keystone/js/lib/jquery/jquery-1.10.2.min.js")
		
		//- Bootstrap Components
		script(src='/keystone/js/lib/bootstrap/collapse.js')
		script(src='/keystone/js/lib/bootstrap/dropdown.js')
		script(src='/keystone/js/lib/bootstrap/tooltip.js')
		script(src='/keystone/js/lib/bootstrap/button.js')
		
		//- Other Components
		script(src="/keystone/js/lib/moment/moment-1.7.2.min.js")
		script(src="/keystone/js/lib/move/move-0.1.1.min.js")
		script(src="/keystone/js/lib/select2/select2-3.3.2.min.js")
		script(src="/keystone/js/lib/pikaday/pikaday-1.1.0.js")
		script(src="/keystone/js/lib/pikaday/pikaday.jquery-1.1.0.js")<commit_msg>Jade layout cleanup<commit_after>include ../mixins/flashMessages

doctype 5
html
	head
		meta(charset="utf-8")
		meta(name="viewport", content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width")
		
		title= title
		
		//- Component Stylesheets
		link(rel="stylesheet", href="/keystone/js/lib/select2/select2-3.3.2.css")
		link(rel="stylesheet", href="/keystone/js/lib/pikaday/pikaday-1.1.0.css")
		
		//- Keystone Stylesheet
		link(rel="stylesheet", href="/keystone/styles/keystone.min.css")
		block css
		
		link(rel="shortcut icon", href="/favicon.ico", type="image/x-icon")
		block head
		
	body
		#wrap
			nav(role='navigation')#header.navbar.navbar-default.navbar-static-top: .container
				a(href='/').navbar-backtobrand.hidden-xs: span.glyphicon.glyphicon-arrow-left
				.navbar-header
					button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-headernav-collapse')
						span.sr-only Toggle section navigation
						span.icon-bar
						span.icon-bar
						span.icon-bar
					if section.lists && section.lists.length > 1
						a(href='/keystone', class=(section == 'home' ? 'active' : null)).navbar-brand= brand
						
					else
						a(href='/keystone', class=(section == 'home' ? 'active' : null)).navbar-brand= brand
				.collapse.navbar-collapse.navbar-headernav-collapse
					ul.nav.navbar-nav
						each navSection in nav.sections
							li(class=section.key == navSection.key ? 'active' : false): a(href='/keystone/' + navSection.lists[0].path)= navSection.label
					if signout
						ul.nav.navbar-nav.navbar-right
							li.divider
							li: a(href=signout).signout Sign Out
			if section.lists && section.lists.length > 1
				nav(role='navigation')#section-nav.navbar.navbar-default.navbar-static-top: .container
					.navbar-header
						button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-sectionnav-collapse')
							span.sr-only Toggle list navigation
							span.icon-bar
							span.icon-bar
							span.icon-bar
						.navbar-brand.visible-xs
							=section.label
							if section.label != list.label
								| : #{list.label}
					.collapse.navbar-collapse.navbar-sectionnav-collapse
						ul.nav.navbar-nav
							each navList in section.lists
								li(class=navList.key == list.key ? 'active' : false): a(href='/keystone/' + navList.path)= navList.label
			#body: .container
				block intro
				+flash-messages(messages)
				block content
		
		#footer: .container
			p Powered by 
				a(href='http://github.com/JedWatson/keystone', target='_blank') Keystone JS
				| .
		
		//- Common
		script(src="/keystone/js/lib/underscore/underscore-1.5.1.min.js")
		script(src="/keystone/js/lib/jquery/jquery-1.10.2.min.js")
		
		//- Bootstrap Components
		script(src='/keystone/js/lib/bootstrap/collapse.js')
		script(src='/keystone/js/lib/bootstrap/dropdown.js')
		script(src='/keystone/js/lib/bootstrap/tooltip.js')
		script(src='/keystone/js/lib/bootstrap/button.js')
		
		//- Other Components
		script(src="/keystone/js/lib/moment/moment-1.7.2.min.js")
		script(src="/keystone/js/lib/move/move-0.1.1.min.js")
		script(src="/keystone/js/lib/select2/select2-3.3.2.min.js")
		script(src="/keystone/js/lib/pikaday/pikaday-1.1.0.js")
		script(src="/keystone/js/lib/pikaday/pikaday.jquery-1.1.0.js")
{'fraction_non_alphanumeric': 0.16674273543283127, 'fraction_numerical': 0.01217100258633805, 'mean_word_length': 3.2577720207253886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3920404', 'n_tokens_mistral': 2869, 'n_tokens_neox': 2245, 'n_words': 305}