Commit Graph

41 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
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
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
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
DL6ER
bac88f1fc2 Use replaceAll to ensure all newlines are converted to HTML line breaks
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-14 07:30:11 +01:00
DL6ER
52991f495c Merge branch 'development-v6' into tweak/settings_changed_only
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-07 14:04:11 +01:00
RD WebDesign
854a99d411 Remove unnecessary duplicate "Save" button
Note: the button is created on the HTML markup (.lp file)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-12-04 21:39:42 -03:00
RD WebDesign
89866fab77 Adding a container and a semi-transparent background
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-12-02 03:30:35 -03:00
DL6ER
469a179b0e Address review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-01 09:49:20 +01:00
DL6ER
ae228de300 Set only-changed color to blue to match icon color
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:45:01 +01:00
DL6ER
ce96e15d59 Remove settings-level-1 and rename level 0 to basic, level 2 to expert
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:11:27 +01:00
DL6ER
ceb1118c0b Add settings level and only-changed settings toggle
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:10:18 +01:00
RD WebDesign
b3ed5275d4 Fix invalid HTML code generated using javascript
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-27 00:24:42 -03:00
DL6ER
a39c8a5c0a Escape only where we are displaying
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 22:38:01 +01:00
Adam Warner
fef945c49f Disable settings inputs if they are already set by environment variable. Add a padlock icon to the setting section title if any of the settings contained therin are set by environment variable 2023-10-29 15:21:18 +00:00
DL6ER
619ea8f039 Indicate config settings forced by env vars as read-only variables by marking them with a symbol and disabling the elements
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-29 15:21:18 +00:00
DL6ER
b1ec3c4fb1 Add theme and boxed-layout settings to API/webinterface settings page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 19:41:11 +02:00
DL6ER
74baa97aaf Add settings-privacy.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-09 20:30:05 +02:00
DL6ER
60737f9c39 Finish DNS, DHCP and API settings pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-09 10:07:14 +02:00
DL6ER
b30c1e0433 Finish settings-advanced.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-08 13:10:39 +02:00
DL6ER
757907a2c4 Add support for arbitrary RR caching
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-03-07 21:05:55 +01:00
RD WebDesign
ef1b8733f9 Use a single flex container instead of 2 fixed columns
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-03-16 18:10:37 -03:00
RD WebDesign
b0a96d12d0 Use colored icons for Expert and Edited items
also use default boxes instead of "box-warning"

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-03-16 18:07:49 -03:00
DL6ER
3ea5a985cf Restructure settings page into individual smaller files. The massive file grew beyond all bounds and was rather unmaintainable. The new structure has a number of benefits, most importantly it's a lot more repsonsive as we do not have to fire a ton of individual AJAX queries to populate all tabs but only need to source what is actually displayed on the page we are showing here
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-18 14:46:45 +01:00
DL6ER
7396156274 Reorganize settings pageto avoid gaps between boxes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-17 04:41:11 +01:00
DL6ER
7375dd0d91 Introduce settings levels Basic, Advanced and Expert
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-10 13:44:36 +01:00
DL6ER
9ad0485580 Implement static DHCP configuration as new super-power feature with accompanying documentation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-10 12:46:47 +01:00
DL6ER
290300958f Disable incorrect xo complaints
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-09 18:41:47 +01:00
DL6ER
b99ad16720 Implement DHCP leaes table on Settings -> DHCP tab
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-09 18:41:47 +01:00