update style
This commit is contained in:
@@ -2,6 +2,8 @@ var express = require("express");
|
|||||||
var app = express();
|
var app = express();
|
||||||
const WebSocket = require("ws");
|
const WebSocket = require("ws");
|
||||||
|
|
||||||
|
app.use(express.static('public'))
|
||||||
|
|
||||||
var ws = new WebSocket("ws://10.100.0.40:9001/");
|
var ws = new WebSocket("ws://10.100.0.40:9001/");
|
||||||
var api_connected = false;
|
var api_connected = false;
|
||||||
|
|
||||||
|
|||||||
8
api/public/css/stylesheet.css
Normal file
8
api/public/css/stylesheet.css
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
body {
|
||||||
|
background-color: azure;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
color: black;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
@@ -3,11 +3,13 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel='stylesheet' href='/css/stylesheet.css' />
|
||||||
|
|
||||||
<title>5G drone API</title>
|
<title>5G drone API</title>
|
||||||
<p><%- api_connected %></p>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<h1 class="header">5G Drone API</h1>
|
||||||
|
<p><%- api_connected %></p>
|
||||||
<div>Hello World!</div>
|
<div>Hello World!</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user