Bernhard Kirchen
eecd7f7c28
webapp: optimize spacing on bottom of cards
...
if the last child in a card (div.card > div.card-body) adds bottom
marging, we don't want the card to add more space through its
padding-bottom. most cards have children that add sufficient space
at the bottom anyways.
2024-11-01 23:43:51 +01:00
Bernhard Kirchen
ba304b2871
webapp: fix inverter "add" and "save order" button positions
...
the source tells us that the buttons are supposed to be on the right of
tha card, but the CSS broke at some point.
2024-11-01 23:42:56 +01:00
Bernhard Kirchen
0832d3e18c
webapp: beautify radio statistics reset button
...
it would be nice to have this in the header of the accordion, which is
hard, but doable. however, clicking the button then also toggles the
accordion, which is unacceptable. preventing that seems non-trivial, as
the @click.stop() is not enough. also, nesting interactive elements is
simply bad practice. the button can also go to the right of header, with
reasonable effort, but the corner radii are then messed up and would
need to react interactively (accordion collapsed or not), which is also
a pain.
we now "float" the reset button to the right, add a nice icon, and give
the button some space so it at least looks like it belongs there.
2024-11-01 23:42:04 +01:00
Bernhard Kirchen
3c188f2f9f
webapp: adjust look of tables in accordions to live view cards
...
this is relevant for the radio statistics table, as well as the tables
in the grid profile modal.
2024-11-01 23:40:52 +01:00
Bernhard Kirchen
68d2f7bf29
webapp: apply card-table class to info view cards
...
the cards in all information views still used a div.card-body around the
table, which added a margin on all sides of the table. to achieve a
unified look, these cards and tables now look the same as the inverter
channel cards.
2024-11-01 23:39:54 +01:00
Bernhard Kirchen
ad73fd8abd
webapp: align table headers with card headers
...
set the left margin of table header cells to the same marging the card
header use, such that the text align on the same axis.
2024-11-01 23:39:00 +01:00
Bernhard Kirchen
e6a994fd7a
webapp: use reasonable name for radio stats accordion
2024-11-01 23:38:29 +01:00
Bernhard Kirchen
d324a5c83f
webapp: equalize style of cards with tables in live view
...
this change adjusts the style of cards showing tables such that they
look the same as inverter channel info tables.
2024-11-01 23:37:49 +01:00
Bernhard Kirchen
0aba1595df
webapp: avoid inline style in inverter channel info card
2024-11-01 23:37:03 +01:00
Bernhard Kirchen
376912d821
webapp: add gap between inverter selectors
2024-11-01 23:36:17 +01:00
Bernhard Kirchen
d3eabc3311
webapp: remove table's bottom margin
...
we don't need a margin at the bottom of tables in general. not sure why
this is even a thing in bootstrap. this change, in particular, makes the
space between a table and a parent card symmetric on all sides.
2024-11-01 23:35:34 +01:00
Bernhard Kirchen
d06ea51c7a
webapp: last table row shall have no bottom border
...
similar to the first row which has no border at the top.
2024-11-01 23:34:41 +01:00
Bernhard Kirchen
c750defc5f
webapp: right-align labels for inputs on non-sm viewports
...
this change tries to achieve a pleasing look of input forms by
right-aligning the texts of labels. the input form now looks similar
to a table, achieving a cleaner look, especially for forms where the
labels have varying text lenghts.
2024-11-01 23:33:48 +01:00
Thomas Basler
130d90ce04
Merge branch 'pr2328' into dev
2024-11-01 22:12:41 +01:00
Thomas Basler
55c98ef880
Fix: skip BOM in JSON files (pin_mapping and config)
...
based on #2387
2024-11-01 22:07:48 +01:00
Thomas Basler
6c903abda1
Fix: Lint Error
2024-11-01 22:01:30 +01:00
Thomas Basler
28788070b2
Upgrade ESPAsyncWebServer from 3.3.17 to 3.3.21
2024-11-01 21:56:41 +01:00
Thomas Basler
0fc1ffc4d3
webapp: Update dependencies
2024-11-01 21:52:55 +01:00
Thomas Basler
8019eaf182
Feature: Validate JSON before uploading
2024-11-01 21:52:13 +01:00
Thomas Basler
225cab676a
Fix: Take DST into account when recalculating the sunrise sunset time
...
If it is not considered the correct sunset / sunrise time is only calculated at the next day
Fixes : #2377
2024-10-27 14:03:44 +01:00
Thomas Basler
4594bcb23e
Feature: Added device info for HMS-700
2024-10-26 14:51:03 +02:00
Thomas Basler
b21e8f8c80
Added README.md to lang folder
2024-10-25 23:04:14 +02:00
Thomas Basler
8566b08723
Feature: Added italian display translation
2024-10-25 22:42:47 +02:00
Thomas Basler
8452a8d110
Feature: Added spanish display translation
2024-10-25 22:39:25 +02:00
Thomas Basler
70f301941b
Feature: Implement language pack support for display texts
2024-10-25 22:38:55 +02:00
Thomas Basler
d259042542
Rewrite display language handling to work with locale strings instead of magic numbers.
...
This is required to implement further i18n functions using the language packs
2024-10-25 21:43:29 +02:00
Thomas Basler
6113e0737b
webapp: Fix: WaitRetstartView showed basic auth dialog
2024-10-25 21:42:52 +02:00
Thomas Basler
2a21e53422
webapp: Rename interface to prevent lint errors
2024-10-21 22:41:52 +02:00
Thomas Basler
521fce35e4
webapp: Added global reboot wait screen
2024-10-21 21:59:38 +02:00
Thomas Basler
2e23c7e0ae
Check if language pack metadata are valid
2024-10-21 20:15:56 +02:00
Thomas Basler
68c87c9217
Move lookup for translation path to separate method
2024-10-21 20:15:56 +02:00
Thomas Basler
4a247f5e94
Feature: Added italian language pack
2024-10-21 20:15:56 +02:00
Thomas Basler
05006e0642
Feature: Added spanish language pack
2024-10-21 20:15:56 +02:00
Thomas Basler
d9a8461a2e
Feature: Allow custom language pack for webapp
2024-10-21 20:15:56 +02:00
Thomas Basler
c3d3d947d7
webapp: Allow upload of language packs
2024-10-21 19:02:50 +02:00
Thomas Basler
e29b86e4dc
Add API endpoint to retrieve custom languages and complete language pack
2024-10-21 19:02:50 +02:00
Thomas Basler
8257eb7aa2
webapp: Use global AlertResponse interface
2024-10-19 17:39:12 +02:00
Thomas Basler
1e857b79c1
Feature: Refactor config management interface
2024-10-19 17:35:19 +02:00
Thomas Basler
16901482d9
Refactor file handling API and add endpoint to delete files
2024-10-19 12:40:43 +02:00
Thomas Basler
aa9f36ee8f
Rename config API to file API
2024-10-19 11:07:15 +02:00
Thomas Basler
cf1693e1a0
Upgrade ESPAsyncWebServer from 3.3.16 to 3.3.17
2024-10-16 21:25:29 +02:00
Thomas Basler
e5cf12cebd
Update nrf24/RF24 from 1.4.9 to 1.4.10
2024-10-16 21:24:01 +02:00
Thomas Basler
bcf4b70dc9
Fix: cpplint errors
2024-10-15 19:11:17 +02:00
Thomas Basler
dc5eb96f50
webapp: add app.js.gz
2024-10-15 18:22:57 +02:00
Thomas Basler
507e86d3b6
Upgrade ESPAsyncWebServer from 3.3.15 to 3.3.16
2024-10-15 18:12:41 +02:00
Thomas Basler
1900d78122
webapp: Update dependencies
2024-10-15 18:11:31 +02:00
Thomas Basler
b2522961cd
Upgrade olikraus/U8g2 from 2.35.30 to 2.36.2
2024-10-14 19:46:17 +02:00
Thomas Basler
499f872641
Upgrade ESPAsyncWebServer from 3.3.14 to 3.3.15
2024-10-14 19:42:33 +02:00
Thomas Basler
fcf401d20a
Upgrade ESPAsyncWebServer from 3.3.13 to 3.3.14
2024-10-13 12:33:12 +02:00
Thomas Basler
0468ccc34a
webapp: Update dependencies
2024-10-12 21:38:07 +02:00