Revize 7b31ca35
Přidáno uživatelem Ondřej Váně před téměř 4 roky(ů)
src/main/webapp/WEB-INF/templates/anti-pattern.html | ||
---|---|---|
23 | 23 |
<div th:replace="fragments/navbar :: navBar"></div> |
24 | 24 |
<!-- ./Navigation bar imported --> |
25 | 25 |
<div class="card"> |
26 |
<h5 class="card-header">Anti Pattern</h5>
|
|
26 |
<h3 class="card-header">Anti Pattern</h3>
|
|
27 | 27 |
<div class="card-body"> |
28 | 28 |
<div class="form-group"> |
29 | 29 |
<label for="projectId">Anti Pattern Id:</label> |
... | ... | |
34 | 34 |
<input disabled type="text" class="form-control" id="projectName" th:value="${antiPattern.printName}"> |
35 | 35 |
</div> |
36 | 36 |
<div class="form-group"> |
37 |
<label for="projectId">Project description:</label>
|
|
37 |
<label for="projectId">Anti Pattern description:</label>
|
|
38 | 38 |
<textarea disabled class="form-control" id="projectDescription" rows="5" |
39 | 39 |
th:text="${antiPattern.description}"></textarea> |
40 | 40 |
</div> |
41 |
<h5>Anti Pattern configurations</h5> |
|
42 |
<div th:each="config : ${antiPattern.configurations}" class="form-group"> |
|
43 |
<label th:text="${config.value.printName} + ':'" th:for="${config.value.name}"></label> |
|
44 |
<input disabled type="text" class="form-control" th:id="${config.value.name}" th:value="${config.value.value}"> |
|
45 |
<small th:text="${config.value.description}" th:value="${config.value.name}" class="form-text text-muted"></small> |
|
46 |
</div> |
|
41 | 47 |
</div> |
42 | 48 |
</div> |
43 | 49 |
|
src/main/webapp/WEB-INF/templates/configuration.html | ||
---|---|---|
31 | 31 |
<h3 th:text="${antiPattern.printName}"></h3> |
32 | 32 |
<div th:each="config : ${antiPattern.configurations}"> |
33 | 33 |
<div class="form-group row"> |
34 |
<label th:text="${config.value.printName}" th:for="${config.value.name}" |
|
34 |
<label th:text="${config.value.printName} + ':'" th:for="${config.value.name}"
|
|
35 | 35 |
class="col-sm-5 col-form-label"></label> |
36 | 36 |
<div class="col-sm-5"> |
37 | 37 |
<input th:value="${config.value.value}" class="form-control" th:id="${config.value.name}" |
Také k dispozici: Unified diff
Added configuration for single anti-pattern view