-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from tdrwenski/add-template-fragments
Add custom template fragments
- Loading branch information
Showing
3 changed files
with
90 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>TDS custom template fragments</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<div th:fragment="banner" class="banner"> | ||
<h2> | ||
Welcome to the NSF Unidata THREDDS Data Server! | ||
</h2> | ||
</div> | ||
|
||
<div th:fragment="footer"> | ||
<div class="footer-buffer"></div> | ||
<div class="footer"> | ||
<h4> | ||
<a class="static" th:href="${installUrl}" th:text="${installName}"></a> at <a class="static" th:href="${hostInstUrl}" th:text="${hostInst}"></a> see <a class="static" th:href="${contextPath} + '/info/serverInfo.html'"> Info </a></h4> | ||
|
||
<h4><th:block th:text="${webappName} + ' [Version ' + ${webappVersion} + ' - ' + ${webappBuildTimestamp} + ']'"/></h4> | ||
|
||
<h4> | ||
<a class="static" href="https://docs.unidata.ucar.edu/tds/current/userguide/index.html">TDS Documentation</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/web_scraping.html">Web Scraping Policy</a> | | ||
<a class="static" href="https://ucar.edu/privacy-notice">Privacy Policy</a> | | ||
<a class="static" href="https://ucar.edu/terms-of-use">Terms Of Use</a> | | ||
<a class="static" href="https://ucar.edu/accessibility">Accessibility</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/guidelines.html">Guidelines for Data Use</a> | ||
</h4> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | ||
<head> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>TDS custom template fragments</title> | ||
</head> | ||
</head> | ||
|
||
|
||
<body> | ||
|
||
<!-- place customized Thymeleaf template fragments here --> | ||
<body> | ||
|
||
<div th:fragment="banner" class="banner"> | ||
<h2> | ||
Welcome to the Unidata Development THREDDS Data Server! | ||
Welcome to the NSF Unidata Development THREDDS Data Server! | ||
</h2> | ||
</div> | ||
|
||
<div th:fragment="footer"> | ||
<div class="footer-buffer"></div> | ||
<div class="footer"> | ||
<h4> | ||
<a class="static" th:href="${installUrl}" th:text="${installName}"></a> at <a class="static" th:href="${hostInstUrl}" th:text="${hostInst}"></a> see <a class="static" th:href="${contextPath} + '/info/serverInfo.html'"> Info </a></h4> | ||
<a class="static" th:href="${installUrl}" th:text="${installName}"></a> at <a class="static" th:href="${hostInstUrl}" th:text="${hostInst}"></a> see <a class="static" th:href="${contextPath} + '/info/serverInfo.html'"> Info </a></h4> | ||
|
||
<h4><th:block th:text="${webappName} + ' [Version ' + ${webappVersion} + ' - ' + ${webappBuildTimestamp} + ']'"/></h4> | ||
|
||
<h4><th:block th:text="${webappName} + ' [Version ' + ${webappVersion} + ' - ' + ${webappBuildTimestamp} + ']'"/><a class="static" href="https://docs.unidata.ucar.edu/thredds/5.0.0-SNAPSHOT/userguide/index.html"> Documentation</a></h4> | ||
|
||
|
||
<h4><a class="static" href="https://www2.ucar.edu/privacy-policy">privacy policy</a> <a class="static" href="https://www2.ucar.edu/terms-of-use">terms of use</a></h4> | ||
<h4> | ||
<a class="static" href="https://docs.unidata.ucar.edu/tds/current/userguide/index.html">TDS Documentation</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/web_scraping.html">Web Scraping Policy</a> | | ||
<a class="static" href="https://ucar.edu/privacy-notice">Privacy Policy</a> | | ||
<a class="static" href="https://ucar.edu/terms-of-use">Terms Of Use</a> | | ||
<a class="static" href="https://ucar.edu/accessibility">Accessibility</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/guidelines.html">Guidelines for Data Use</a> | ||
</h4> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>TDS custom template fragments</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<div th:fragment="banner" class="banner"> | ||
<h2> | ||
Welcome to the NSF Unidata Test THREDDS Data Server! | ||
</h2> | ||
</div> | ||
|
||
<div th:fragment="footer"> | ||
<div class="footer-buffer"></div> | ||
<div class="footer"> | ||
<h4> | ||
<a class="static" th:href="${installUrl}" th:text="${installName}"></a> at <a class="static" th:href="${hostInstUrl}" th:text="${hostInst}"></a> see <a class="static" th:href="${contextPath} + '/info/serverInfo.html'"> Info </a></h4> | ||
|
||
<h4><th:block th:text="${webappName} + ' [Version ' + ${webappVersion} + ' - ' + ${webappBuildTimestamp} + ']'"/></h4> | ||
|
||
<h4> | ||
<a class="static" href="https://docs.unidata.ucar.edu/tds/current/userguide/index.html">TDS Documentation</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/web_scraping.html">Web Scraping Policy</a> | | ||
<a class="static" href="https://ucar.edu/privacy-notice">Privacy Policy</a> | | ||
<a class="static" href="https://ucar.edu/terms-of-use">Terms Of Use</a> | | ||
<a class="static" href="https://ucar.edu/accessibility">Accessibility</a> | | ||
<a class="static" href="https://www.unidata.ucar.edu/data/guidelines.html">Guidelines for Data Use</a> | ||
</h4> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |