Merge pull request '61-rules-pages' (#63) from 61-rules-pages into master
Reviewed-on: #63
This commit is contained in:
commit
cfe1197a3f
@ -37,6 +37,12 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/statistic" th:text="#{messages.menu.statistic}">Link</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/recommendations" th:text="Рекомендации">Link</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/listRules" th:text="Правила">Link</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
30
src/main/resources/templates/listRules.html
Normal file
30
src/main/resources/templates/listRules.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
layout:decorate="~{default}">
|
||||
<head>
|
||||
<title>Простая обработка формы на Spring MVC</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<div class="container" layout:fragment="content">
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">Правила</th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Если задач много, а коммитов мало, то увеличить колличество авторов</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Если авторов много, задач мало, оценнить эффективность авторов</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<a href="/rule" class="btn btn-outline-success">Добавить правило</a>
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
27
src/main/resources/templates/recommendations.html
Normal file
27
src/main/resources/templates/recommendations.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
layout:decorate="~{default}">
|
||||
<head>
|
||||
<title>Простая обработка формы на Spring MVC</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<div class="container" layout:fragment="content">
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">Рекомендации</th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Увеличить колличество авторов</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Оценнить эффективность авторов</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</html>
|
49
src/main/resources/templates/rule.html
Normal file
49
src/main/resources/templates/rule.html
Normal file
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
layout:decorate="~{default}">
|
||||
<head>
|
||||
<title>Простая обработка формы на Spring MVC</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<div class="container" layout:fragment="content">
|
||||
<!-- <form action="#" th:action="${@route.STATISTIC}" th:object="${filterForm}" method="get">-->
|
||||
<form>
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-sm-12">
|
||||
Если
|
||||
</div>
|
||||
<div class="col-md-2 col-sm-12">
|
||||
<select id="select-measures" class="selectpicker" data-live-search="true"
|
||||
data-width="90%">
|
||||
<option value="">много</option>
|
||||
<option value="">мало</option>
|
||||
<option value="">средне</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-1 col-sm-12">
|
||||
времянной ряд
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-12">
|
||||
<select id="select-ts" class="selectpicker" data-live-search="true"
|
||||
data-width="90%">
|
||||
<option value="">авторов</option>
|
||||
<option value="">коммитов</option>
|
||||
<option value="">веток</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-sm-12">
|
||||
то:
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-12">
|
||||
<input type="text" class="form-control" size="40">
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<input type="submit" class="btn btn-outline-success w-50" value="Создать правило"/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user