Added static content, favicon and titles
This commit is contained in:
parent
f1b2eb3519
commit
82ba4e83bb
@ -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>
|
||||
|
||||
@ -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 {
|
||||
|
||||
|
||||
@ -1 +1,3 @@
|
||||
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