<commit_before>'use strict';

var isReadOnlyRender = require('mano/client/utils/is-read-only-render');

exports._parent = require('../../view/user-base');

exports['submitted-menu'] = function () {
	li(a({ class: 'submitted-menu-item-active' }, "Official"));
};

exports['sub-main'] = {
	class: { content: true, 'user-forms': true },
	content: function () {
		div(
			{ class: 'section-primary users-table-filter-bar' },
			form(
				div(
					{ class: 'users-table-filter-bar-status' },
					label(
						"Status: "
					),
					select(
						option("Pending for revision"),
						option("Revisioned"),
						option("Todo")
					)
				),
				div(
					label(
						"Search: "
					),
					span({ class: 'input-append' },
							input({ type: 'search' }),
							span({ class: 'add-on' },
								span({ class: 'fa fa-search' })
								)
						)
				),
				_if(isReadOnlyRender, div(input({ type: 'submit' }, "Submit")))
			),
			div(
				a(
					{ class: 'users-table-filter-bar-print', href: '/official/users-list/print/',
						target: '_blank' },
					span({ class: 'fa fa-print' }),
					"Print list"
				)
			)
		);

		ul(
			{ class: 'pagination' },
			li(a("<<")),
			li(a("<")),
			li({ class: 'pagination-active' }, a("1")),
			li(a("2")),
			li(a("3")),
			li(a("4")),
			li(a("5")),
			li(a("6")),
			li(a("7")),
			li(a("8")),
			li(a("9")),
			li(a("10")),
			li(a("11")),
			li(a("12")),
			li(a("13")),
			li(a("14")),
			li(a("15")),<commit_msg>Refactored conditional display of filter table search button. #247<commit_after>'use strict';

var isReadOnlyRender = require('mano/client/utils/is-read-only-render');

exports._parent = require('../../view/user-base');

exports['submitted-menu'] = function () {
	li(a({ class: 'submitted-menu-item-active' }, "Official"));
};

exports['sub-main'] = {
	class: { content: true, 'user-forms': true },
	content: function () {
		div(
			{ class: 'section-primary users-table-filter-bar' },
			form(
				div(
					{ class: 'users-table-filter-bar-status' },
					label(
						"Status: "
					),
					select(
						option("Pending for revision"),
						option("Revisioned"),
						option("Todo")
					)
				),
				div(
					label(
						"Search: "
					),
					span({ class: 'input-append' },
							input({ type: 'search' }),
							span({ class: 'add-on' },
								span({ class: 'fa fa-search' })
								)
						)
				),
				isReadOnlyRender ? div(input({ type: 'submit' }, "Submit")) : null
			),
			div(
				a(
					{ class: 'users-table-filter-bar-print', href: '/official/users-list/print/',
						target: '_blank' },
					span({ class: 'fa fa-print' }),
					"Print list"
				)
			)
		);

		ul(
			{ class: 'pagination' },
			li(a("<<")),
			li(a("<")),
			li({ class: 'pagination-active' }, a("1")),
			li(a("2")),
			li(a("3")),
			li(a("4")),
			li(a("5")),
			li(a("6")),
			li(a("7")),
			li(a("8")),
			li(a("9")),
			li(a("10")),
			li(a("11")),
			li(a("12")),
			li(a("13")),
			li(a("14")),
			li(a("15")),
{'fraction_non_alphanumeric': 0.24446680080482897, 'fraction_numerical': 0.015090543259557344, 'mean_word_length': 2.5301775147928995, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3278093', 'n_tokens_mistral': 1500, 'n_tokens_neox': 1136, 'n_words': 198}