Remove support for Thymeleaf
Closes gh-28611
This commit is contained in:
committed by
Andy Wilkinson
parent
22cc9ca6fa
commit
015dca1956
@@ -87,15 +87,6 @@ class SampleIntegrationTests {
|
||||
assertThat(this.cli.getHttpOutput()).isEqualTo("World!");
|
||||
}
|
||||
|
||||
@Test
|
||||
void uiSample() throws Exception {
|
||||
this.cli.run("ui.groovy", "--classpath=.:src/test/resources");
|
||||
String result = this.cli.getHttpOutput();
|
||||
assertThat(result).contains("Hello World");
|
||||
result = this.cli.getHttpOutput("/css/bootstrap.min.css");
|
||||
assertThat(result).contains("container");
|
||||
}
|
||||
|
||||
@Test
|
||||
void actuatorSample() throws Exception {
|
||||
this.cli.run("actuator.groovy");
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="https://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="${title}">Title</title>
|
||||
<link rel="stylesheet" th:href="@{/resources/css/bootstrap.min.css}"
|
||||
href="../../resources/css/bootstrap.min.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a class="brand" href="https://www.thymeleaf.org"> Thymeleaf -
|
||||
Plain </a>
|
||||
<ul class="nav">
|
||||
<li><a th:href="@{/}" href="home.html"> Home </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<h1 th:text="${title}">Title</h1>
|
||||
<div th:text="${message}">Fake content</div>
|
||||
<div id="created" th:text="${#dates.format(date)}">July 11,
|
||||
2012 2:17:16 PM CDT</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user