From 5ec9a95d5e99d4573126078f53850d89153807d2 Mon Sep 17 00:00:00 2001 From: damage Date: Sun, 29 Dec 2024 17:19:41 +0100 Subject: [PATCH] added style... --- src/main/webapp/download.jsp | 13 ++++-- src/main/webapp/main.jsp | 72 ++++++++++++++++++++++++++-------- src/main/webapp/style/main.css | 46 ++++++++++++++++++++++ 3 files changed, 110 insertions(+), 21 deletions(-) create mode 100644 src/main/webapp/style/main.css diff --git a/src/main/webapp/download.jsp b/src/main/webapp/download.jsp index 63f6bdc..2a13bc8 100644 --- a/src/main/webapp/download.jsp +++ b/src/main/webapp/download.jsp @@ -1,10 +1,15 @@ <%@ taglib uri="jakarta.tags.core" prefix="c" %> <%@ page isELIgnored="false" %> - - Download dependencies (Link only works once!): ${zipFilename}
- logout | back
- Maven Output:
+ + + + +

Hello ${username}

+ logout | back +

Download dependencies

+ (Link only works once!) ${zipFilename} +

Maven Output:

${stdout}
diff --git a/src/main/webapp/main.jsp b/src/main/webapp/main.jsp index 75f423b..3107d43 100644 --- a/src/main/webapp/main.jsp +++ b/src/main/webapp/main.jsp @@ -1,21 +1,59 @@ <%@ taglib uri="jakarta.tags.core" prefix="c" %> <%@ page isELIgnored="false" %> - -

Hello ${username}

-
- - Repository:
- Group ID:
- Artifact ID:
- Version:
- -
-
- - POM:
- -
-logout - + + + + +

Hello ${username}

+ logout +

download dependencies of given artifact:

+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+ +

download dependencies as given in pom.xml:

+
+ +
+
+
+
+
+ +
+ diff --git a/src/main/webapp/style/main.css b/src/main/webapp/style/main.css new file mode 100644 index 0000000..1ff24b7 --- /dev/null +++ b/src/main/webapp/style/main.css @@ -0,0 +1,46 @@ +body { + background-color: #1b1b1b; + color: #c0c0c0; +} + +h3 { + margin-bottom: 0; +} + +textarea, input { + background-color: #2b2b2b; + color: #c0c0c0; +} + +.row { + width: 100%; +} + +.row div { + display: inline-block; +} + +.label { + width: 75pt; +} + +.input { + width: 300pt; +} + +.input.small { + width: 150pt; +} + +.input.big { + width: 500pt; +} + +.input input, .input textarea { + width: 100%; +} + +.input textarea { + height: 50em; + white-space: pre; +} \ No newline at end of file