<commit_before><!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorator="layout">

<head>

	<th:block th:remove="all">
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="description" content="" />
		<meta name="author" content="" />
	</th:block>

	<title th:text="#{head.title.priceLists}">Ceníky</title>
	
	<th:block th:remove="all">
	<!-- remove all duplicated template css due to auto-merge -->
	
		<!-- ResBill Custom CSS -->
		<link href="../../../css/resbill.css" rel="stylesheet" type="text/css" th:href="@{/css/resbill.css}" />
	
		<!-- Bootstrap Core CSS -->
		<link href="../../../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/bootstrap/dist/css/bootstrap.min.css}" />
	
		<!-- Custom Fonts -->
		<link href="../../../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/font-awesome/css/font-awesome.min.css}" />
	
		<!-- SB Admin 2 CSS -->
		<link href="../../../bower_components/startbootstrap-sb-admin-2/dist/css/sb-admin-2.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/startbootstrap-sb-admin-2/dist/css/sb-admin-2.css}" />
	
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
	        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
	
	</th:block>

</head>
<body>

	<div layout:fragment="content">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header" th:text="#{page.header.priceList.edit}">Úprava ceníku</h1>
			</div>
		</div>
		
		<div class="row">
			<div class="col-lg-12 alert alert-danger" th:if="${#fields.hasErrors('${priceList}')}" th:errors="${priceList}">Global error</div>
		</div>
		
		<div class="row" th:if="${priceList == null}">
			<div class="col-lg-12">
				<p>
					<a href="personList.html" class="btn btn-default" th:href="@{/tariffs/edit(tariffId=${priceList.tariff.id})}" >
						<i class="fa fa-reply"></i>
						<span th:text="#{button.back}">Back</span>
					</a>
				</p>
			</div>
		</div>
		
		<div class="row" th:if="${priceList != null}">
			<div class="col-lg-12">
				<form role="form" method="post" action="#" th:object="${priceList}">
<!-- 					<input type="hidden" th:field="*{id}"/> -->
<!-- 					<input type="hidden" th:field="*{lockVersion}"/> -->
<!-- 					<input type="hidden" th:field="*{tariff.id}"/> -->
					
					<div class="row">
					
						<div class="col-lg-6">
						
							<div class="form-group required" th:classappend="${#fields.hasErrors('period.beginDate')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.period.beginDate}" th:for="period.beginDate">Platnost od</label>
								<div class="input-group date" data-provide="datepicker" data-date-language="cs" data-date-week-start="1" data-date-autoclose="true" data-date-today-highlight="true" data-date-today-btn="linked" th:attr="data-date-format=#{datepicker.date.format}">
									<input type="text" class="form-control" th:field="*{period.beginDate}"/>
									<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
								</div>
								<p class="help-block" th:if="${#fields.hasErrors('period.beginDate')}" th:errors="*{period.beginDate}"/>
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('period.endDate')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.period.endDate}" th:for="period.endDate">Platnost do</label>
								<div class="input-group date" data-provide="datepicker" data-date-language="cs" data-date-week-start="1" data-date-autoclose="true" data-date-today-highlight="true" data-date-today-btn="linked" th:attr="data-date-format=#{datepicker.date.format}">
									<input type="text" class="form-control" th:field="*{period.endDate}"/>
									<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
								</div>
								<p class="help-block" th:if="${#fields.hasErrors('period.endDate')}" th:errors="*{period.endDate}"/>
							</div>
							
							<div class="form-group" th:classappend="${#fields.hasErrors('cpuPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.cpu}" th:for="cpuPrice">CPU</label>
								<input type="text" class="form-control" th:field="*{cpuPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('cpuPrice')}" th:errors="*{cpuPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('memoryMBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.memory}" th:for="memoryMBPrice">Pamet</label>
								<input type="text" class="form-control" th:field="*{memoryMBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('memoryMBPrice')}" th:errors="*{memoryMBPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('spaceGBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.space}" th:for="spaceGBPrice">Data</label>
								<input type="text" class="form-control" th:field="*{spaceGBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('spaceGBPrice')}" th:errors="*{spaceGBPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('backupGBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.backup}" th:for="backupGBPrice">Zaloha</label>
								<input type="text" class="form-control" th:field="*{backupGBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('backupGBPrice')}" th:errors="*{backupGBPrice}" />
							</div>
						
						</div>
					</div>
					
					<div class="row">
						<div class="col-lg-12">
							<p>
								<button class="btn btn-primary" type="submit" name="save" >
									<i class="fa fa-save"></i>
									<span th:text="#{button.save}">Save</span>
								</button>
								<a href="personList.html" class="btn btn-default" th:href="@{/tariffs/edit(tariffId=${priceList.tariff.id})}" >
									<i class="fa fa-reply"></i>
									<span th:text="#{button.back}">Back</span>
								</a>
							</p>				
						</div>
					</div>
					
					<div class="row" th:if="*{id != null}">
						<div class="col-lg-12">
							<p>
								<button class="btn btn-danger" type="submit" th:onclick="'return confirm(\'__#{confirm.delete}__\')'" name="delete" >
									<i class="fa fa-trash-o"></i>
									<span th:text="#{button.delete}">Delete</span>
								</button>
							</p>
						</div>
					</div>
					
				</form>
			
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
	</div>

	<!-- jQuery -->
	<script src="../../../bower_components/jquery/dist/jquery.min.js" th:src="@{/bower_components/jquery/dist/jquery.min.js}"></script>

	<!-- Bootstrap Core JavaScript -->
	<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js" th:src="@{/bower_components/bootstrap/dist/js/bootstrap.min.js}"></script>

	<!-- Custom Theme JavaScript -->
	<script src="../../../bower_components/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js" th:src="@{/bower_components/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js}"></script>

