forked from snaptec/openWB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisss.html
85 lines (80 loc) · 3.09 KB
/
isss.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="de">
<head>
<base href="/openWB/web/">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>openWB | Nur Ladepunkt</title>
<meta name="description" content="Control your charge" />
<meta name="author" content="Michael Ortenstein" />
<!-- Favicons (created with http://realfavicongenerator.net/)-->
<link rel="apple-touch-icon" sizes="57x57" href="img/favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/favicons/apple-touch-icon-60x60.png">
<link rel="icon" type="image/png" href="img/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="img/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="img/favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#00a8ff">
<meta name="msapplication-config" content="img/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="css/bootstrap-4.4.1/bootstrap.min.css">
<!-- Normalize -->
<link rel="stylesheet" type="text/css" href="css/normalize-8.0.1.css">
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-5.8.2/css/all.css">
<!-- include settings-style -->
<link rel="stylesheet" type="text/css" href="css/settings_style.css">
<!-- important scripts to be loaded -->
<script src="js/jquery-3.6.0.min.js"></script>
<script src="js/bootstrap-4.4.1/bootstrap.bundle.min.js"></script>
<script>
/**
* getCookie
* returns a cookie value
* @param {string} cname cookie name
* @returns {string}
*/
function getCookie(cname) {
var name = cname + '=';
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return '';
}
// get selected theme and set style
var themeCookie = getCookie('openWBTheme');
if( '' != themeCookie ){
$('head').append('<link rel="stylesheet" href="themes/' + themeCookie + '/settings.css?v=20200801">');
}
</script>
</head>
<body>
<div role="main" class="container" style="margin-top:20px">
<div class="card border-secondary">
<div class="card-header bg-secondary">
openWB ist nur als Ladepunkt konfiguriert
</div>
<div class="card-body p-0">
<div class="row mx-0">
<div class="col-md-4 py-3">
<img class="openwb-logo" style="max-width: 100%;" src="img/favicons/preloader-image.png" alt="openWB">
</div>
<div class="col py-3 border-left bg-light">
<h4>Alle Einstellungen erfolgen über die Haupt openWB.</h4>
Zum deaktivieren des "nur Ladepunkt Modus" bitte <a href="./settings/settings.php">Hier Klicken!</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>