Added icons. Unified formatting.
This commit is contained in:
parent
c761fe3285
commit
f7ffbdc183
@ -245,7 +245,10 @@ font:
|
|||||||
'', # mdi-weather-sunset-down
|
'', # mdi-weather-sunset-down
|
||||||
'', # mdi-weather-sunset-up
|
'', # mdi-weather-sunset-up
|
||||||
'', # mdi-lightning-bolt
|
'', # mdi-lightning-bolt
|
||||||
'' # mdi-transmission-tower
|
'', # mdi-transmission-tower
|
||||||
|
'', # mdi-power-plug
|
||||||
|
'', # mdi-desk
|
||||||
|
'' # mdi-television
|
||||||
]
|
]
|
||||||
|
|
||||||
- file: 'fonts/materialdesignicons-webfont.ttf'
|
- file: 'fonts/materialdesignicons-webfont.ttf'
|
||||||
@ -598,8 +601,6 @@ display:
|
|||||||
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
||||||
it.filled_rectangle(125 + offsetX, 21 + offsetY, 110, 3);
|
it.filled_rectangle(125 + offsetX, 21 + offsetY, 110, 3);
|
||||||
|
|
||||||
/* it.print(227 + offsetX, 75 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // thermometer
|
|
||||||
* it.print(227+ offsetX, 115 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // water percent */
|
|
||||||
it.print(227 + offsetX, 110 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // thermometer
|
it.print(227 + offsetX, 110 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // thermometer
|
||||||
|
|
||||||
if(serverroom_temp > -100 && serverroom_temp < 100) {
|
if(serverroom_temp > -100 && serverroom_temp < 100) {
|
||||||
@ -767,7 +768,7 @@ display:
|
|||||||
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
||||||
it.filled_rectangle(125 + offsetX, 21 + offsetY, 110, 3);
|
it.filled_rectangle(125 + offsetX, 21 + offsetY, 110, 3);
|
||||||
|
|
||||||
it.print(227 + offsetX, 110 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // lightning-bolt
|
it.print(227 + offsetX, 110 + offsetY, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // power-plug
|
||||||
|
|
||||||
if(serverroom_power > 0 && serverroom_power < 999) {
|
if(serverroom_power > 0 && serverroom_power < 999) {
|
||||||
it.printf(207 + offsetX, 110 + offsetY, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, "W");
|
it.printf(207 + offsetX, 110 + offsetY, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, "W");
|
||||||
|
Loading…
Reference in New Issue
Block a user