</body>
</html><commit_msg>MISC-65: ResBill: vytvoření systému pro datové centrum<commit_after><!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorator="layout">

<head>

	<th:block th:remove="all">
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="description" content="" />
		<meta name="author" content="" />
	</th:block>

	<title th:text="#{head.title.priceLists}">Ceníky</title>
	
	<th:block th:remove="all">
	<!-- remove all duplicated template css due to auto-merge -->
	
		<!-- ResBill Custom CSS -->
		<link href="../../../css/resbill.css" rel="stylesheet" type="text/css" th:href="@{/css/resbill.css}" />
	
		<!-- Bootstrap Core CSS -->
		<link href="../../../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/bootstrap/dist/css/bootstrap.min.css}" />
	
		<!-- Custom Fonts -->
		<link href="../../../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/font-awesome/css/font-awesome.min.css}" />
	
		<!-- SB Admin 2 CSS -->
		<link href="../../../bower_components/startbootstrap-sb-admin-2/dist/css/sb-admin-2.css" rel="stylesheet" type="text/css" th:href="@{/bower_components/startbootstrap-sb-admin-2/dist/css/sb-admin-2.css}" />
	
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
	        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
	
	</th:block>

</head>
<body>

	<div layout:fragment="content">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header" th:text="#{page.header.priceList.edit}">Úprava ceníku</h1>
			</div>
		</div>
		
		<div class="row">
			<div class="col-lg-12 alert alert-danger" th:if="${#fields.hasErrors('${priceList}')}" th:errors="${priceList}">Global error</div>
		</div>
		
		<div class="row" th:if="${priceList == null}">
			<div class="col-lg-12">
				<p>
					<a href="personList.html" class="btn btn-default" th:href="@{/tariffs/edit(tariffId=${priceList.tariff.id})}" >
						<i class="fa fa-reply"></i>
						<span th:text="#{button.back}">Back</span>
					</a>
				</p>
			</div>
		</div>
		
		<div class="row" th:if="${priceList != null}">
			<div class="col-lg-12">
				<form role="form" method="post" action="#" th:object="${priceList}">
					
					<div class="row">
					
						<div class="col-lg-6">
						
							<div class="form-group required" th:classappend="${#fields.hasErrors('period.beginDate')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.period.beginDate}" th:for="period.beginDate">Platnost od</label>
								<div class="input-group date" data-provide="datepicker" data-date-language="cs" data-date-week-start="1" data-date-autoclose="true" data-date-today-highlight="true" data-date-today-btn="linked" th:attr="data-date-format=#{datepicker.date.format}">
									<input type="text" class="form-control" th:field="*{period.beginDate}"/>
									<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
								</div>
								<p class="help-block" th:if="${#fields.hasErrors('period.beginDate')}" th:errors="*{period.beginDate}"/>
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('period.endDate')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.period.endDate}" th:for="period.endDate">Platnost do</label>
								<div class="input-group date" data-provide="datepicker" data-date-language="cs" data-date-week-start="1" data-date-autoclose="true" data-date-today-highlight="true" data-date-today-btn="linked" th:attr="data-date-format=#{datepicker.date.format}">
									<input type="text" class="form-control" th:field="*{period.endDate}"/>
									<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
								</div>
								<p class="help-block" th:if="${#fields.hasErrors('period.endDate')}" th:errors="*{period.endDate}"/>
							</div>
							
							<div class="form-group" th:classappend="${#fields.hasErrors('cpuPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.cpu}" th:for="cpuPrice">CPU</label>
								<input type="text" class="form-control" th:field="*{cpuPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('cpuPrice')}" th:errors="*{cpuPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('memoryMBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.memory}" th:for="memoryMBPrice">Pamet</label>
								<input type="text" class="form-control" th:field="*{memoryMBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('memoryMBPrice')}" th:errors="*{memoryMBPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('spaceGBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.space}" th:for="spaceGBPrice">Data</label>
								<input type="text" class="form-control" th:field="*{spaceGBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('spaceGBPrice')}" th:errors="*{spaceGBPrice}" />
							</div>
						
							<div class="form-group" th:classappend="${#fields.hasErrors('backupGBPrice')} ? 'has-error'">
								<label class="control-label" th:text="#{label.priceList.price.backup}" th:for="backupGBPrice">Zaloha</label>
								<input type="text" class="form-control" th:field="*{backupGBPrice}"/>
								<p class="help-block" th:if="${#fields.hasErrors('backupGBPrice')}" th:errors="*{backupGBPrice}" />
							</div>
						
						</div>
					</div>
					
					<div class="row">
						<div class="col-lg-12">
							<p>
								<button class="btn btn-primary" type="submit" name="save" >
									<i class="fa fa-save"></i>
									<span th:text="#{button.save}">Save</span>
								</button>
								<a href="personList.html" class="btn btn-default" th:href="@{/tariffs/edit(tariffId=${priceList.tariff.id})}" >
									<i class="fa fa-reply"></i>
									<span th:text="#{button.back}">Back</span>
								</a>
							</p>				
						</div>
					</div>
					
					<div class="row" th:if="*{id != null}">
						<div class="col-lg-12">
							<p>
								<button class="btn btn-danger" type="submit" th:onclick="'return confirm(\'__#{confirm.delete}__\')'" name="delete" >
									<i class="fa fa-trash-o"></i>
									<span th:text="#{button.delete}">Delete</span>
								</button>
							</p>
						</div>
					</div>
					
				</form>
			
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
	</div>

	<!-- jQuery -->
	<script src="../../../bower_components/jquery/dist/jquery.min.js" th:src="@{/bower_components/jquery/dist/jquery.min.js}"></script>

	<!-- Bootstrap Core JavaScript -->
	<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js" th:src="@{/bower_components/bootstrap/dist/js/bootstrap.min.js}"></script>

	<!-- Custom Theme JavaScript -->
	<script src="../../../bower_components/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js" th:src="@{/bower_components/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js}"></script>

</body>
</html>
{'fraction_non_alphanumeric': 0.22493949815310152, 'fraction_numerical': 0.00611387084447841, 'mean_word_length': 3.1487450462351387, 'pattern_counts': {'":': 0, '<': 325, '<?xml version=': 0, '>': 325, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, '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': '2497721', 'n_tokens_mistral': 6700, 'n_tokens_neox': 5389, 'n_words': 768}