-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.html
More file actions
48 lines (48 loc) · 2.29 KB
/
setup.html
File metadata and controls
48 lines (48 loc) · 2.29 KB
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
<!DOCTYPE html>
<html class="" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<title>SunSpec bridge setup</title>
<style>
div,fieldset,input{padding:5px;font-size:1em;}
fieldset{background:#4f4f4f;}
p{margin:0.5em 0;}
input{width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:#dddddd;color:#000000;}
input[type=checkbox],input[type=radio]{width:1em;margin-right:6px;vertical-align:-1px;}
body{text-align:center;font-family:verdana,sans-serif;background:#252525;}
button{border:0;border-radius:0.3rem;background:#1fa3ec;color:#faffff;line-height:2.4rem;font-size:1.2rem;width:100%;-webkit-transition-duration:0.4s;transition-duration:0.4s;cursor:pointer;}
button:hover{background:#0e70a4;}
.bgrn{background:#47c266;}
.bgrn:hover{background:#5aaf6f;}
a{color:#1fa3ec;text-decoration:none;}
</style>
</head>
<body>
<div style="text-align:left;display:inline-block;color:#eaeaea;min-width:340px;">
<div style="text-align:center;color:#eaeaea;">
<h1>SunSpec bridge module</h1>
</div>
<fieldset>
<legend>
<b> Configuration </b>
</legend>
<form method="post" action="setup">
<p><label><b>SSID</b></label><br><input type="text" placeholder="" value="" name="ssid"></p>
<p><label><b>Password</b></label><br><input type="password" placeholder="AP Password" value="****" name="password"></p>
<p><label><b>Maximum Power of PV-inverter</b></label><br><input type="text" placeholder="700" value="700" name="maxpower"></p>
<p><label><b>Input module</b></label><br>
<input type="radio" name="inmod" value="demo" checked>Demo mode<br>
<input type="radio" name="inmod" value="solis1p">Solis (single phase)<br>
<input type="radio" name="inmod" value="solis3p">Solis (three phase)<br>
<input type="radio" name="inmod" value="em24">Carlo Gavazzi EM24
</p>
<p><label><b>Output module</b></label><br>
<input type="radio" name="outmod" value="sunspec" checked>Sunspec-2017<br>
<input type="radio" name="outmod" value="sunspec2">SunSpec Modbus IEEE 1547-2018<br>
</p>
<button name="save" type="submit" class="button bgrn">Save</button>
</form>
</fieldset>
</body></html>