<commit_before>extends ./layouts/default.jade

block head
	title Νέο Άρθρο | Περιοχή Διαχείρισης - #{pageDesc}
	link(rel="stylesheet", type="text/css", href="#{staticURL}vendor/jquery-tags-input/src/jquery.tagsinput.css")		
	script(type="text/javascript" src="#{staticURL}vendor/tinymce/js/tinymce/tinymce.min.js")

block content
	.container
		.row.first-row
			.page
				.title Νέο Άρθρο
				if error
					p ERROR: #{error}
				form(method="post")
				input(type="hidden", name="_csrf", value=csrfToken)
				.form-group
					label(for="title") Τίτλος Project
					input(class="form-control", type="text", id="title", name="title", required)            
				.row
					.form-group.col-md-6
						label(for="name") URL:
						input(class="form-control", type="text", id="name", name="name", required)            
					.form-group.col-md-6
						label(for="thumb") Thumb URI:
						input(class="form-control", type="text", id="thumb", name="thumb", required)
				.row
					.form-group.col-md-2
						label(for="post-lang") Γλώσσα Εμφάνισης:
						select.form-control(id="post-lang", name="post-lang")
							option Ελληνικά
							option English
					.form-group.col-md-10
						label(for="description") SEO Περιγραφή:
						input(class="form-control", type="text", id="description", name="description")
				.form-group
					label(for="post-tags") SEO tags
					input(class="form-control", type="text", id="post-tags", name="post-tags", value="dsg, teiste") 
				.form-group
					label(for="text") Κείμενο:
					textarea(class="form-control", rows="5", id="text", name="text")
				input(type="submit", class="btn btn-success btn-lg", value="Δημιουργία", required)
block scripts
	script(type="text/javascript" src="#{staticURL}vendor/jquery-tags-input/src/jquery.tagsinput.js")
	script(type='text/javascript').
		$('#post-tags').tagsInput();
		tinymce.init({ 
			selector:'textarea', 
			menu: {},
			height : 500, 
			plugins: 'code table image imagetools', 
			toolbar1: 'undo redo |  cut copy paste pastetext | code removeformat',
			toolbar2: 'styleselect bold italic alignleft aligncenter alignright bullist numlist outdent indent | table | image insert',
			image_caption: true,
			image_dimensions: true,
			image_title: true
		});<commit_msg>Correct the indendication<commit_after>extends ./layouts/default.jade

block head
	title Νέο Άρθρο | Περιοχή Διαχείρισης - #{pageDesc}
	link(rel="stylesheet", type="text/css", href="#{staticURL}vendor/jquery-tags-input/src/jquery.tagsinput.css")		
	script(type="text/javascript" src="#{staticURL}vendor/tinymce/js/tinymce/tinymce.min.js")

block content
	.container
		.row.first-row
			.page
				.title Νέο Άρθρο
				if error
					p ERROR: #{error}
				form(method="post")
					input(type="hidden", name="_csrf", value=csrfToken)
					.form-group
						label(for="title") Τίτλος Άρθρου
						input(class="form-control", type="text", id="title", name="title", required)            
					.row
						.form-group.col-md-6
							label(for="name") URL:
							input(class="form-control", type="text", id="name", name="name", required)            
						.form-group.col-md-6
							label(for="thumb") Thumb URI:
							input(class="form-control", type="text", id="thumb", name="thumb", required)
					.row
						.form-group.col-md-2
							label(for="post-lang") Γλώσσα Εμφάνισης:
							select.form-control(id="post-lang", name="post-lang")
								option Ελληνικά
								option English
						.form-group.col-md-10
							label(for="description") SEO Περιγραφή:
							input(class="form-control", type="text", id="description", name="description")
					.form-group
						label(for="post-tags") SEO tags
						input(class="form-control", type="text", id="post-tags", name="post-tags", value="dsg, teiste") 
					.form-group
						label(for="text") Κείμενο:
						textarea(class="form-control", rows="5", id="text", name="text")
					input(type="submit", class="btn btn-success btn-lg", value="Δημιουργία", required)
block scripts
	script(type="text/javascript" src="#{staticURL}vendor/jquery-tags-input/src/jquery.tagsinput.js")
	script(type='text/javascript').
		$('#post-tags').tagsInput();
		tinymce.init({ 
			selector:'textarea', 
			menu: {},
			height : 500, 
			plugins: 'code table image imagetools', 
			toolbar1: 'undo redo |  cut copy paste pastetext | code removeformat',
			toolbar2: 'styleselect bold italic alignleft aligncenter alignright bullist numlist outdent indent | table | image insert',
			image_caption: true,
			image_dimensions: true,
			image_title: true
		});
{'fraction_non_alphanumeric': 0.16379690949227374, 'fraction_numerical': 0.004856512141280353, 'mean_word_length': 3.6519507186858315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2456345', 'n_tokens_mistral': 1953, 'n_tokens_neox': 1545, 'n_words': 294}