diff --git a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt index bb916d6..9fa4554 100644 --- a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt +++ b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt @@ -73,7 +73,7 @@ class ImageController } } } - } ?: return "noresults" + } ?: return "gallery" model.addAttribute("imagePage", images) return "gallery" } diff --git a/src/main/resources/templates/gallery.html b/src/main/resources/templates/gallery.html index 1e4f157..eeb698e 100644 --- a/src/main/resources/templates/gallery.html +++ b/src/main/resources/templates/gallery.html @@ -7,13 +7,31 @@
-
-
- - +
+
+ +
+
+ +
+
+
+
+
+ + +
+
+
+
+

No images found with all the specified tags.

- \ No newline at end of file diff --git a/src/main/resources/templates/noresults.html b/src/main/resources/templates/noresults.html deleted file mode 100644 index 1f41476..0000000 --- a/src/main/resources/templates/noresults.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - No Images Found - - -
-
-
-

Couldn't find any images with those tags.

-
-
-
- - - \ No newline at end of file