From f0cd4afcf02b41ef885ea61672aff434a350b81b Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 6 Sep 2021 20:24:42 +0100 Subject: [PATCH] Add sorting and filtering to the caches table Signed-off-by: Graham --- archive/build.gradle.kts | 1 + .../org/openrs2/archive/templates/caches/index.html | 10 +++++----- .../org/openrs2/archive/templates/layout.html | 6 ++++++ gradle/libs.versions.toml | 1 + 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/archive/build.gradle.kts b/archive/build.gradle.kts index a521cda6..c050ae25 100644 --- a/archive/build.gradle.kts +++ b/archive/build.gradle.kts @@ -25,6 +25,7 @@ dependencies { implementation(projects.util) implementation(projects.yaml) implementation(libs.bootstrap) + implementation(libs.bootstrapTable) implementation(libs.bundles.ktor) implementation(libs.bundles.thymeleaf) implementation(libs.byteUnits) diff --git a/archive/src/main/resources/org/openrs2/archive/templates/caches/index.html b/archive/src/main/resources/org/openrs2/archive/templates/caches/index.html index b7e1f1c1..1f5b5af2 100644 --- a/archive/src/main/resources/org/openrs2/archive/templates/caches/index.html +++ b/archive/src/main/resources/org/openrs2/archive/templates/caches/index.html @@ -12,13 +12,13 @@

Caches

- +
- - - - + + + + diff --git a/archive/src/main/resources/org/openrs2/archive/templates/layout.html b/archive/src/main/resources/org/openrs2/archive/templates/layout.html index d1dd21b1..43537f3a 100644 --- a/archive/src/main/resources/org/openrs2/archive/templates/layout.html +++ b/archive/src/main/resources/org/openrs2/archive/templates/layout.html @@ -4,9 +4,15 @@ OpenRS2 Archive + + + + + +
GameBuild(s)TimestampSource(s)GameBuild(s)TimestampSource(s) Indexes Groups Keys1