Commit Graph

2531 Commits

Author SHA1 Message Date
RD WebDesign 8a88c8e67b Add button classes to nav-pills elements
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-05 20:31:24 -03:00
RD WebDesign ab16bb80db Do not use tabs when showing only Modified Settings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-05 20:31:05 -03:00
RD WebDesign c202f55179 Remove the word "settings" from each tabs button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:48 -03:00
RD WebDesign f0664ae90d Cleaner layout for "All Settings" page
- remove the external green boxes;
- remove border from inner boxes (and change the box-shadow);
- add navigation and tabs for settings sections;
- adjust/add some classes for formatting

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:47 -03:00
RD WebDesign 3e6d0e9dcf Use radio buttons for enum types
This replaces the original `<select>` and merges the options with the
"allowed values" block in a single one, simplifying the presentation.
Also, the defaultValueHint was incorporated into the default value.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:44 -03:00
RD WebDesign 3a5b791b7a Use full width for array values
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:43 -03:00
RD WebDesign d66c5ec310 CSS adjustments
- change label style and width
- set icons padding

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:42 -03:00
RD WebDesign 494c1cf1c0 Replace non-breaking spaces with a margin
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:28 -03:00
RD WebDesign 03c0d3eb94 Move value.description to box-body and the content to box-footer
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:51 -03:00
RD WebDesign 84bd977f87 Add a few CSS classes
- add class `row` to form-group (because it contains columns) and move
  the tag to the details function
- add class `col-sm-12` to boolean values
- add new class `settings-box` to allow targeting only settings boxes

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:50 -03:00
RD WebDesign e9df006489 Move value details and layout to a dedicated function
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:48 -03:00
RD WebDesign 44e1a9b8cd Move code used to format icons to a dedicated function
also surround the icons with a SPAN tag.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 17:56:38 -03:00
Adam Warner 24977e8616 Bump chart.js from 4.4.2 to 4.4.3 (#3027) 2024-05-28 19:24:52 +01:00
RD WebDesign a1df7bd9fe Remove the small-box glow effect on text updates
to avoid accessibility issues

Fixes #3011

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-05-22 22:56:03 -03:00
Christian König a676026fff Update chartjs files
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-05-22 20:25:54 +02:00
DL6ER c3336f781a Remove superfluous copy-paste remnants in API /clients call
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-03 20:06:41 +02:00
Dominik 5b1b54195a Add selective Teleporter options (#2999) 2024-04-07 20:35:27 +02:00
RD WebDesign f842c72236 Settings Pages - small adjustments (#3000)
- Fix buttons in high contrast themes
- consistent indentation and widths for fields and labels
- use class `form-control` to format every form field
- add some line breaks to improve readability
- use colors in "Currently active sessions" table
2024-04-03 16:27:35 -03:00
RD WebDesign 172e4ea3c4 Use colors in Currently active sessions table
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-04-02 21:28:48 -03:00
DL6ER 88fb2fc3ca Add selective Teleporter options
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 22:00:29 +02:00
DL6ER 64ccce4bd5 Add field-sizing-content class that makes input and textarea fields it is applied to automatically scale to the size of their content.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-01 19:52:22 +01:00
DL6ER a5fd8b6735 Move local DNS records from expert to basic settings level
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 20:36:23 +01:00
Dominik ab87e110d5 Fix incorrect redirection (#2993) 2024-03-26 02:21:19 +01:00
DL6ER 1ccd27ff57 Do not redirect outside of settings pages on basic level and empty pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-25 05:31:26 +01:00
RD WebDesign c8704d707e Add missing priority ERROR to taillog formatFTL() function
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-03-20 17:00:35 -03:00
Dominik 7d51f40274 Tweak settings level and add changed-only toggle (#2882) 2024-03-17 20:35:47 +01:00
DL6ER d880a387f7 Merge branch 'development-v6' into fix/overTimeGraphs
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-16 09:06:31 +01:00
Dominik 240b3aafb5 Add searching for domains and clients in the Query Log (#2980) 2024-03-15 17:17:20 +01:00
DL6ER 5cb2a893a8 Add searching for domains and clients in the Query Log. Wildcards (*) are supported everywhere in the search string.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-14 19:33:14 +01:00
DL6ER 9e8467c417 If we left with an empty page (no visible boxes) after switching from Expert to Basic settings, redirect to admin/settings/system instead
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-12 19:17:52 +01:00
DL6ER d82feab8ac Hide group headers on the all settings page after toggling to show only modified settings if there are no modified settings within that group
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-12 19:15:39 +01:00
Dominik 1b46894d72 Add progress reporting (#2829) 2024-03-09 07:14:37 +01:00
Dominik fb30ea9507 Redesign domain search input field (#2957) 2024-03-07 19:01:06 +01:00
Adam Warner f79a4046ec Use automatic percent formatting (#2972) 2024-03-04 17:44:18 +00:00
Emir SARI 2a45388b4b Use automatic percent formatting
Signed-off-by: Emir SARI <emir_sari@icloud.com>
2024-03-04 20:22:21 +03:00
Adam Warner 8f23b3a7ba Bump chart.js from 4.4.1 to 4.4.2 (#2969) 2024-03-03 17:10:13 +00:00
Christian König 7c447a85ef Add chartjs files
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-03 09:16:03 +01:00
DL6ER d9cd239e87 Add support for the new sparse-data format returned by /history/clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-16 17:18:08 +01:00
DL6ER 2098a11a2a Handle allow- and blocklists separately from each other in Search
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 08:52:39 +01:00
DL6ER d7cf23ba2f Add support the same list being used once as allow- and once as blocklist
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 08:41:50 +01:00
DL6ER 7708887b07 Also show percentages in the client activity graph
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 16:13:47 +01:00
DL6ER c64d84a18f Ensure percentages are computed correctly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 16:08:05 +01:00
DL6ER 938c6ef383 Redesign search input field to solve #2701
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 12:37:23 +01:00
DL6ER 50f28e8a93 The permitted column in the main graph was actually the sum of forwarded and other queries. As cache is arguably somehow permitted, too, make the difference between them clear
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 21:02:43 +01:00
DL6ER 99c85fc170 Remove advanced flag handling in config API parsing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 10:16:32 +01:00
DL6ER 2f44fc63cc Merge branch 'development-v6' into tweak/settings_changed_only
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 10:14:49 +01:00
Dominik 128ae80d68 Query Log: Show link to groups/lists page if applicable (#2916) 2024-02-09 20:52:33 +01:00
DL6ER a0ddfe69a2 Format changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-06 18:01:03 +01:00
DL6ER ab42f54367 Show link to search page instead of to the list ID returned by the API. This is a better strategy in case a user has a certain domain on multiple lists. We intentionally don't submit on the search page to let the user decide if they want exact or partial matching
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-06 17:55:19 +01:00
DL6ER c480e0343d Fix interpretation of lease expiration field in case it is 0. This does not mean 1st of January 1970 but really a never expiring lease
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-26 16:59:30 +01:00