mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
Adjustments to GUI
This commit is contained in:
parent
f734cb2179
commit
725af5150d
2
lib/SvelteUi/app/dist/index.js
vendored
2
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -37,6 +37,7 @@
|
||||
points.push(point(i3));
|
||||
}
|
||||
config = {
|
||||
title: 'Amperage',
|
||||
padding: { top: 20, right: 15, bottom: 20, left: 35 },
|
||||
y: {
|
||||
min: 0,
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
{#if config.title}
|
||||
<strong class="text-sm">{config.title}</strong>
|
||||
{/if}
|
||||
<svg height="{heightAvailable}">
|
||||
<svg height="100%">
|
||||
<!-- y axis -->
|
||||
<g class="axis y-axis">
|
||||
{#each config.y.ticks as tick}
|
||||
|
||||
@ -17,21 +17,21 @@ export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/data.json": "http://192.168.233.237",
|
||||
"/energyprice.json": "http://192.168.233.237",
|
||||
"/dayplot.json": "http://192.168.233.237",
|
||||
"/monthplot.json": "http://192.168.233.237",
|
||||
"/temperature.json": "http://192.168.233.237",
|
||||
"/sysinfo.json": "http://192.168.233.237",
|
||||
"/configuration.json": "http://192.168.233.237",
|
||||
"/tariff.json": "http://192.168.233.237",
|
||||
"/save": "http://192.168.233.237",
|
||||
"/reboot": "http://192.168.233.237",
|
||||
"/configfile": "http://192.168.233.237",
|
||||
"/upgrade": "http://192.168.233.237",
|
||||
"/mqtt-ca": "http://192.168.233.237",
|
||||
"/mqtt-cert": "http://192.168.233.237",
|
||||
"/mqtt-key": "http://192.168.233.237",
|
||||
"/data.json": "http://192.168.233.244",
|
||||
"/energyprice.json": "http://192.168.233.244",
|
||||
"/dayplot.json": "http://192.168.233.244",
|
||||
"/monthplot.json": "http://192.168.233.244",
|
||||
"/temperature.json": "http://192.168.233.244",
|
||||
"/sysinfo.json": "http://192.168.233.244",
|
||||
"/configuration.json": "http://192.168.233.244",
|
||||
"/tariff.json": "http://192.168.233.244",
|
||||
"/save": "http://192.168.233.244",
|
||||
"/reboot": "http://192.168.233.244",
|
||||
"/configfile": "http://192.168.233.244",
|
||||
"/upgrade": "http://192.168.233.244",
|
||||
"/mqtt-ca": "http://192.168.233.244",
|
||||
"/mqtt-cert": "http://192.168.233.244",
|
||||
"/mqtt-key": "http://192.168.233.244",
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user