emhass 0.11.4__py3-none-any.whl → 0.15.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
emhass/static/style.css CHANGED
@@ -162,7 +162,6 @@ a:active {
162
162
 
163
163
  a:active,
164
164
  a:hover {
165
- outline-width: 0;
166
165
  outline: 0;
167
166
  }
168
167
 
@@ -217,7 +216,7 @@ blockquote> :last-child {
217
216
  margin-bottom: 0;
218
217
  }
219
218
 
220
- padding b,
219
+ b,
221
220
  strong {
222
221
  font-weight: inherit;
223
222
  font-weight: 600;
@@ -338,7 +337,6 @@ hr::after {
338
337
  }
339
338
 
340
339
  img {
341
- border-style: none;
342
340
  border: 0;
343
341
  max-width: 50%;
344
342
  }
@@ -451,6 +449,7 @@ html [type="button"],
451
449
  [type="reset"],
452
450
  [type="submit"] {
453
451
  -webkit-appearance: button;
452
+ appearance: button;
454
453
  }
455
454
 
456
455
  button::-moz-focus-inner,
@@ -503,6 +502,7 @@ textarea {
503
502
 
504
503
  [type="search"] {
505
504
  -webkit-appearance: textfield;
505
+ appearance: textfield;
506
506
  outline-offset: -2px;
507
507
  }
508
508
 
@@ -679,7 +679,7 @@ button {
679
679
  .mystyle,
680
680
  .main-svg {
681
681
  font-size: 11pt;
682
- font-family: Arial;
682
+ font-family: Arial, sans-serif;
683
683
  border-collapse: collapse;
684
684
  border-style: hidden;
685
685
  }
@@ -919,7 +919,7 @@ select,
919
919
  .input-buttons {
920
920
  max-width: 50%;
921
921
  display: flex;
922
- align-items: "center";
922
+ align-items: center;
923
923
  align-self: center;
924
924
  align-items: center;
925
925
  box-sizing: inherit;
@@ -1158,9 +1158,7 @@ input:checked+.slider:before {
1158
1158
 
1159
1159
  .param h5,
1160
1160
  p {
1161
- margin: 5px;
1162
- margin-left: 0px;
1163
- margin-bottom: 0px;
1161
+ margin: 5px 5px 0 0;
1164
1162
  }
1165
1163
 
1166
1164
  .param button {
@@ -1,6 +1,6 @@
1
1
  <!-- Configuration page html -->
2
2
  <!DOCTYPE html>
3
- <html class="adaptive">
3
+ <html lang="en" class="adaptive">
4
4
 
5
5
  <head>
6
6
  <title>EMHASS: Energy Management Optimization for Home Assistant</title>
@@ -61,12 +61,14 @@
61
61
  <!-- alert box -->
62
62
  <div style="display: none;" id="alert" class="alert">
63
63
  <div>
64
- <span onclick="this.parentElement.parentElement.style.display='none';">&times;</span>
64
+ <button type="button" class="close-btn" onclick="this.parentElement.parentElement.style.display='none';" aria-label="Close">
65
+ &times;
66
+ </button>
65
67
  <p id="alert-text"></p>
66
68
  </div>
67
69
  </div>
68
70
  <footer class="footer">
69
- <p style="margin-top:10px; text-align:center;">&copy; MIT License | Copyright (c) 2021-2023 David
71
+ <p style="margin-top:10px; text-align:center;">&copy; MIT License | Copyright (c) 2021-2025 David
70
72
  HERNANDEZ</p>
71
73
  </footer>
72
74
  </div>
@@ -1,9 +1,9 @@
1
1
  <!-- Index page html -->
2
2
  <!DOCTYPE html>
3
- <html class="adaptive">
3
+ <html lang="en" class="adaptive">
4
4
 
5
5
  <head>
6
- <title>EMHASS: Energy Management Optimization for Home Assistant</title>
6
+ <meta charset="UTF-8"> <title>EMHASS: Energy Management Optimization for Home Assistant</title>
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
8
  <link rel="stylesheet" type="text/css" href="static/style.css?version=1">
9
9
  <link rel="icon" type="image/x-icon" href="static/img/emhass_logo_short.svg">
@@ -52,7 +52,9 @@
52
52
  <!-- alert box element -->
53
53
  <div style="display: none;" id="alert" class="alert">
54
54
  <div>
55
- <span onclick="this.parentElement.parentElement.style.display='none';">&times;</span>
55
+ <button type="button" class="close-btn" onclick="this.parentElement.parentElement.style.display='none';" aria-label="Close">
56
+ &times;
57
+ </button>
56
58
  <p id="alert-text"></p>
57
59
  </div>
58
60
  </div>
@@ -63,15 +65,15 @@
63
65
  <div id="template"> <!-- table/diagram container element -->
64
66
  {% for plot in injection_dict %} <!-- diagrams/tables elements will be added here -->
65
67
  <div class="table_div">
66
- {{injection_dict[plot]}}
68
+ {{injection_dict[plot] | mark_safe}}
67
69
  </div>
68
70
  {% endfor %}
69
71
  <div>
70
72
 
71
73
  <footer class="footer">
72
- <p style="margin-top:10px; text-align:center;">&copy; MIT License | Copyright (c) 2021-2023 David
74
+ <p style="margin-top:10px; text-align:center;">&copy; MIT License | Copyright (c) 2021-2025 David
73
75
  HERNANDEZ</p>
74
76
  </footer>
75
77
  </body>
76
78
 
77
- </html>
79
+ </html>
@@ -1,5 +1,4 @@
1
- {% for plot in injection_dict %} <!-- diagrams/tables elements will be added here -->
2
- <div class="table_div">
3
- {{injection_dict[plot]}}
4
- </div>
5
- {% endfor %}
1
+ {% for plot in injection_dict %}
2
+ <!-- diagrams/tables elements will be added here -->
3
+ <div class="table_div">{{injection_dict[plot] | mark_safe}}</div>
4
+ {% endfor %}