forked from smartpager/ui-tabs-frontend
first commit
This commit is contained in:
commit
7bb6d39653
10 changed files with 58443 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
package-lock.json
|
9
html/css/vuetify.min.css
vendored
Normal file
9
html/css/vuetify.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
74
html/index.html
Normal file
74
html/index.html
Normal file
|
@ -0,0 +1,74 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>smartpager.network Interface</title>
|
||||
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"> -->
|
||||
<link href="css/materialdesignicons.min.css" rel="stylesheet">
|
||||
<link href="css/vuetify.min.css" rel="stylesheet">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<v-app>
|
||||
<v-app-bar app>
|
||||
<v-toolbar-title>smartpager.network Interface</v-toolbar-title>
|
||||
<v-spacer></v-spacer>
|
||||
</v-app-bar>
|
||||
<v-main>
|
||||
<v-tabs v-model="configTab" next-icon="mdi-arrow-right-bold-box-outline" prev-icon="mdi-arrow-left-bold-box-outline" show-arrows>
|
||||
<v-tab key="dispatcher">Dispatcher</v-tab>
|
||||
<v-tab key="dispatcher_cfg">Dispatcher Config</v-tab>
|
||||
<v-tab key="dwd">DWD</v-tab>
|
||||
<v-tab key="nina">MOWAS/BBK</v-tab>
|
||||
<v-tab key="testalarm">Testalarm</v-tab>
|
||||
<v-tab key="tg">Telegram</v-tab>
|
||||
</v-tabs>
|
||||
<v-tabs-items v-model="configTab">
|
||||
<v-tab-item key="dispatcher">
|
||||
<iframe src="/disp_main/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
<v-tab-item key="dispatcher_cfg">
|
||||
<iframe src="/disp_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
<v-tab-item key="dwd">
|
||||
<iframe src="/msg-dwd_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
<v-tab-item key="nina">
|
||||
<iframe src="/msg-mowas_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
<v-tab-item key="testalarm">
|
||||
<iframe src="/msg-testalarm_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
<v-tab-item key="tg">
|
||||
<iframe src="/msg-tg_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
|
||||
</v-tab-item>
|
||||
</v-tabs-items>
|
||||
</v-main>
|
||||
</v-app>
|
||||
</div>
|
||||
|
||||
<script src="js/vue/vue.js"></script>
|
||||
<script src="js/vue/vuetify.js"></script>
|
||||
<script src="js/vue/vue-resource_1.5.1.js"></script>
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#app',
|
||||
vuetify: new Vuetify(),
|
||||
http: { root: '/' },
|
||||
data() {
|
||||
return {
|
||||
EXPERTMODE: false,
|
||||
configTab: null,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
2
html/jquery.min.js
vendored
Normal file
2
html/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
html/js/moment-with-locales.min.js
vendored
Normal file
2
html/js/moment-with-locales.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
html/js/vue/vue-resource_1.5.1.js
Normal file
7
html/js/vue/vue-resource_1.5.1.js
Normal file
File diff suppressed because one or more lines are too long
11909
html/js/vue/vue.js
Normal file
11909
html/js/vue/vue.js
Normal file
File diff suppressed because it is too large
Load diff
46423
html/js/vue/vuetify.js
Normal file
46423
html/js/vue/vuetify.js
Normal file
File diff suppressed because it is too large
Load diff
9
index.js
Normal file
9
index.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const express = require('express')
|
||||
const appConfig = express()
|
||||
appConfig.use(express.json())
|
||||
appConfig.use(express.static('html'))
|
||||
appConfig.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
||||
|
||||
/** CONFIG Routes */
|
||||
|
||||
appConfig.listen(3080, '0.0.0.0' || config.host || '127.0.0.1')
|
6
package.json
Normal file
6
package.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"@mdi/font": "^7.0.96",
|
||||
"express": "^4.18.2"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue