re-enable the cache and make the buttons smaller
This commit is contained in:
parent
779460689a
commit
1ab282772e
@ -28,7 +28,6 @@ public class ThymeleafConfiguration {
|
|||||||
templateResolver.setPrefix("classpath:/templates/");
|
templateResolver.setPrefix("classpath:/templates/");
|
||||||
templateResolver.setSuffix(".html");
|
templateResolver.setSuffix(".html");
|
||||||
templateResolver.setTemplateMode("HTML");
|
templateResolver.setTemplateMode("HTML");
|
||||||
templateResolver.setCacheable(false);
|
|
||||||
return templateResolver;
|
return templateResolver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="absolute top-0 right-0 p-3">
|
<div class="absolute top-0 right-0 p-3">
|
||||||
<button id="paste-button" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
|
<button id="paste-button" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 px-2 rounded">
|
||||||
Paste
|
Paste
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
<pre><code class="bg-transparent text-sm" th:text="${paste.content}"></code></pre>
|
<pre><code class="bg-transparent text-sm" th:text="${paste.content}"></code></pre>
|
||||||
|
|
||||||
<div class="absolute top-0 right-0 p-3">
|
<div class="absolute top-0 right-0 p-3">
|
||||||
<button id="raw-button" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
|
<button id="raw-button" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 px-2 rounded">
|
||||||
<a th:href="${rawUrl}">
|
<a th:href="${rawUrl}">
|
||||||
Raw
|
Raw
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
|
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 px-2 rounded">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
New
|
New
|
||||||
</a>
|
</a>
|
||||||
|
Reference in New Issue
Block a user