WIP: страницы для правил #62
@ -22,19 +22,22 @@
|
|||||||
th:text="${branch.name}"></a>
|
th:text="${branch.name}"></a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a role="button" class="btn btn-primary" title="Повторить индексацию ветки"
|
<div class="pull-right">
|
||||||
th:if="${branch.indexingStatus.name() != 'INDEXING'}"
|
<a role="button" class="btn btn-primary" title="Повторить индексацию ветки"
|
||||||
th:href="@{'reindexBranch?branchId=' + ${branch.id}}">
|
th:if="${branch.indexingStatus.name() != 'INDEXING'}"
|
||||||
<i class="fa fa-repeat" aria-hidden="true"></i>
|
th:href="@{'reindexBranch?branchId=' + ${branch.id}}">
|
||||||
</a>
|
<i class="fa fa-repeat" aria-hidden="true"></i>
|
||||||
<a role="button" class="btn btn-dark disabled"
|
</a>
|
||||||
th:if="${branch.indexingStatus.name() == 'INDEXING'}">Индексируется...
|
<a role="button" class="btn btn-dark disabled"
|
||||||
</a>
|
th:if="${branch.indexingStatus.name() == 'INDEXING'}">Индексируется...
|
||||||
<a role="button" class="btn btn-danger" th:if="${branch.indexingStatus.name() != 'INDEXING'}"
|
</a>
|
||||||
th:href="@{'deleteBranch?id=' + ${branch.id} + '&repositoryId='+${repository.id}}"
|
<a role="button" class="btn btn-danger"
|
||||||
onclick="return confirm('Удалить ветку?')">
|
th:if="${branch.indexingStatus.name() != 'INDEXING'}"
|
||||||
<i class="fa fa-times" aria-hidden="true"></i>
|
th:href="@{'deleteBranch?id=' + ${branch.id} + '&repositoryId='+${repository.id}}"
|
||||||
</a>
|
onclick="return confirm('Удалить ветку?')">
|
||||||
|
<i class="fa fa-times" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<td><a th:href="@{${@route.LIST_REPOSITORY_BRANCHES} + '?repositoryId=' + ${repo.id}}"
|
<td><a th:href="@{${@route.LIST_REPOSITORY_BRANCHES} + '?repositoryId=' + ${repo.id}}"
|
||||||
th:text="${repo.name}" th:title="${repo.url}"></a></td>
|
th:text="${repo.name}" th:title="${repo.url}"></a></td>
|
||||||
<td>
|
<td>
|
||||||
<a role="button" class="btn btn-danger" th:href="@{'deleteRepository?id=' + ${repo.id}}"
|
<a role="button" class="btn btn-danger pull-right" th:href="@{'deleteRepository?id=' + ${repo.id}}"
|
||||||
onclick="return confirm('Удалить репозиторий?')">
|
onclick="return confirm('Удалить репозиторий?')">
|
||||||
<i class="fa fa-times" aria-hidden="true"></i>
|
<i class="fa fa-times" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user