Skip to content

Commit 24dacb9

Browse files
committed
[DO NOT MERGE] make bootlint fail.
1 parent 481b055 commit 24dacb9

File tree

3 files changed

+32
-34
lines changed

3 files changed

+32
-34
lines changed

src/main/webapp/WEB-INF/views/series/add.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
261261
<span id="image.required" class="required_field">*</span>
262262
</label>
263263
<div class="col-sm-7">
264-
<input type="file" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
264+
<input type="file" id="image" class="form-control" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
265265
<small togglz:active="ADD_ADDITIONAL_IMAGES_TO_SERIES" sec:authorize="hasAuthority('ADD_IMAGES_TO_SERIES')">
266266
<span class="hint-block" th:text="#{t_add_more_images_hint}">
267267
Later you will be able to add additional images

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<div class="col-sm-8 col-sm-offset-2">
121121
<form method="post" class="form-horizontal" enctype="multipart/form-data" th:action="@{${ADD_IMAGE_SERIES_PAGE}(id=${series.id})}" th:object="${addImageForm}">
122122
<div class="form-group" th:classappend="${#fields.hasErrors('image') ? 'has-error' : ''}">
123-
<input type="file" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
123+
<input type="file" class="form-control" id="image" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
124124
<!--/*/
125125
<span id="image.errors" class="help-block" th:if="${#fields.hasErrors('image')}" th:each="error : ${#fields.errors('image')}" th:text="${error}"></span>
126126
/*/-->

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

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

196196
<div th:if="${not #lists.isEmpty(activities)}" class="row text-center">
197-
<div class="col-sm-12">
198-
<nav>
199-
<ul class="pagination">
200-
<li class="disabled" th:class="${pager.prev == null}? 'disabled'">
201-
<span aria-hidden="true" th:if="${pager.prev == null}">&laquo;</span>
202-
<!--/*/
203-
<a href="#" aria-label="Previous"
204-
th:if="${pager.prev != null}"
205-
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.prev})}">
206-
<span aria-hidden="true">&laquo;</span>
207-
</a>
208-
/*/-->
209-
</li>
210-
<li class="active" th:each="item : ${pager.items}" th:class="${item == pager.currentPage}? 'active'">
211-
<a href="#" th:href="@{${SITE_EVENTS_PAGE}(page=${item})}"
212-
th:utext="|${item} &lt;span class='sr-only'&gt;(current)&lt;/span&gt;|">
213-
1 <span class="sr-only">(current)</span>
214-
</a>
215-
</li>
216-
<li class="disabled" th:class="${pager.next == null}? 'disabled'">
217-
<span aria-hidden="true" th:if="${pager.next == null}">&raquo;</span>
218-
<!--/*/
219-
<a href="#" aria-label="Next"
220-
th:if="${pager.next != null}"
221-
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.next})}">
222-
<span aria-hidden="true">&raquo;</span>
223-
</a>
224-
/*/-->
225-
</li>
226-
</ul>
227-
</nav>
228-
</div>
197+
<nav>
198+
<ul class="pagination">
199+
<li class="disabled" th:class="${pager.prev == null}? 'disabled'">
200+
<span aria-hidden="true" th:if="${pager.prev == null}">&laquo;</span>
201+
<!--/*/
202+
<a href="#" aria-label="Previous"
203+
th:if="${pager.prev != null}"
204+
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.prev})}">
205+
<span aria-hidden="true">&laquo;</span>
206+
</a>
207+
/*/-->
208+
</li>
209+
<li class="active" th:each="item : ${pager.items}" th:class="${item == pager.currentPage}? 'active'">
210+
<a href="#" th:href="@{${SITE_EVENTS_PAGE}(page=${item})}"
211+
th:utext="|${item} &lt;span class='sr-only'&gt;(current)&lt;/span&gt;|">
212+
1 <span class="sr-only">(current)</span>
213+
</a>
214+
</li>
215+
<li class="disabled" th:class="${pager.next == null}? 'disabled'">
216+
<span aria-hidden="true" th:if="${pager.next == null}">&raquo;</span>
217+
<!--/*/
218+
<a href="#" aria-label="Next"
219+
th:if="${pager.next != null}"
220+
th:href="@{${SITE_EVENTS_PAGE}(page=${pager.next})}">
221+
<span aria-hidden="true">&raquo;</span>
222+
</a>
223+
/*/-->
224+
</li>
225+
</ul>
226+
</nav>
229227
</div>
230228
</div>
231229
</div>

0 commit comments

Comments
 (0)