mirror of
https://github.com/karl0ss/orvibo-b25-server-kex.git
synced 2025-05-20 05:26:21 +01:00
clean up
This commit is contained in:
parent
c613550ac4
commit
9bd84d9fb4
@ -3,7 +3,7 @@ const express = require('express');
|
|||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
app.set('view engine', 'pug');
|
app.set('view engine', 'pug');
|
||||||
app.use(express.static(__dirname + '/public'));
|
app.use(express.static(__dirname + '/server'));
|
||||||
|
|
||||||
const createArray = str => {
|
const createArray = str => {
|
||||||
const arr = str.split(',');
|
const arr = str.split(',');
|
||||||
|
@ -33,22 +33,15 @@ body {
|
|||||||
|
|
||||||
.socket {
|
.socket {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
|
||||||
|
|
||||||
.socket > * {
|
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.socket-image {
|
|
||||||
width: 100%;
|
|
||||||
height: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 20px
|
font-size: 20px;
|
||||||
|
box-shadow: 1px 1px black;
|
||||||
}
|
}
|
@ -6,9 +6,9 @@ block content
|
|||||||
div.socket
|
div.socket
|
||||||
h2.socket-name
|
h2.socket-name
|
||||||
| #{socket.name}
|
| #{socket.name}
|
||||||
h2.socket-name2
|
h2.socket-name
|
||||||
| #{socket.uid}
|
| #{socket.uid}
|
||||||
h2.socket-name2
|
h2.socket-name
|
||||||
| #{socket.status}
|
| #{socket.status}
|
||||||
a(href=`/?uid=${socket.uid}`)
|
a.button(href=`/?uid=${socket.uid}`)
|
||||||
| Toggle
|
| Toggle
|
Loading…
x
Reference in New Issue
Block a user