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.setSuffix(".html");
|
||||
templateResolver.setTemplateMode("HTML");
|
||||
templateResolver.setCacheable(false);
|
||||
return templateResolver;
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
</div>
|
||||
|
||||
<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
|
||||
</button>
|
||||
</div>
|
||||
|
@ -18,12 +18,12 @@
|
||||
<pre><code class="bg-transparent text-sm" th:text="${paste.content}"></code></pre>
|
||||
|
||||
<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}">
|
||||
Raw
|
||||
</a>
|
||||
</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="/">
|
||||
New
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user