|
@@ -1,111 +1,111 @@
|
|
|
<!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">
|
|
|
+ <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>
|
|
|
+ <title>Wall Segment Clock</title>
|
|
|
|
|
|
- <link rel="icon" href="data:,">
|
|
|
- <!-- Bootstrap core -->
|
|
|
- <link href="bootstrap.css" rel="stylesheet">
|
|
|
+ <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>
|
|
|
+ <!-- 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>
|
|
|
+ <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>
|
|
|
+ <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">
|
|
|
+ </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 panel-default">
|
|
|
<div class="panel-heading">
|
|
|
- <h3 class="panel-title">Network</h3>
|
|
|
+ <h3 class="panel-title">Network</h3>
|
|
|
</div>
|
|
|
<div class="panel-body">
|
|
|
- <form method="POST">
|
|
|
- <div class="form-group">
|
|
|
+ <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">
|
|
|
+ </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>
|
|
|
+ </div>
|
|
|
+ <button type="submit" class="btn btn-success">Save network</button>
|
|
|
+ <button type="cancel" class="btn btn-link">Cancel</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Clock config -->
|
|
|
<div>
|
|
|
- <div class="panel panel-default">
|
|
|
+ <div class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
- <h3 class="panel-title">Clock settings</h3>
|
|
|
+ <h3 class="panel-title">Clock settings</h3>
|
|
|
</div>
|
|
|
<div class="panel-body">
|
|
|
- <form method="POST">
|
|
|
- <div class="form-group">
|
|
|
+ <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">
|
|
|
+ </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>
|
|
|
|
|
|
- <div class="form-group">
|
|
|
+ <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">
|
|
|
+ </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">
|
|
|
+ </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>
|
|
|
|
|
|
- <div class="form-group">
|
|
|
+ <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>
|
|
|
+ </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>
|
|
|
+ </div>
|
|
|
|
|
|
- </div> <!-- /container -->
|
|
|
- </body>
|
|
|
+ </div> <!-- /container -->
|
|
|
+ </body>
|
|
|
</html>
|