Skip to content

Commit fb4e5eb

Browse files
committed
/site/events: fix error from bootlint.
E013 Only columns (`.col-*-*`) may be children of `.row`s Should be in c6f7520 commit. No functional changes.
1 parent 0062e99 commit fb4e5eb

File tree

1 file changed

+32
-30
lines changed

1 file changed

+32
-30
lines changed

src/main/webapp/WEB-INF/views/site/events.html

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -182,36 +182,38 @@ <h3 class="text-center" th:text="${#strings.capitalize(suspicious_activities)}">
182182
</div>
183183

184184
<div th:if="${not #lists.isEmpty(activities)}" class="row text-center">
185-
<nav>
186-
<ul class="pagination">
187-
<li class="disabled" th:class="${pager.prev == null}? 'disabled'">
188-
<span aria-hidden="true" th:if="${pager.prev == null}">&laquo;</span>
189-
<!--/*/
190-
<a href="#" aria-label="Previous"
191-
th:if="${pager.prev != null}"
192-
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.prev})}">
193-
<span aria-hidden="true">&laquo;</span>
194-
</a>
195-
/*/-->
196-
</li>
197-
<li class="active" th:each="item : ${pager.items}" th:class="${item == pager.currentPage}? 'active'">
198-
<a href="#" th:href="@{${SITE_EVENTS_PAGE}(page=${item})}"
199-
th:utext="|${item} &lt;span class='sr-only'&gt;(current)&lt;/span&gt;|">
200-
1 <span class="sr-only">(current)</span>
201-
</a>
202-
</li>
203-
<li class="disabled" th:class="${pager.next == null}? 'disabled'">
204-
<span aria-hidden="true" th:if="${pager.next == null}">&raquo;</span>
205-
<!--/*/
206-
<a href="#" aria-label="Next"
207-
th:if="${pager.next != null}"
208-
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.next})}">
209-
<span aria-hidden="true">&raquo;</span>
210-
</a>
211-
/*/-->
212-
</li>
213-
</ul>
214-
</nav>
185+
<div class="col-sm-12">
186+
<nav>
187+
<ul class="pagination">
188+
<li class="disabled" th:class="${pager.prev == null}? 'disabled'">
189+
<span aria-hidden="true" th:if="${pager.prev == null}">&laquo;</span>
190+
<!--/*/
191+
<a href="#" aria-label="Previous"
192+
th:if="${pager.prev != null}"
193+
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.prev})}">
194+
<span aria-hidden="true">&laquo;</span>
195+
</a>
196+
/*/-->
197+
</li>
198+
<li class="active" th:each="item : ${pager.items}" th:class="${item == pager.currentPage}? 'active'">
199+
<a href="#" th:href="@{${SITE_EVENTS_PAGE}(page=${item})}"
200+
th:utext="|${item} &lt;span class='sr-only'&gt;(current)&lt;/span&gt;|">
201+
1 <span class="sr-only">(current)</span>
202+
</a>
203+
</li>
204+
<li class="disabled" th:class="${pager.next == null}? 'disabled'">
205+
<span aria-hidden="true" th:if="${pager.next == null}">&raquo;</span>
206+
<!--/*/
207+
<a href="#" aria-label="Next"
208+
th:if="${pager.next != null}"
209+
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.next})}">
210+
<span aria-hidden="true">&raquo;</span>
211+
</a>
212+
/*/-->
213+
</li>
214+
</ul>
215+
</nav>
216+
</div>
215217
</div>
216218
</div>
217219
</div>

0 commit comments

Comments
 (0)