38 lines
1.8 KiB
HTML
38 lines
1.8 KiB
HTML
<!DOCTYPE HTML>
|
|
<html xmlns:th="http://www.thymeleaf.org">
|
|
<head th:fragment="headerfiles">
|
|
<meta charset="UTF-8"/>
|
|
</head>
|
|
<body>
|
|
<span th:fragment="paperStatus (paperStatus, title, small)" class="fa-stack fa-1x">
|
|
<th:block th:switch="${paperStatus.name()}" >
|
|
<div th:case="'ATTENTION'">
|
|
<i class="fa fa-circle text-warning" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'DRAFT'">
|
|
<i class="fa fa-circle text-draft" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'ON_PREPARATION'">
|
|
<i class="fa fa-circle text-primary" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'ON_REVIEW'">
|
|
<i class="fa fa-circle text-review" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'COMPLETED'">
|
|
<i class="fa fa-circle text-success" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'FAILED'">
|
|
<i class="fa fa-circle text-failed" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'ACCEPTED'">
|
|
<i class="fa fa-circle text-accepted" th:classappend="${small} ? fa-stack-1x : fa-stack-2x" th:title="${title}"></i>
|
|
</div>
|
|
<div th:case="'NOT_ACCEPTED'">
|
|
<i class="fa fa-circle text-not-accepted"
|
|
th:classappend="${small} ? fa-stack-1x : fa-stack-2x"></i>
|
|
</div>
|
|
</th:block>
|
|
<i th:if="not ${small}" class="fa fa-file-text-o fa-stack-1x fa-inverse" th:title="${title}"></i>
|
|
</span>
|
|
</body>
|
|
</html> |