<commit_before>doctype html
html
	<!--Looking under the hood? Check out our GitHub Repo at http://tinyurl.com/planhubcode or apply to work with us at http://tinyurl.com/planhubjoin-->
	head
		title= title
		link(href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css", rel="stylesheet", integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==",crossorigin="anonymous")
		link(href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/yeti/bootstrap.min.css", rel="stylesheet" integrity="sha256-gJ9rCvTS5xodBImuaUYf1WfbdDKq54HCPz9wk8spvGs= sha512-weqt+X3kGDDAW9V32W7bWc6aSNCMGNQsdOpfJJz/qD/Yhp+kNeR+YyvvWojJ+afETB31L0C4eO0pcygxfTgjgw==" crossorigin="anonymous")
		link(href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css", rel="stylesheet", integrity="sha256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg==", crossorigin="anonymous")

		link(href="#{basePath}/css/time-polyfill.css", rel="stylesheet")
		link(href="#{basePath}/chosen/chosen.min.css", rel="stylesheet")
		link(href="#{basePath}/css/jquery.highlighttextarea.css", rel="stylesheet")
		link(href="#{basePath}/css/jquery-ui.min.css", rel="stylesheet")
		link(href="#{basePath}/css/sweetalert.css", rel="stylesheet")
		link(href="#{basePath}/css/introjs.css", rel="stylesheet")
		link(href="#{basePath}/css/print.css", rel="stylesheet", media="print")

		link(href="#{basePath}/css/style.css", rel="stylesheet")

		script(src="https://code.jquery.com/jquery-2.1.4.min.js")
		script(src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js", integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==", crossorigin="anonymous")
		script(src="https://canvasjs.com/assets/script/canvasjs.min.js")
		
		script(src="#{basePath}/js/modernizer.js")
		script(src="#{basePath}/js/jquery.highlighttextarea.js")
		script(src="#{basePath}/js/jquery-ui.min.js")
		script(src="#{basePath}/js/sweetalert.min.js")
		script(src="#{basePath}/js/intro.js")
		script(src="#{basePath}/js/coursesLib.js", defer)

		link(rel="stylesheet", href="#{global.basePath}/css/page.css")
		link(rel="stylesheet", href="#{global.basePath}/css/overview.css")
		link(rel="stylesheet", href="#{global.basePath}/css/planner.css")
		link(rel="stylesheet", href="#{global.basePath}/css/hwView.css")
		link(rel="stylesheet", href="#{global.basePath}/css/myDay.css")
		link(rel="stylesheet", href="#{global.basePath}/css/admin.css")

		link(rel="stylesheet", href="#{global.basePath}/css/prefs.css")

		script(type="text/javascript", src="#{global.basePath}/js/moment.min.js")
		script(type="text/javascript", src="#{global.basePath}/js/time-polyfill.min.js")
		script(type="text/javascript", src="#{global.basePath}/chosen/chosen.jquery.min.js")

		script(type="text/javascript", src="#{global.basePath}/js/utils.js")
		script(type="text/javascript", src="#{global.basePath}/js/page.js")

		script(type="text/javascript", src="#{global.basePath}/js/api.js")

		script(type="text/javascript", src="#{global.basePath}/js/overview.js")
		script(type="text/javascript", src="#{global.basePath}/js/planner.js")
		script(type="text/javascript", src="#{global.basePath}/js/hwView.js")
		script(type="text/javascript", src="#{global.basePath}/js/myDay.js")
		script(type="text/javascript", src="#{global.basePath}/js/labs.js")
		script(type="text/javascript", src="#{global.basePath}/js/graphs.js")
		
		if user.level > 0
			script(type="text/javascript", src="#{global.basePath}/js/admin.js")
			
		script(type="text/javascript", src="#{global.basePath}/js/prefs.js")

	body
		div(id="basePath", class="hidden")= global.basePath
		div(id="username", class="hidden")= user.username
		nav(class="navbar navbar-default navbar-fixed-top web-navbar", data-step="1", data-intro="Welcome to PlanHub, #{user.name}! This short tour will guide you through the different features. You can feel free to skip it! (just press the skip button below).")
			div(class="container-fluid")
				div(class="navbar-header", data-step="8", data-intro="We hope you enjoy PlanHub! To get started, click Done below, and then select a tab.")
					button(type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse", aria-expanded="false")
						span(class="sr-only") Toggle navigation
						span(class="icon-bar")
						span(class="icon-bar")
						span(class="icon-bar")
					a(class="navbar-brand", href="#")
						img(src="#{global.basePath}/images/icon128.png", width="24px", height="24px", class="planhub-logo-nav")
						span PlanHub
				
				div(class="collapse navbar-collapse", id="navbar-collapse")
					ul(class="nav navbar-nav")
						li
							a.dropdown-toggle(href='#', data-toggle='dropdown', role='button', aria-expanded='false')
								| Go 
								span.caret

							ul.dropdown-menu.go-dropdown(role='menu')
								li
									a(data-page="overview") Overview
								li
									a(data-page="planner") Planner
								li
									a(data-page="hwView") Homework View
								if user.level > 0
									li.divider
									li
										a(data-page="admin") Admin
									li
										a(data-page="prefs") Preferences
						if isStaging
							li(class="staging-warning", data-toggle="tooltip", data-placement="bottom", title="You're using PlanHub Staging. This is for testing purposes only-don't use it as your real planner!")
								a(href="#{basePath}/staging") Staging

					ul(class="nav navbar-nav navbar-right")
						li(class="feedback-btn", data-step="5", data-intro="Have a good idea for PlanHub? Send it to us with this button!")
							a(class="ideaBtn", data-toggle="tooltip", data-placement="bottom", title="Have a great new idea? Send it to us.")
								i(class="fa fa-lightbulb-o")
						li(class="feedback-btn", data-step="6", data-intro="Do you like a feature? Send us your thoughts with this button!")
							a(class="smileBtn", data-toggle="tooltip", data-placement="bottom", title="Like something? Send us a smile.")
								i(class="fa fa-smile-o")
						li(class="feedback-btn", data-step="7", data-intro="Have you found a bug? Do you dislike a feature? Send us your thoughts with this button!")
							a(class="frownBtn", data-toggle="tooltip", data-placement="bottom", title="Don't like something? Send us a frown.")
								i(class="fa fa-frown-o")
						li
							a.dropdown-toggle(class="user-name", href='#', data-toggle='dropdown', role='button', aria-expanded='false')
								span= user.name
								span.caret
							ul.dropdown-menu
								li
									a(href="#{basePath}/logout") Log out
									a(href="#prefs") Prefrences
		nav(class="navbar navbar-fixed-top print-navbar")
			div(class="container-fluid")
					span
						img(src="#{global.basePath}/images/icon128.png", width="24px", height="24px", class="planhub-logo-nav")
						PlanHub
						span - 
						span(class="user-name")= user.name

		div(class="loadOverlay")
			i(class="fa fa-circle-o-notch fa-spin")
			span  Loading...
			div(class="loadWarn")
				div Loading is taking longer than usual.
				button(id="loadButton") Reload?

		div(id="feedback-modal", class="modal fade")
			div(class="modal-dialog")
				div(class="modal-content")
					div(class="modal-header")
						button(type="button", class="close", data-dismiss="modal", aria-label="Close")
							span(aria-hidden="true") &times;
						h4(class="modal-title")
							span(id="feedback-modal-title-first") Send a 
							span(class="feedback-type") 
					
					div(class="modal-body")
						p(class="feedback-desc")<commit_msg>Pref_e_rences isn't really ready yet...<commit_after>doctype html
html
	<!--Looking under the hood? Check out our GitHub Repo at http://tinyurl.com/planhubcode or apply to work with us at http://tinyurl.com/planhubjoin-->
	head
		title= title
		link(href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css", rel="stylesheet", integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==",crossorigin="anonymous")
		link(href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/yeti/bootstrap.min.css", rel="stylesheet" integrity="sha256-gJ9rCvTS5xodBImuaUYf1WfbdDKq54HCPz9wk8spvGs= sha512-weqt+X3kGDDAW9V32W7bWc6aSNCMGNQsdOpfJJz/qD/Yhp+kNeR+YyvvWojJ+afETB31L0C4eO0pcygxfTgjgw==" crossorigin="anonymous")
		link(href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css", rel="stylesheet", integrity="<PASSWORD>256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg==", crossorigin="anonymous")

		link(href="#{basePath}/css/time-polyfill.css", rel="stylesheet")
		link(href="#{basePath}/chosen/chosen.min.css", rel="stylesheet")
		link(href="#{basePath}/css/jquery.highlighttextarea.css", rel="stylesheet")
		link(href="#{basePath}/css/jquery-ui.min.css", rel="stylesheet")
		link(href="#{basePath}/css/sweetalert.css", rel="stylesheet")
		link(href="#{basePath}/css/introjs.css", rel="stylesheet")
		link(href="#{basePath}/css/print.css", rel="stylesheet", media="print")

		link(href="#{basePath}/css/style.css", rel="stylesheet")

		script(src="https://code.jquery.com/jquery-2.1.4.min.js")
		script(src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js", integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==", crossorigin="anonymous")
		script(src="https://canvasjs.com/assets/script/canvasjs.min.js")
		
		script(src="#{basePath}/js/modernizer.js")
		script(src="#{basePath}/js/jquery.highlighttextarea.js")
		script(src="#{basePath}/js/jquery-ui.min.js")
		script(src="#{basePath}/js/sweetalert.min.js")
		script(src="#{basePath}/js/intro.js")
		script(src="#{basePath}/js/coursesLib.js", defer)

		link(rel="stylesheet", href="#{global.basePath}/css/page.css")
		link(rel="stylesheet", href="#{global.basePath}/css/overview.css")
		link(rel="stylesheet", href="#{global.basePath}/css/planner.css")
		link(rel="stylesheet", href="#{global.basePath}/css/hwView.css")
		link(rel="stylesheet", href="#{global.basePath}/css/myDay.css")
		link(rel="stylesheet", href="#{global.basePath}/css/admin.css")

		link(rel="stylesheet", href="#{global.basePath}/css/prefs.css")

		script(type="text/javascript", src="#{global.basePath}/js/moment.min.js")
		script(type="text/javascript", src="#{global.basePath}/js/time-polyfill.min.js")
		script(type="text/javascript", src="#{global.basePath}/chosen/chosen.jquery.min.js")

		script(type="text/javascript", src="#{global.basePath}/js/utils.js")
		script(type="text/javascript", src="#{global.basePath}/js/page.js")

		script(type="text/javascript", src="#{global.basePath}/js/api.js")

		script(type="text/javascript", src="#{global.basePath}/js/overview.js")
		script(type="text/javascript", src="#{global.basePath}/js/planner.js")
		script(type="text/javascript", src="#{global.basePath}/js/hwView.js")
		script(type="text/javascript", src="#{global.basePath}/js/myDay.js")
		script(type="text/javascript", src="#{global.basePath}/js/labs.js")
		script(type="text/javascript", src="#{global.basePath}/js/graphs.js")
		
		if user.level > 0
			script(type="text/javascript", src="#{global.basePath}/js/admin.js")
			
		script(type="text/javascript", src="#{global.basePath}/js/prefs.js")

	body
		div(id="basePath", class="hidden")= global.basePath
		div(id="username", class="hidden")= user.username
		nav(class="navbar navbar-default navbar-fixed-top web-navbar", data-step="1", data-intro="Welcome to PlanHub, #{user.name}! This short tour will guide you through the different features. You can feel free to skip it! (just press the skip button below).")
			div(class="container-fluid")
				div(class="navbar-header", data-step="8", data-intro="We hope you enjoy PlanHub! To get started, click Done below, and then select a tab.")
					button(type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse", aria-expanded="false")
						span(class="sr-only") Toggle navigation
						span(class="icon-bar")
						span(class="icon-bar")
						span(class="icon-bar")
					a(class="navbar-brand", href="#")
						img(src="#{global.basePath}/images/icon128.png", width="24px", height="24px", class="planhub-logo-nav")
						span PlanHub
				
				div(class="collapse navbar-collapse", id="navbar-collapse")
					ul(class="nav navbar-nav")
						li
							a.dropdown-toggle(href='#', data-toggle='dropdown', role='button', aria-expanded='false')
								| Go 
								span.caret

							ul.dropdown-menu.go-dropdown(role='menu')
								li
									a(data-page="overview") Overview
								li
									a(data-page="planner") Planner
								li
									a(data-page="hwView") Homework View
								if user.level > 0
									li.divider
									li
										a(data-page="admin") Admin
									li
										a(data-page="prefs") Preferences
						if isStaging
							li(class="staging-warning", data-toggle="tooltip", data-placement="bottom", title="You're using PlanHub Staging. This is for testing purposes only-don't use it as your real planner!")
								a(href="#{basePath}/staging") Staging

					ul(class="nav navbar-nav navbar-right")
						li(class="feedback-btn", data-step="5", data-intro="Have a good idea for PlanHub? Send it to us with this button!")
							a(class="ideaBtn", data-toggle="tooltip", data-placement="bottom", title="Have a great new idea? Send it to us.")
								i(class="fa fa-lightbulb-o")
						li(class="feedback-btn", data-step="6", data-intro="Do you like a feature? Send us your thoughts with this button!")
							a(class="smileBtn", data-toggle="tooltip", data-placement="bottom", title="Like something? Send us a smile.")
								i(class="fa fa-smile-o")
						li(class="feedback-btn", data-step="7", data-intro="Have you found a bug? Do you dislike a feature? Send us your thoughts with this button!")
							a(class="frownBtn", data-toggle="tooltip", data-placement="bottom", title="Don't like something? Send us a frown.")
								i(class="fa fa-frown-o")
						li
							a.dropdown-toggle(class="user-name", href='#', data-toggle='dropdown', role='button', aria-expanded='false')
								span= user.name
								span.caret
							ul.dropdown-menu
								li
									a(href="#{basePath}/logout") Log out
		nav(class="navbar navbar-fixed-top print-navbar")
			div(class="container-fluid")
					span
						img(src="#{global.basePath}/images/icon128.png", width="24px", height="24px", class="planhub-logo-nav")
						PlanHub
						span - 
						span(class="user-name")= user.name

		div(class="loadOverlay")
			i(class="fa fa-circle-o-notch fa-spin")
			span  Loading...
			div(class="loadWarn")
				div Loading is taking longer than usual.
				button(id="loadButton") Reload?

		div(id="feedback-modal", class="modal fade")
			div(class="modal-dialog")
				div(class="modal-content")
					div(class="modal-header")
						button(type="button", class="close", data-dismiss="modal", aria-label="Close")
							span(aria-hidden="true") &times;
						h4(class="modal-title")
							span(id="feedback-modal-title-first") Send a 
							span(class="feedback-type") 
					
					div(class="modal-body")
						p(class="feedback-desc")
{'fraction_non_alphanumeric': 0.17994100294985252, 'fraction_numerical': 0.017699115044247787, 'mean_word_length': 4.640144665461121, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 12, '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': '1148004', 'n_tokens_mistral': 6645, 'n_tokens_neox': 5470, 'n_words': 801}