Skip to content

Commit 1883455

Browse files
committed
/series/import/requests: fix E014 error from bootlint.
series/import/list.html:74:6 E014 Columns (`.col-*-*`) can only be children of `.row`s or `.form-group`s Correction for eca110b commit. Addressed to #692
1 parent eca110b commit 1883455

File tree

1 file changed

+45
-43
lines changed
  • src/main/webapp/WEB-INF/views/series/import

1 file changed

+45
-43
lines changed

src/main/webapp/WEB-INF/views/series/import/list.html

+45-43
Original file line numberDiff line numberDiff line change
@@ -71,49 +71,51 @@ <h3 th:text="${#strings.capitalize(header)}">
7171
</p>
7272
/*/-->
7373

74-
<div class="col-sm-12 table-responsive" th:if="${not #lists.isEmpty(requests)}">
75-
<table class="table table-bordered table-striped">
76-
<thead>
77-
<tr>
78-
<th th:text="#{t_date}">Date</th>
79-
<th th:text="#{t_status}">Status</th>
80-
<th th:text="#{t_url}">URL</th>
81-
</tr>
82-
</thead>
83-
<tbody th:remove="all-but-first">
84-
<tr th:each="request : ${requests}">
85-
<td th:text="${#dates.format(request.updatedAt, 'dd.MM.yyyy HH:mm:ss')}">19.12.2017 21:57:12</td>
86-
<td th:switch="${request.status}">
87-
<!--/*/
88-
<span class="label label-default" th:text="${request.status}" th:case=" 'Unprocessed' ">Unprocessed</span>
89-
<span class="label label-info" th:text="${request.status}" th:case=" 'DownloadingSucceeded' ">DownloadingSucceeded</span>
90-
<span class="label label-danger" th:text="${request.status}" th:case=" 'DownloadingFailed' ">DownloadingFailed</span>
91-
/*/-->
92-
<span class="label label-info" th:text="${request.status}" th:case=" 'ParsingSucceeded' ">ParsingSucceeded</span>
93-
<!--/*/
94-
<span class="label label-danger" th:text="${request.status}" th:case=" 'ParsingFailed' ">ParsingFailed</span>
95-
<span class="label label-success" th:text="${request.status}" th:case=" 'ImportSucceeded' ">ImportSucceeded</span>
96-
<span class="label label-warning" th:text="${request.status}" th:case="*">Unknown</span>
97-
/*/-->
98-
</td>
99-
<td>
100-
<a href="./info.html" th:href="@{${REQUEST_IMPORT_PAGE}(id=${request.id})}" th:text="${request.url}">
101-
http://example.com/my-first-series.html
102-
</a>
103-
</td>
104-
</tr>
105-
<tr>
106-
<td>19.12.2017 21:50:01</td>
107-
<td><span class="label label-success">ImportSucceeded</span></td>
108-
<td><a href="./info.html">http://example.com/my-second-series.html</a></td>
109-
</tr>
110-
<tr>
111-
<td>19.12.2017 21:47:05</td>
112-
<td><span class="label label-danger">ParsingFailed</span></td>
113-
<td><a href="./info.html">http://example.com/my-third-series.html</a></td>
114-
</tr>
115-
</tbody>
116-
</table>
74+
<div class="row" th:if="${not #lists.isEmpty(requests)}">
75+
<div class="col-sm-12 table-responsive">
76+
<table class="table table-bordered table-striped">
77+
<thead>
78+
<tr>
79+
<th th:text="#{t_date}">Date</th>
80+
<th th:text="#{t_status}">Status</th>
81+
<th th:text="#{t_url}">URL</th>
82+
</tr>
83+
</thead>
84+
<tbody th:remove="all-but-first">
85+
<tr th:each="request : ${requests}">
86+
<td th:text="${#dates.format(request.updatedAt, 'dd.MM.yyyy HH:mm:ss')}">19.12.2017 21:57:12</td>
87+
<td th:switch="${request.status}">
88+
<!--/*/
89+
<span class="label label-default" th:text="${request.status}" th:case=" 'Unprocessed' ">Unprocessed</span>
90+
<span class="label label-info" th:text="${request.status}" th:case=" 'DownloadingSucceeded' ">DownloadingSucceeded</span>
91+
<span class="label label-danger" th:text="${request.status}" th:case=" 'DownloadingFailed' ">DownloadingFailed</span>
92+
/*/-->
93+
<span class="label label-info" th:text="${request.status}" th:case=" 'ParsingSucceeded' ">ParsingSucceeded</span>
94+
<!--/*/
95+
<span class="label label-danger" th:text="${request.status}" th:case=" 'ParsingFailed' ">ParsingFailed</span>
96+
<span class="label label-success" th:text="${request.status}" th:case=" 'ImportSucceeded' ">ImportSucceeded</span>
97+
<span class="label label-warning" th:text="${request.status}" th:case="*">Unknown</span>
98+
/*/-->
99+
</td>
100+
<td>
101+
<a href="./info.html" th:href="@{${REQUEST_IMPORT_PAGE}(id=${request.id})}" th:text="${request.url}">
102+
http://example.com/my-first-series.html
103+
</a>
104+
</td>
105+
</tr>
106+
<tr>
107+
<td>19.12.2017 21:50:01</td>
108+
<td><span class="label label-success">ImportSucceeded</span></td>
109+
<td><a href="./info.html">http://example.com/my-second-series.html</a></td>
110+
</tr>
111+
<tr>
112+
<td>19.12.2017 21:47:05</td>
113+
<td><span class="label label-danger">ParsingFailed</span></td>
114+
<td><a href="./info.html">http://example.com/my-third-series.html</a></td>
115+
</tr>
116+
</tbody>
117+
</table>
118+
</div>
117119
</div>
118120

119121
</div>

0 commit comments

Comments
 (0)