From 1608d75ec99afdc4eafd6a7670007c2af7d271a5 Mon Sep 17 00:00:00 2001 From: Yvan Date: Tue, 4 Feb 2025 20:51:56 +0000 Subject: [PATCH] Threw in some very basic Bootstrap as I was sick of looking at ugly browser defaults. --- .../src/main/resources/templates/index.html | 36 +++++-- .../main/resources/templates/listbots.html | 54 +++++++---- .../src/main/resources/templates/makebot.html | 96 +++++++++++-------- .../templates/makebot_submitted.html | 53 +++++++--- .../src/main/resources/templates/viewbot.html | 73 ++++++++------ 5 files changed, 199 insertions(+), 113 deletions(-) diff --git a/Java/Spring/activitypubbot/src/main/resources/templates/index.html b/Java/Spring/activitypubbot/src/main/resources/templates/index.html index aa13d58..7388d4a 100644 --- a/Java/Spring/activitypubbot/src/main/resources/templates/index.html +++ b/Java/Spring/activitypubbot/src/main/resources/templates/index.html @@ -1,15 +1,35 @@ - -Spring Bot - an Activity Pub bot using the Spring Boot framework + + Spring Bot - an Activity Pub bot using the Spring Boot framework + + + + + + + + + + -

Hello! Welcome to Spring Bot!

-

An Activity Pub 'bot' implementation using Spring Boot

- +
+

Spring Bot

+ +
+ +
+

Hello! Welcome to SpringBot!

+

An Activity Pub 'bot' implementation using Spring Boot

+
+
+
+
diff --git a/Java/Spring/activitypubbot/src/main/resources/templates/listbots.html b/Java/Spring/activitypubbot/src/main/resources/templates/listbots.html index 055282a..79a7a1c 100644 --- a/Java/Spring/activitypubbot/src/main/resources/templates/listbots.html +++ b/Java/Spring/activitypubbot/src/main/resources/templates/listbots.html @@ -1,25 +1,45 @@ - -List Bot - .main { - text-align: center; - } - + + Bot List + + + + + + + + + + + + -
-

Pick-a-Bot!

- -

No Bots!

-
- - [[${@botService.getHandle(bot)}]]
-
-
-
- HOME +
+

Spring Bot

+ +
+ +
+ +

Pick-a-Bot!

+ +

No Bots!

+
+ + [[${@botService.getHandle(bot)}]]
+
+ +
+
+
diff --git a/Java/Spring/activitypubbot/src/main/resources/templates/makebot.html b/Java/Spring/activitypubbot/src/main/resources/templates/makebot.html index 4222fb4..a1387d8 100644 --- a/Java/Spring/activitypubbot/src/main/resources/templates/makebot.html +++ b/Java/Spring/activitypubbot/src/main/resources/templates/makebot.html @@ -1,50 +1,62 @@ - -Make Bot - + + Make Bot + + + + + + + + + + + + -
-

Make A Bot!

-
- -
- - -
- - - -
- - -
-
- HOME | - Bot List +
+

Spring Bot

+ +
+ +
+

Make A Bot

+
+
+ +
+ +
+
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
diff --git a/Java/Spring/activitypubbot/src/main/resources/templates/makebot_submitted.html b/Java/Spring/activitypubbot/src/main/resources/templates/makebot_submitted.html index bf1f207..d2b53f8 100644 --- a/Java/Spring/activitypubbot/src/main/resources/templates/makebot_submitted.html +++ b/Java/Spring/activitypubbot/src/main/resources/templates/makebot_submitted.html @@ -2,23 +2,46 @@ -Made Bot - + Made Bot + + + + + + + + + + + -
-

Made Bot!

- Username:
- Display Name:
- Description:
- Published:
- Type:
+ +
+

Spring Bot

+ +
+ +
+ +

Made Bot

+ Username:
+ Id:
+ Display Name:
+ Description:
+ Published:
+ Type:
+ Public Key:
+

+
+        
+
+
diff --git a/Java/Spring/activitypubbot/src/main/resources/templates/viewbot.html b/Java/Spring/activitypubbot/src/main/resources/templates/viewbot.html index b86b4b1..cb0ddf1 100644 --- a/Java/Spring/activitypubbot/src/main/resources/templates/viewbot.html +++ b/Java/Spring/activitypubbot/src/main/resources/templates/viewbot.html @@ -1,39 +1,50 @@ - -View Bot - + + View Bot + + + + + + + + + + + + -
-

Bot:

- Username:
- Id:
- Display Name:
- Description:
- Published:
- Type:
- Public Key: -

-    
-
- HOME | - Bot List +
+

Spring Bot

+ +
+ +
+ +

View Bot

+ Username:
+ Id:
+ Display Name:
+ Description:
+ Published:
+ Type:
+ Public Key:
+

+
+        
+
+