mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-14 17:35:22 +01:00
update ui
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -73,6 +73,10 @@
|
||||
<span class="heading">System</span>
|
||||
<div class="content">
|
||||
<div><label>Free Heap: </label><span class="js-heap"></span><span> bytes</span><br><br></div>
|
||||
<form method='POST' action='/update' enctype='multipart/form-data'>
|
||||
<input type='file' name='update'><input type='submit' value='Update'>
|
||||
</form>
|
||||
<br>
|
||||
<button class="js-restart">Restart</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
.sui label {
|
||||
color: #b3b2b2;
|
||||
}
|
||||
.sui button {
|
||||
.sui button, .sui input[type=file] {
|
||||
background: #097479;
|
||||
color: #eeeeee;
|
||||
font-size: 0.9em;
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; http://docs.platformio.org/page/projectconf.html
|
||||
|
||||
;[platformio]
|
||||
;env_default = build
|
||||
[platformio]
|
||||
env_default = build
|
||||
|
||||
[common]
|
||||
framework = arduino
|
||||
|
||||
@@ -23,7 +23,7 @@ void setup()
|
||||
sprocket = new Sprocket({STARTUP_DELAY, SERIAL_BAUD_RATE});
|
||||
pixelPlugin = new PixelPlugin({LED_STRIP_PIN, LED_STRIP_LENGTH, LED_STRIP_BRIGHTNESS, LED_STRIP_UPDATE_INTERVAL});
|
||||
mqttPlugin = new MqttPlugin({MQTT_CLIENT_NAME, MQTT_HOST, MQTT_PORT, MQTT_TOPIC_IN, MQTT_TOPIC_OUT});
|
||||
webServerPlugin = new WebServerPlugin({WEB_DOC_ROOT, WEB_CONTEXT_PATH, WEB_DEFAULT_FILE, WEB_PORT});
|
||||
webServerPlugin = new WebServerPlugin({WEB_CONTEXT_PATH, WEB_DOC_ROOT, WEB_DEFAULT_FILE, WEB_PORT});
|
||||
webConfigPlugin = new WebConfigPlugin(webServerPlugin->server);
|
||||
webApiPlugin = new WebApiPlugin(webServerPlugin->server);
|
||||
sprocket->addPlugin(pixelPlugin);
|
||||
|
||||
Reference in New Issue
Block a user