Skip to content

Commit 9934066

Browse files
author
Bjarne Loft
committed
Update the html
1 parent 79b588e commit 9934066

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ <h3>mqtt</h3><hr/>
310310
</div>
311311
<!-- split:config_header -->
312312
<br />
313-
<h3>{title}</h3><hr/>
313+
<h3>General</h3><hr/>
314314
<!-- split:config_header -->
315315
<!-- split:config_entry -->
316316
<div class="form-group">

src/html.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const char HTML_INPUT[] PROGMEM = "<div class=\"col-md-4\"><div class=\"panel pa
66
const char HTML_VALUE_ON[] PROGMEM = "<span class=\"label label-success\">{value}</span>";
77
const char HTML_VALUE_OFF[] PROGMEM = "<span class=\"label label-danger\">{value}</span>";
88
const char HTML_MAIN2[] PROGMEM = "</div></div></div><div role=\"tabpanel\" class=\"tab-pane\" id=\"config\"><div class=\"container-fluid\"><div class=\"row\"><div class=\"col-md-12\"><form class=\"form-horizontal\" action=\"/save\" method=\"POST\">";
9-
const char HTML_CONFIG_HEADER[] PROGMEM = "<br /><h3>{title}</h3><hr/>";
9+
const char HTML_CONFIG_HEADER[] PROGMEM = "<br /><h3>General</h3><hr/>";
1010
const char HTML_CONFIG_ENTRY[] PROGMEM = "<div class=\"form-group\"><label for=\"{key}\" class=\"col-sm-2 control-label\">{key}</label><div class=\"col-sm-8\"><input type=\"{type}\" class=\"form-control\" name=\"{key}\" placeholder=\"\" value=\"{value}\"></div></div>";
1111
const char HTML_MAIN3[] PROGMEM = "<hr/><div class=\"form-group\"><div class=\"col-sm-offset-9 col-sm-2\"><button type=\"submit\" class=\"btn btn-default\">Save</button></div></div></form></div></div></div></div><div role=\"tabpanel\" class=\"tab-pane\" id=\"about\"><br /><div class=\"container-fluid\"><div class=\"row\"><div class=\"col-md-12\"><h1>About</h1><p>Device is using EasyMqtt version 0.4</p><dl class=\"dl-horizontal\"><dt>Device Id</dt><dd>{device_id}</dd><dt>Topic</dt><dd>{topic}</dd></dl><hr /><h3>MQTT API:</h3><ul class=\"list-group\">";
1212
const char HTML_MAIN4[] PROGMEM = "</ul><hr /><h3>Rest API:</h3><ul class=\"list-group\">";

0 commit comments

Comments
 (0)