<commit_before>'use strict';

var syncStyle = require('dom-ext/html-element/#/sync-style')
  , zoomOnHover = require('dom-ext/html-element/#/zoom-on-hover')
  , isMobileView = require('../utils/is-mobile-view')
  , syncHeight = require('../utils/sync-height');

exports['user-name'] = function () {
	text("User Submited");
};

exports['submitted-menu'] = function () {
	nav(
		ul(
			{ class: 'items' },
			li(
				a({ class: 'item-active' },
					"Request")
			),
			li(
				a({ href: '/profile/' }, "Profile")
			)
		)
	);
};

exports['sub-main'] = function () {
	var source,
	target,
	elem;

	section(
		{ class: 'submitted-main' },
		table(
			{ class: 'submitted-user-data-table', responsive: true },
			thead(
				tr(
					th("Status"),
					th("Company"),
					th("Application number"),
					th("Application date"),
					th("Requested registrations"),
					th("")
				)
			),
			tbody(
				tr(
					td("Pending for revision"),
					td("abstudios"),
					td("123"),
					td("29/07/2014"),
					td(
						span({ class: 'label-reg' }, "Brela"),
						span({ class: 'label-reg' }, "Tinc"),
						span({ class: 'label-reg' }, "Vat"),
						span({ class: 'label-reg' }, "Gepf"),
						span({ class: 'label-reg' }, "Nssf"),
						span({ class: 'label-reg' }, "Lapf")
					),
					td(
						a(
							{ class: 'hint-optional hint-optional-left', 'data-hint': 'Download status' },
							span({ class: 'fa fa-download' }, "Download")
						)
					)
				)
			)
		)
	);
	section(
		{ class: 'section-primary' },
		h2({ class: 'container-with-nav' }, "History of your request",
			a(
				{ class: 'hint-optional hint-optional-left',
					'data-hint': 'Print history of Your request' },
				span({ class: 'fa fa-print' }, "Print")
			)),
		table(
			{ class: 'submitted-user-history' },
			tbody(
				tr(
					th(
						div("User")
					),
					td(
						div("24/07/2014 10:09:22")
					),
					td(
						div("Required modifications sent by user")
					)
				),
				tr(
					th(
						div("File sent")
					),
					td(
						div("24/07/2014 13:09:22")
					),
					td(
						div("File sent")
					)
				),
				tr(
					th(
						div("Official")
					),
					td(
						div("24/07/2014 16:19:22")
					),
					td(
						div("Document accepted")
					)
				)
			)
		)
	);
	section(
		{ class: 'section-primary' },
		h3("Documents uploaded with the application"),
		ol({ class: 'submitted-documents-list' },
			li(
				a("Memorandum and articles of association")
			),
			li(
				a("Proof of identity for director 1")
			),
			li(
				a("Proof of identity for director 2")
			),
			li(
				a("Registered title deed")
			)),
		h3("Complete content of the company file"),
		ol({ class: 'submitted-documents-thumbs' },
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docASubFile2.thumb.idoc.png.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status error fa fa-exclamation ' }),
					img({ src: '/uploads/docASubFile1.thumb.idoc.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docBSubFile1.thumb.idoc.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docASubFile2.thumb.idoc.png.jpg' })
				)
			))
	);
	section(
		{ class: 'submitted-preview' },
		source = div(
			{ class: 'section-primary submitted-preview-document' },
			div({ class: 'container-with-nav' },
				h3(i({ class: 'list-item-number' }, "1"),
					"Memorandum and articles of association"),
				div({ class: 'submitted-preview-documents-navigation' },
					div(
						a(span({ class: 'fa fa-chevron-circle-left' }, "Previous")),
						span("1 / 4"),
						a(span({ class: 'fa fa-chevron-circle-right' }, "Next"))
					))),
			zoomOnHover.call(
				elem = div(
					{ class: 'image-placeholder' },
					img({ src: '/uploads/docASubFile2.idoc.png.jpg' })
				)
			),
			div({ class: 'submitted-preview-documents-navigation' },
				div(
					a(span({ class: 'fa fa-chevron-circle-left' }, "Previous")),
					span("1 / 4"),
					a(span({ class: 'fa fa-chevron-circle-right' }, "Next"))
				))
		),
		target = div({ class: 'section-primary submitted-preview-user-data' },
			h2({ class: 'container-with-nav' }, "Application form",
				a(
					{ class: 'hint-optional hint-optional-left',
						'data-hint': 'Print Your application form' },
					span({ class: 'fa fa-print' }, "Print")
				)),

			section(
				{ class: 'entity-data-section' },
				h3("Proposed company name"),
				table(
					tbody(
						tr(
							td("Blink IT Solutions")
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Business activity"),
				table(
					tbody(
						tr(
							th("Activity"),
							td("Air chater agent")
						),
						tr(
							th("Activity starting date"),
							td("7/30/2014")
						),
						tr(
							th("Date of account year end"),
							td("12/31/2014")
						),
						tr(
							th("Does the company have branches?"),
							td("Yes")
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Company secretary"),
				section(
					{ class: 'entity-data-sub-section' },
					h4("Basic secretary data"),
					table(
						tbody(
							tr(
								th("Title"),
								td("Mr")
							),
							tr(
								th("First Name"),
								td("Andrei")
							),
							tr(
								th("Middle Name"),
								td("Mihai")
							),
							tr(
								th("Surname"),
								td("Balan")
							)
						)
					)
				),
				section(
					{ class: 'entity-data-sub-section' },
					h4("Residential address"),
					table(
						tbody(
							tr(
								th("Plot"),
								td("1")
							),
							tr(
								th("Block"),
								td("1")
							),
							tr(
								th("Street or location"),
								td("<NAME>")
							),
							tr(
								th("City, district or town"),
								td("Bucharest")
							),
							tr(
								th("P.O. box"),
								td("1")
							),
							tr(
								th("Country"),
								td("Romania")
							)
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Applicants"),
				ul(
					{ class: 'entity-entities-section' },
					li(
						h4("<NAME>"),
						h5("Personal data"),
						div(
							{ class: 'entity-data-sub-section' },
							h6("Basic data"),
							table(
								tbody(
									tr(
										th("Name"),
										td("Marko")
									),
									tr(
										th("Surname"),
										td("Zagalo")
									)
								)
							)
						),
						div(
							{ class: 'entity-data-sub-section' },
							h6("Additional data"),
							table(
								tbody(
									tr(
										th("Document type"),
										td("X")
									),
									tr(
										th("Document number"),
										td("123")
									),
									tr(
										th("Marital status"),
										td("")
									),
									tr(
										th("Date of birth"),
										td("25-06-1991")
									),
									tr(
										th("Nationality"),
										td("Romanian")
									),
									tr(
										th("E-mail"),
										td("<EMAIL>")
									)
								)
							)
						),
						div(
							{ class: 'entity-data-sub-section' },
							h6("Address"),
							table(
								tbody(
									tr(
										th("Address"),
										td("XXX")
									),
									tr(
										th("Number"),
										td("1")
									),
									tr(
										th("Postal code"),
										td("X")
									),
									tr(
										th("City"),
										td("Bucharest")
									),
									tr(
										th("Country"),
										td("Romania")
									)
								)
							)
						)
					),
					li(
						h4("<NAME>"),
						h5("Additional data"),
						div(
							{ class: 'entity-data-section' },
							table(
								tbody(
									tr(
										th("Document type"),
										td("X")
									),
									tr(
										th("Document number"),
										td("123")
									),
									tr(
										th("Marital status"),
										td("")
									),
									tr(
										th("Date of birth"),
										td("25-06-1991")
									),
									tr(
										th("Nationality"),
										td("Romanian")
									),
									tr(
										th("E-mail"),
										td("<EMAIL>")
									)
								)
							)
						)
					)
				)<commit_msg>Changed sections structure in user submitted application form. #206<commit_after>'use strict';

var syncStyle = require('dom-ext/html-element/#/sync-style')
  , zoomOnHover = require('dom-ext/html-element/#/zoom-on-hover')
  , isMobileView = require('../utils/is-mobile-view')
  , syncHeight = require('../utils/sync-height');

exports['user-name'] = function () {
	text("User Submited");
};

exports['submitted-menu'] = function () {
	nav(
		ul(
			{ class: 'items' },
			li(
				a({ class: 'item-active' },
					"Request")
			),
			li(
				a({ href: '/profile/' }, "Profile")
			)
		)
	);
};

exports['sub-main'] = function () {
	var source,
	target,
	elem;

	section(
		{ class: 'submitted-main' },
		table(
			{ class: 'submitted-user-data-table', responsive: true },
			thead(
				tr(
					th("Status"),
					th("Company"),
					th("Application number"),
					th("Application date"),
					th("Requested registrations"),
					th("")
				)
			),
			tbody(
				tr(
					td("Pending for revision"),
					td("abstudios"),
					td("123"),
					td("29/07/2014"),
					td(
						span({ class: 'label-reg' }, "Brela"),
						span({ class: 'label-reg' }, "Tinc"),
						span({ class: 'label-reg' }, "Vat"),
						span({ class: 'label-reg' }, "Gepf"),
						span({ class: 'label-reg' }, "Nssf"),
						span({ class: 'label-reg' }, "Lapf")
					),
					td(
						a(
							{ class: 'hint-optional hint-optional-left', 'data-hint': 'Download status' },
							span({ class: 'fa fa-download' }, "Download")
						)
					)
				)
			)
		)
	);
	section(
		{ class: 'section-primary' },
		h2({ class: 'container-with-nav' }, "History of your request",
			a(
				{ class: 'hint-optional hint-optional-left',
					'data-hint': 'Print history of Your request' },
				span({ class: 'fa fa-print' }, "Print")
			)),
		table(
			{ class: 'submitted-user-history' },
			tbody(
				tr(
					th(
						div("User")
					),
					td(
						div("24/07/2014 10:09:22")
					),
					td(
						div("Required modifications sent by user")
					)
				),
				tr(
					th(
						div("File sent")
					),
					td(
						div("24/07/2014 13:09:22")
					),
					td(
						div("File sent")
					)
				),
				tr(
					th(
						div("Official")
					),
					td(
						div("24/07/2014 16:19:22")
					),
					td(
						div("Document accepted")
					)
				)
			)
		)
	);
	section(
		{ class: 'section-primary' },
		h3("Documents uploaded with the application"),
		ol({ class: 'submitted-documents-list' },
			li(
				a("Memorandum and articles of association")
			),
			li(
				a("Proof of identity for director 1")
			),
			li(
				a("Proof of identity for director 2")
			),
			li(
				a("Registered title deed")
			)),
		h3("Complete content of the company file"),
		ol({ class: 'submitted-documents-thumbs' },
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docASubFile2.thumb.idoc.png.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status error fa fa-exclamation ' }),
					img({ src: '/uploads/docASubFile1.thumb.idoc.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docBSubFile1.thumb.idoc.jpg' })
				)
			),
			li(
				a(
					span({ class: 'review-status success fa fa-check ' }),
					img({ src: '/uploads/docASubFile2.thumb.idoc.png.jpg' })
				)
			))
	);
	section(
		{ class: 'submitted-preview' },
		source = div(
			{ class: 'section-primary submitted-preview-document' },
			div({ class: 'container-with-nav' },
				h3(i({ class: 'list-item-number' }, "1"),
					"Memorandum and articles of association"),
				div({ class: 'submitted-preview-documents-navigation' },
					div(
						a(span({ class: 'fa fa-chevron-circle-left' }, "Previous")),
						span("1 / 4"),
						a(span({ class: 'fa fa-chevron-circle-right' }, "Next"))
					))),
			zoomOnHover.call(
				elem = div(
					{ class: 'image-placeholder' },
					img({ src: '/uploads/docASubFile2.idoc.png.jpg' })
				)
			),
			div({ class: 'submitted-preview-documents-navigation' },
				div(
					a(span({ class: 'fa fa-chevron-circle-left' }, "Previous")),
					span("1 / 4"),
					a(span({ class: 'fa fa-chevron-circle-right' }, "Next"))
				))
		),
		target = div({ class: 'section-primary submitted-preview-user-data' },
			h2({ class: 'container-with-nav' }, "Application form",
				a(
					{ class: 'hint-optional hint-optional-left',
						'data-hint': 'Print Your application form' },
					span({ class: 'fa fa-print' }, "Print")
				)),

			section(
				{ class: 'entity-data-section' },
				h3("Proposed company name"),
				table(
					tbody(
						tr(
							td("Blink IT Solutions")
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Business activity"),
				table(
					tbody(
						tr(
							th("Activity"),
							td("Air chater agent")
						),
						tr(
							th("Activity starting date"),
							td("7/30/2014")
						),
						tr(
							th("Date of account year end"),
							td("12/31/2014")
						),
						tr(
							th("Does the company have branches?"),
							td("Yes")
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Company secretary"),
				section(
					{ class: 'entity-data-sub-section' },
					h4("Basic secretary data"),
					table(
						tbody(
							tr(
								th("Title"),
								td("Mr")
							),
							tr(
								th("First Name"),
								td("Andrei")
							),
							tr(
								th("Middle Name"),
								td("Mihai")
							),
							tr(
								th("Surname"),
								td("Balan")
							)
						)
					)
				),
				section(
					{ class: 'entity-data-sub-section' },
					h4("Residential address"),
					table(
						tbody(
							tr(
								th("Plot"),
								td("1")
							),
							tr(
								th("Block"),
								td("1")
							),
							tr(
								th("Street or location"),
								td("<NAME>")
							),
							tr(
								th("City, district or town"),
								td("Bucharest")
							),
							tr(
								th("P.O. box"),
								td("1")
							),
							tr(
								th("Country"),
								td("Romania")
							)
						)
					)
				)
			),
			section(
				{ class: 'entity-data-section' },
				h3("Applicants"),
				ul(
					{ class: 'entity-entities-section' },
					li(
						h4("<NAME>"),
						section(
							{ class: 'entity-data-section' },
							h5("Personal data"),
							section(
								{ class: 'entity-data-sub-section' },
								h6("Basic data"),
								table(
									tbody(
										tr(
											th("Name"),
											td("Marko")
										),
										tr(
											th("Surname"),
											td("Zagalo")
										)
									)
								)
							),
							section(
								{ class: 'entity-data-sub-section' },
								h6("Additional data"),
								table(
									tbody(
										tr(
											th("Document type"),
											td("X")
										),
										tr(
											th("Document number"),
											td("123")
										),
										tr(
											th("Marital status"),
											td("")
										),
										tr(
											th("Date of birth"),
											td("25-06-1991")
										),
										tr(
											th("Nationality"),
											td("Romanian")
										),
										tr(
											th("E-mail"),
											td("<EMAIL>")
										)
									)
								)
							),
							section(
								{ class: 'entity-data-sub-section' },
								h6("Address"),
								table(
									tbody(
										tr(
											th("Address"),
											td("XXX")
										),
										tr(
											th("Number"),
											td("1")
										),
										tr(
											th("Postal code"),
											td("X")
										),
										tr(
											th("City"),
											td("Bucharest")
										),
										tr(
											th("Country"),
											td("Romania")
										)
									)
								)
							)
						)
					),
					li(
						h4("<NAME>"),
						section(
							{ class: 'entity-data-section' },
							h5("Additional data"),
							table(
								tbody(
									tr(
										th("Document type"),
										td("X")
									),
									tr(
										th("Document number"),
										td("123")
									),
									tr(
										th("Marital status"),
										td("")
									),
									tr(
										th("Date of birth"),
										td("25-06-1991")
									),
									tr(
										th("Nationality"),
										td("Romanian")
									),
									tr(
										th("E-mail"),
										td("<EMAIL>")
									)
								)
							)
						)
					)
				)
{'fraction_non_alphanumeric': 0.1814713246691308, 'fraction_numerical': 0.014963634195779183, 'mean_word_length': 1.5459098497495827, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7369809', 'n_tokens_mistral': 9621, 'n_tokens_neox': 5585, 'n_words': 1097}