From 837067e358161fad0ddf57de3a789a9329219ae6 Mon Sep 17 00:00:00 2001 From: Jakob Vogel Date: Tue, 13 Feb 2024 21:51:35 +0100 Subject: [PATCH 1/5] =?UTF-8?q?Migrates=20classes=20to=20bootstrap=205=20?= =?UTF-8?q?=F0=9F=91=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/bucket.html.pasta | 12 ++++++------ src/main/resources/templates/footer.html.pasta | 2 +- src/main/resources/templates/index.html.pasta | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/resources/templates/bucket.html.pasta b/src/main/resources/templates/bucket.html.pasta index 5bc42d4..020ff67 100644 --- a/src/main/resources/templates/bucket.html.pasta +++ b/src/main/resources/templates/bucket.html.pasta @@ -24,13 +24,13 @@ - Make public + Make public - Make private + Make private @@ -63,7 +63,7 @@ + class="border-0 border-top text-muted"> (No objects in bucket) @@ -72,13 +72,13 @@ var="obj" items="page.getItems()"> - + @obj.getKey()
@obj.getSize()
@obj.getLastModified()
- + -

diff --git a/src/main/resources/templates/footer.html.pasta b/src/main/resources/templates/footer.html.pasta index 52b2c2e..25749bc 100644 --- a/src/main/resources/templates/footer.html.pasta +++ b/src/main/resources/templates/footer.html.pasta @@ -6,7 +6,7 @@ scireum in Remshalden

-
+
@sirius.kernel.info.Product.getProduct().getDetails()
diff --git a/src/main/resources/templates/index.html.pasta b/src/main/resources/templates/index.html.pasta index c60a037..e182bd7 100644 --- a/src/main/resources/templates/index.html.pasta +++ b/src/main/resources/templates/index.html.pasta @@ -148,7 +148,7 @@ + class="border-0 border-bottom text-muted"> (No buckets) @@ -157,7 +157,7 @@ var="bucket" items="buckets"> - + @bucket.getName()
@@ -167,7 +167,7 @@ - + Date: Tue, 13 Feb 2024 21:52:40 +0100 Subject: [PATCH 2/5] =?UTF-8?q?Removes=20jQuery=20=E2=9A=B0=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/bucket.html.pasta | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/bucket.html.pasta b/src/main/resources/templates/bucket.html.pasta index 020ff67..3449bfd 100644 --- a/src/main/resources/templates/bucket.html.pasta +++ b/src/main/resources/templates/bucket.html.pasta @@ -114,7 +114,7 @@ - + + From 8c14c55af559c39393458b9a2bda46da8faa599b Mon Sep 17 00:00:00 2001 From: Jakob Vogel Date: Tue, 13 Feb 2024 21:53:46 +0100 Subject: [PATCH 3/5] =?UTF-8?q?Modernises=20Javascript=20=F0=9F=8C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/index.html.pasta | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/index.html.pasta b/src/main/resources/templates/index.html.pasta index e182bd7..0ad285d 100644 --- a/src/main/resources/templates/index.html.pasta +++ b/src/main/resources/templates/index.html.pasta @@ -23,7 +23,7 @@ } function checkBucketName() { - return new Promise(function (resolve, reject) { + return new Promise((resolve, reject) => { // make sure we have the text field const textfield = resolveTextfield(); if (!textfield) { @@ -45,13 +45,13 @@ * Checks the form for errors and styles the input accordingly. */ function checkForm() { - checkBucketName().then(function (name) { + checkBucketName().then(name => { // remove style class `error` const textfield = resolveTextfield(); if (textfield) { textfield.classList.remove('sci-border-red'); } - }).catch(function (name) { + }).catch(name => { // add style class `error` unless empty const textfield = resolveTextfield(); if (textfield) { @@ -67,9 +67,9 @@ * Checks the form for errors and submits the form if everything is fine. */ function submitForm() { - checkBucketName().then(function (name) { + checkBucketName().then(name => { location.href = '/ui/' + encodeURIComponent(name) + '?create' - }).catch(function () { + }).catch(() => { // ignore, error has already been indicated while typing }); } From e9236172706487bc14c4c52d8d57f2e6f568bd9c Mon Sep 17 00:00:00 2001 From: Jakob Vogel Date: Tue, 13 Feb 2024 21:54:39 +0100 Subject: [PATCH 4/5] =?UTF-8?q?Fixes=20input=20group=20=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/index.html.pasta | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/index.html.pasta b/src/main/resources/templates/index.html.pasta index 0ad285d..fffcc01 100644 --- a/src/main/resources/templates/index.html.pasta +++ b/src/main/resources/templates/index.html.pasta @@ -115,11 +115,9 @@ placeholder="New Bucket…" autofocus oninput="checkForm();"/> -
- - -
+ + From bd6f6fe53bc66f8bc563b4b72a14d8f34403751b Mon Sep 17 00:00:00 2001 From: Jakob Vogel Date: Wed, 14 Feb 2024 11:25:51 +0100 Subject: [PATCH 5/5] =?UTF-8?q?Upgrades=20Sirius=20=F0=9F=AA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5da854d..4bd2a93 100644 --- a/pom.xml +++ b/pom.xml @@ -16,8 +16,8 @@ https://s3ninja.net - dev-42.2.0 - dev-75.3.4 + dev-42.3.0 + dev-76.0.0