Compare commits

...

10 Commits

17 changed files with 1440 additions and 7 deletions

3
.gitignore vendored
View File

@@ -35,3 +35,6 @@ out/
### VS Code ###
.vscode/
node_modules/
src/main/resources/static/styles.css

3
.prettierrc Normal file
View File

@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}

View File

@@ -36,6 +36,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
tasks.named('test') {

23
dev.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
trap ctrl_c INT
function ctrl_c() {
stop
exit 0
}
function stop() {
kill %2
kill %1
./gradlew --stop
wait
}
./gradlew classes --continuous &
./gradlew bootRun &
npm run watch
stop

1
input.css Normal file
View File

@@ -0,0 +1 @@
@import "tailwindcss";

1228
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

17
package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "dashboard",
"version": "1.0.0",
"description": "",
"license": "ISC",
"author": "",
"type": "commonjs",
"scripts": {
"watch": "npx @tailwindcss/cli -i ./input.css -o ./src/main/resources/static/styles.css --watch"
},
"devDependencies": {
"@tailwindcss/cli": "4.1.17",
"prettier": "3.6.2",
"prettier-plugin-tailwindcss": "0.7.1",
"tailwindcss": "4.1.17"
}
}

View File

@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>x/renovate-config"
]
"extends": ["local>x/renovate-config"]
}

View File

@@ -1 +1 @@
rootProject.name = 'projektverwaltung'
rootProject.name = 'dashboard'

View File

@@ -0,0 +1,18 @@
package de.wundenbergs.dashboard;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class IndexController {
@GetMapping("/")
public String home(Model model) {
return "index";
}
@GetMapping("/projekt")
public String projekt(Model model) {
return "projekt";
}
}

View File

@@ -1,4 +1,4 @@
package de.wundenbergs.projektverwaltung;
package de.wundenbergs.dashboard;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@@ -1,3 +1,3 @@
spring:
application:
name: projektverwaltung
name: dashboard

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 5.00005C7.01165 5.00082 6.49359 5.01338 6.09202 5.21799C5.71569 5.40973 5.40973 5.71569 5.21799 6.09202C5 6.51984 5 7.07989 5 8.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.07989 21 8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V8.2C19 7.07989 19 6.51984 18.782 6.09202C18.5903 5.71569 18.2843 5.40973 17.908 5.21799C17.5064 5.01338 16.9884 5.00082 16 5.00005M8 5.00005V7H16V5.00005M8 5.00005V4.70711C8 4.25435 8.17986 3.82014 8.5 3.5C8.82014 3.17986 9.25435 3 9.70711 3H14.2929C14.7456 3 15.1799 3.17986 15.5 3.5C15.8201 3.82014 16 4.25435 16 4.70711V5.00005M16 11H14M16 16H14M8 11L9 12L11 10M8 16L9 17L11 15" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,114 @@
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Projektverwaltung</title>
<link href="styles.css" rel="stylesheet" />
</head>
<body class="p-20 text-gray-700">
<h1 class="text-2xl">Projektverwaltung</h1>
<h2 class="text-4xl">Laufende Projekte</h2>
<div class="flex flex-wrap gap-10">
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
href="/projekt"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
<a
href="/projekt"
class="flex max-w-64 cursor-pointer flex-col gap-2 rounded-2xl bg-blue-100 p-5 transition-all select-none hover:bg-blue-200 active:bg-blue-300"
>
<h3 class="text-lg">GoLive ERP</h3>
<p class="text-gray-500">
Wir möchten unsere aktuellen Insellösungen durch ein ERP ablösen, das
alles Komponenten der Wertschöpfungskette bündelt
</p>
</a>
</div>
</body>
</html>

View File

@@ -0,0 +1,23 @@
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Projektverwaltung</title>
<link href="styles.css" rel="stylesheet" />
</head>
<body class="p-20 text-gray-700">
<main class="">
<h2 class="text-4xl">ERP Next</h2>
<div class="flex flex-col gap-2">
<p class="rounded-sm border border-gray-400 p-2">Anforderungsanalyse</p>
<p class="ml-6 rounded-sm border border-gray-400 p-2">Test 1</p>
<p class="ml-10 rounded-sm border border-gray-400 p-2">Test 1.1</p>
<p class="ml-6 rounded-sm border border-gray-400 p-2">Test 2</p>
<p class="ml-6 rounded-sm border border-gray-400 p-2">Test 3</p>
<p class="rounded-sm border border-gray-400 p-2">Evaluation</p>
<p class="rounded-sm border border-gray-400 p-2">Vertragsgespräche</p>
<p class="rounded-sm border border-gray-400 p-2">LiveGang</p>
</div>
</main>
</body>
</html>

View File

@@ -1,4 +1,4 @@
package de.wundenbergs.projektverwaltung;
package de.wundenbergs.dashboard;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;