Added static content, favicon and titles
This commit is contained in:
parent
f1b2eb3519
commit
82ba4e83bb
@ -1,12 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<html lang="en">
|
||||||
This file is auto-generated by Vaadin.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" type="image/x-icon" href="/static/icon.png">
|
||||||
<style>
|
<style>
|
||||||
body, #outlet {
|
body, #outlet {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@ -14,6 +11,7 @@ This file is auto-generated by Vaadin.
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<title>Dragonestia LoadBalancer</title>
|
||||||
<!-- index.ts is included here automatically (either by the dev server or during the build) -->
|
<!-- index.ts is included here automatically (either by the dev server or during the build) -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package ru.dragonestia.loadbalancer.web.page;
|
package ru.dragonestia.loadbalancer.web.page;
|
||||||
|
|
||||||
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
|
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
|
||||||
|
import com.vaadin.flow.router.PageTitle;
|
||||||
import com.vaadin.flow.router.Route;
|
import com.vaadin.flow.router.Route;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import ru.dragonestia.loadbalancer.web.component.NodeList;
|
import ru.dragonestia.loadbalancer.web.component.NodeList;
|
||||||
@ -9,6 +10,7 @@ import ru.dragonestia.loadbalancer.web.component.RegisterNode;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
|
@PageTitle("Nodes")
|
||||||
@Route("/nodes")
|
@Route("/nodes")
|
||||||
public class NodesPage extends VerticalLayout {
|
public class NodesPage extends VerticalLayout {
|
||||||
|
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
server.port=8090
|
server.port=8090
|
||||||
|
vaadin.exclude-urls=/static/**
|
||||||
|
spring.mvc.static-path-pattern=/static/**
|
||||||
|
|||||||
BIN
LoadBalancerWeb/src/main/resources/static/icon.png
Normal file
BIN
LoadBalancerWeb/src/main/resources/static/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Loading…
x
Reference in New Issue
Block a user