123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Wall Segment Clock</title>
- <link rel="icon" href="data:,">
- <!-- Bootstrap core -->
- <link href="bootstrap.css" rel="stylesheet">
- <script src="jquery.js"></script>
- <style>
- .main { font-size: 63px; }
- </style>
-
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
- </head>
- <body>
- <div class="container">
- <div class="header">
- <nav>
- <ul class="nav nav-pills pull-right">
- <li role="presentation"><a href="/">Home</a></li>
- <li role="presentation" class="active"><a href="/config">Configuration</a></li>
- <li role="presentation"><a href="/api">API</a></li>
- </ul>
- </nav>
- <h3 class="text-muted">ClockControl</h3>
- </div>
-
- <div class="row">
- <h2> </h2>
- <div class="col-xs-offset-2 col-xs-8">
- <!-- Network config -->
- <div>
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Network</h3>
- </div>
- <div class="panel-body">
- <form method="POST">
- <div class="form-group">
- <label>Name</label>
- <input type="text" name="SSID" class="form-control" placeholder="Enter SSID" value="{SSID}">
- </div>
- <div class="form-group">
- <label for="exampleInputPassword1">Password</label>
- <input type="password" name="Password" class="form-control" placeholder="Password">
- </div>
- <button type="submit" class="btn btn-success">Save network</button>
- <button type="cancel" class="btn btn-link">Cancel</button>
- </form>
- </div>
- </div>
- </div>
-
- <!-- Clock config -->
- <div>
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Clock settings</h3>
- </div>
- <div class="panel-body">
- <form method="POST">
- <div class="form-group">
- <label>Low light level threshold, 0 — 1023</label>
- <input type="number" min="0" max="1023" name="LLow" class="form-control" value="{LLow}">
- </div>
- <div class="form-group">
- <label>High light level threshold, 0 — 1023</label>
- <input type="number" min="0" max="1023" name="LHigh" class="form-control" value="{LHigh}">
- </div>
- <div class="form-group">
- <label>Brightness Low level, 0 — 15</label>
- <input type="number" min="0" max="15" name="BLow" class="form-control" value="{BLow}">
- </div>
- <div class="form-group">
- <label>Brightness Middle level, 0 — 15</label>
- <input type="number" min="0" max="15" name="BMid" class="form-control" value="{BMid}">
- </div>
- <div class="form-group">
- <label>Brightness High level, 0 — 14</label>
- <input type="number" min="0" max="15" name="BHigh" class="form-control" value="{BHigh}">
- </div>
- <div class="form-group">
- <label>Local time, ± hours from GMT</label>
- <input type="text" name="TZ" class="form-control" value="{TZ}">
- </div>
- <button type="submit" class="btn btn-success">Save correction</button>
- <button type="cancel" class="btn btn-link">Cancel</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div> <!-- /container -->
- </body>
- </html>
|