Переработаны роутеры приложения
Переписано APi WebSocket для работы с новыми роутерами
This commit is contained in:
3
web/lib/pages/stand/list/index.html
Normal file
3
web/lib/pages/stand/list/index.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="page-stand-list">
|
||||
|
||||
</div>
|
||||
6
web/lib/pages/stand/list/script.js
Normal file
6
web/lib/pages/stand/list/script.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const Stand_list = {
|
||||
init: async () => {
|
||||
let html = await fetch('/lib/pages/stand/list/index.html').then((response) => response.text());
|
||||
app.innerHTML = html;
|
||||
},
|
||||
}
|
||||
7
web/lib/pages/stand/list/style.css
Normal file
7
web/lib/pages/stand/list/style.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.page-stand-list {
|
||||
width: calc(100% - 40px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 20px 20px 0 20px;
|
||||
}
|
||||
Reference in New Issue
Block a user