Added static content, favicon and titles

This commit is contained in:
Andrey Terentev 2023-11-16 23:07:28 +07:00
parent f1b2eb3519
commit 82ba4e83bb
4 changed files with 7 additions and 5 deletions

View File

@ -1,12 +1,9 @@
<!DOCTYPE html>
<!--
This file is auto-generated by Vaadin.
-->
<html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/static/icon.png">
<style>
body, #outlet {
height: 100vh;
@ -14,6 +11,7 @@ This file is auto-generated by Vaadin.
margin: 0;
}
</style>
<title>Dragonestia LoadBalancer</title>
<!-- index.ts is included here automatically (either by the dev server or during the build) -->
</head>
<body>

View File

@ -1,6 +1,7 @@
package ru.dragonestia.loadbalancer.web.page;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
import com.vaadin.flow.router.PageTitle;
import com.vaadin.flow.router.Route;
import lombok.Getter;
import ru.dragonestia.loadbalancer.web.component.NodeList;
@ -9,6 +10,7 @@ import ru.dragonestia.loadbalancer.web.component.RegisterNode;
import java.util.List;
@Getter
@PageTitle("Nodes")
@Route("/nodes")
public class NodesPage extends VerticalLayout {

View File

@ -1 +1,3 @@
server.port=8090
vaadin.exclude-urls=/static/**
spring.mvc.static-path-pattern=/static/**

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB