<commit_before>extends includes/header

block content
	div.jumbotron
		div.container.bg-transparent(style="border-top: none; border-bottom: none")
			div.row
				div.col-xs-offset-2.col-sm-offset-4.col-sm-6.col-md-offset-9.col-md-3.col-xs-8
					//- .btn-group.btn-group-lg
						//- a.btn.btn-danger View results
					a.pull-right.btn.btn-info.btn-sm(href="/student/logout") Log out
			
			//The school's logo
			img.img-center.img-responsive.header-logo.hidden-xs(src="/images/logo.png", alt="MUAS").hidden-sm
			//Display the introduction message
			div.message-box.clearfix
				.first-line: p Management University of Africa Awards
				.second-line.flexslider.home-slider
					ul.slides
						li: p Student of the Year
						li: p Most Popular Student
						li: p Best Lecturer
						li: p Best Department
						li: p Consistent Best Dresser
						li: p MUA Staff
						li: p Sports Person

	section#portfolio
		div.bg-light
			.container
				div.section-header.scrollimation.fade-up.in
					div.section-icon: i.fa.fa-trophy
					h1.section-title The Nominees
					p.section-description.lead Non-votable categories

				div.row
					div.col-sm-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Dean Award
								blockquote

					div.col-md-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Suprise Award
								blockquote

					div.col-md-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Academic Award
								blockquote


		div.bg-light
			.container
				div.section-header.scrollimation.fade-up.in
					//- div.section-icon: i.fa.fa-suitcase
					h1.section-title The Contestants
					p.section-description.lead Who do you think is the best?

		// The detailed preview handler for each contestant
		div#preview-scroll
		div#preview-loader

		div#project-preview-wrapper
			div#project-preview
				.container.bg-transparent
					//.preview-header
						h1.preview-title
						span.close-preview: i.fa.fa-times

					.row
						.col-sm-4#preview-media
						.col-sm-8#preview-details
							//- h2 project title
							ul
							.aligncenter
								button(href='#', data-userid="", data-category="", data-contestant-id="").btn.btn-theme.btn-lg
									| Vote for 
									span.preview-title <NAME>

					//- #preview-content
		div.bg-light.padding-bottom
			.container.masonry
				.row
					- if(data.votedfor.length !== 0) {
					//The ones the user has voted for, results
					.col-xs-12(data-results="true")
						.row
							.page-header
								h3 Current results of your prefered candidates

							- var id = 0; //their IDs are as they are listed in the Array
							//loop through the candidate chosen
							for a in data.votedfor
								- id ++
								div.col-xs-12.col-sm-4.col-md-3.on-hover-effect.contestant.pull-left(data-contestantid="#{id + a.abbr}")
									.panel.panel-warning
										.panel-heading
											h4(data-abbr="#{a.abbr}").grey.panel-title.smaller #{a.category}
										.panel-body
											div.media
												div.pull-left
													img.img.media-object.project-thumb(src="#{a.image}", width="96px")
												div.media-body.orange
													h4.media-heading.orange #{a.name}
													p: span.grey
														| a total of
														span.label.label-info.white #{a.votes}
														//- span.label.label-success.white #{a.votecount}
													div.progress.progress-striped
														.progress-bar.progress-bar-success(role="progressbar", aria-valuenow="#{a.inpercent}", aria-valuemin="0", aria-valuemax="100", style="width: #{a.inpercent}%")
															span.sr-only #{a.inpercent} %
															//- | #{a.inpercent} %
													small
														| Received <commit_msg>hid total votes<commit_after>extends includes/header

block content
	div.jumbotron
		div.container.bg-transparent(style="border-top: none; border-bottom: none")
			div.row
				div.col-xs-offset-2.col-sm-offset-4.col-sm-6.col-md-offset-9.col-md-3.col-xs-8
					//- .btn-group.btn-group-lg
						//- a.btn.btn-danger View results
					a.pull-right.btn.btn-info.btn-sm(href="/student/logout") Log out
			
			//The school's logo
			img.img-center.img-responsive.header-logo.hidden-xs(src="/images/logo.png", alt="MUAS").hidden-sm
			//Display the introduction message
			div.message-box.clearfix
				.first-line: p Management University of Africa Awards
				.second-line.flexslider.home-slider
					ul.slides
						li: p Student of the Year
						li: p Most Popular Student
						li: p Best Lecturer
						li: p Best Department
						li: p Consistent Best Dresser
						li: p MUA Staff
						li: p Sports Person

	section#portfolio
		div.bg-light
			.container
				div.section-header.scrollimation.fade-up.in
					div.section-icon: i.fa.fa-trophy
					h1.section-title The Nominees
					p.section-description.lead Non-votable categories

				div.row
					div.col-sm-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Dean Award
								blockquote

					div.col-md-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Suprise Award
								blockquote

					div.col-md-4.col-sm-12
						div.row
							div.col-sm-3.col-xs-12
								img(src="/images/gallery/10.jpg").img-responsive.img-thumbnail

							div.col-sm-9.col-xs-12
								h2 Academic Award
								blockquote


		div.bg-light
			.container
				div.section-header.scrollimation.fade-up.in
					//- div.section-icon: i.fa.fa-suitcase
					h1.section-title The Contestants
					p.section-description.lead Who do you think is the best?

		// The detailed preview handler for each contestant
		div#preview-scroll
		div#preview-loader

		div#project-preview-wrapper
			div#project-preview
				.container.bg-transparent
					//.preview-header
						h1.preview-title
						span.close-preview: i.fa.fa-times

					.row
						.col-sm-4#preview-media
						.col-sm-8#preview-details
							//- h2 project title
							ul
							.aligncenter
								button(href='#', data-userid="", data-category="", data-contestant-id="").btn.btn-theme.btn-lg
									| Vote for 
									span.preview-title <NAME>

					//- #preview-content
		div.bg-light.padding-bottom
			.container.masonry
				.row
					- if(data.votedfor.length !== 0) {
					//The ones the user has voted for, results
					.col-xs-12(data-results="true")
						.row
							.page-header
								h3 Current results of your prefered candidates

							- var id = 0; //their IDs are as they are listed in the Array
							//loop through the candidate chosen
							for a in data.votedfor
								- id ++
								div.col-xs-12.col-sm-4.col-md-3.on-hover-effect.contestant.pull-left(data-contestantid="#{id + a.abbr}")
									.panel.panel-warning
										.panel-heading
											h4(data-abbr="#{a.abbr}").grey.panel-title.smaller #{a.category}
										.panel-body
											div.media
												div.pull-left
													img.img.media-object.project-thumb(src="#{a.image}", width="96px")
												div.media-body.orange
													h4.media-heading.orange #{a.name}
													p: span.grey
														| Has a total of 
														span.label.label-info.white #{a.votes}
														|  votes
														//- span.label.label-success.white #{a.votecount}
													div.progress.progress-striped
														.progress-bar.progress-bar-success(role="progressbar", aria-valuenow="#{a.inpercent}", aria-valuemin="0", aria-valuemax="100", style="width: #{a.inpercent}%")
															span.sr-only #{a.inpercent} %
															//- | #{a.inpercent} %
													small
														| Received 
{'fraction_non_alphanumeric': 0.13385339276869737, 'fraction_numerical': 0.016097077761267953, 'mean_word_length': 1.9521198830409356, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4509884', 'n_tokens_mistral': 4038, 'n_tokens_neox': 2721, 'n_words': 482}