Skip to content

Commit 494641c

Browse files
author
Mark Robinson
committed
Convert footer to use bootstrap styling
1 parent b4a8b52 commit 494641c

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/main/resources/static/css/main.css

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ body {
3939
}
4040

4141
#footer {
42-
text-align: center;
43-
font-style: italic;
4442
margin-top: 15px;
45-
}
46-
47-
#footer a {
48-
color: #939393;
49-
}
50-
51-
#footer a:hover {
52-
color: #494949;
43+
margin-bottom: 15px;
5344
}

src/main/resources/templates/fragments/footer.html

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,25 @@
1919
-->
2020

2121
<html xmlns:th="http://www.thymeleaf.org">
22+
<head>
23+
<link rel="stylesheet" type="text/css" href="../../static/css/main.css" />
24+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" />
25+
</head>
2226
<body>
23-
<div th:fragment="copy" id="footer">
24-
<a href="https://github.com/common-workflow-language/cwlviewer" rel="noopener" target="_blank">CWL Viewer</a>
25-
&copy; 2016 <a href="https://github.com/common-workflow-language/" rel="noopener" target="_blank">Common Workflow Project</a>
26-
and <a href="https://github.com/orgs/common-workflow-language/people" rel="noopener" target="_blank">contributors</a>,
27-
distributed under <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="noopener" target="_blank">Apache license, version 2.0</a>
28-
<br />
29-
<span th:if="${workflow != null}">
30-
<a th:href="@{'https://github.com/' + ${workflow.retrievedFrom.owner} + '/' + ${workflow.retrievedFrom.repoName}}" href="#" rel="noopener" target="_blank">Shown workflow</a> has separate copyright and license
31-
</span>
27+
<div th:fragment="copy" id="footer" class="container">
28+
<div class="row">
29+
<hr />
30+
<div class="col-lg-12 muted text-center">
31+
<a href="https://github.com/common-workflow-language/cwlviewer" rel="noopener" target="_blank">CWL Viewer</a>
32+
&copy; 2016 <a href="https://github.com/common-workflow-language/" rel="noopener" target="_blank">Common Workflow Project</a>
33+
and <a href="https://github.com/orgs/common-workflow-language/people" rel="noopener" target="_blank">contributors</a>,
34+
distributed under <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="noopener" target="_blank">Apache license, version 2.0</a>
35+
<br />
36+
<span th:if="${workflow != null}">
37+
<a th:href="@{'https://github.com/' + ${workflow.retrievedFrom.owner} + '/' + ${workflow.retrievedFrom.repoName}}" href="#" rel="noopener" target="_blank">Shown workflow</a> has separate copyright and license
38+
</span>
39+
</div>
40+
</div>
3241
</div>
3342
</body>
3443
</html>

0 commit comments

Comments
 (0)