Commit Graph
5803 Commits
Author SHA1 Message Date
DL6ER 49cd7f8a37 Continue tailing log after FTL restart (#2866) 2023-11-23 22:08:42 +01:00
RD WebDesign c3ee946ac8 Local records: better layout to avoid text overlapping in smaller screens (#2864) 2023-11-23 17:10:18 -03:00
yubiuser e4ac12c3e0 Update datatables (#2852) 2023-11-23 20:36:46 +01:00
DL6ER d2546bdc52 Reset nextID on change of FTL's PID to appreciate the new counter after a restart
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-23 09:41:13 +01:00
RD WebDesign 1c0a3ea8a3 Fix column width zero adding autoWidth: false
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-23 03:26:49 -03:00
RD WebDesign 9fdd77f9b5 Adjusting the placeholder text and cell widths
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-22 19:14:24 -03:00
yubiuser 54dba57161 Emphasize whole row for current client in API session table (#2865) 2023-11-22 22:09:10 +01:00
yubiuserandRD WebDesign e7be61b9e2 Less code is better code
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <ckoenig@posteo.de>
2023-11-22 22:03:43 +01:00
RD WebDesign 17fca26e28 Remove test leftover - unused code (#2863) 2023-11-22 13:23:07 -03:00
Christian König 43200d2de8 Fix styling
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-22 12:11:44 +00:00
Christian König 89873c226a Emphasize whole row for current client
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-22 13:06:04 +01:00
RD WebDesign 0a4af10463 Add missing text "(optional)" to the TTL field
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-22 00:58:55 -03:00
RD WebDesign 4ceabfb388 Simplify the layout moving "add new item" fields to the table footer
- create a table footer and move the input fields there;
- CSS to format the input fields
- remove the collapsible box

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-22 00:24:18 -03:00
RD WebDesign 2aa278d209 Move notes to extenal box-footer
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 21:23:12 -03:00
RD WebDesign 3dcc2862b5 Adjust the grid for datatables elements
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 20:25:38 -03:00
RD WebDesign 0d5365af86 Use 2 columns only in large screens
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 20:23:38 -03:00
RD WebDesign 2bf2420af4 Removing code not used
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 20:11:32 -03:00
RD WebDesign ad81c347d5 Add pagination controls to Local records pages (#2859) 2023-11-21 19:48:53 -03:00
RD WebDesign 15364b500c Add pagination controls to Local records pages
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-21 15:49:41 -03:00
DL6ER 42395e14bc Improve escaping on the web interface (#2851) 2023-11-21 18:45:36 +01:00
DL6ER fe8296acb8 Merge branch 'development-v6' into tweak/contentType
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-20 19:51:49 +01:00
DL6ER 52f198971c Show Unicode domains (if domain is punycode-encoded) (#2857) 2023-11-20 19:45:43 +01:00
yubiuser 44d6edd50f Fix deleting sessions via red trash icon (#2856) 2023-11-19 23:13:07 +01:00
DL6ER a518b60afe Show Unicode domains (if different from possibly punycode-encoded raw domains)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-19 23:02:12 +01:00
DL6ER ae52e79bbc Add HTTP 403 error page (#2853) 2023-11-19 22:41:45 +01:00
RD WebDesign 3b5cfd7d6e Change the text-danger color to increase the contrast
The issue only affects one theme: High Contrast Dark

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 18:04:39 -03:00
Christian König a4b7537ae1 Fix deleting sessions via red trash icon
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-19 20:55:54 +00:00
Christian König 55782d3e82 Revert datatables select to v 1.3.1
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-19 20:56:27 +01:00
RD WebDesign 49f6d76140 Rename the modified datatables.min.css to datatables-pihole.min.css
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 16:00:40 -03:00
RD WebDesign 4ac37a602e Use a modified version of datatables.min.css
- after the update, a few CSS rules were removed to keep the original look;
- a header containing a link to the removed code was added.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 15:57:22 -03:00
Christian König 040f746c22 Revert "Set pagingTag: 'button'"
This reverts commit a8bb9ed201.

Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-19 13:48:39 +01:00
DL6ER caef160c55 Add HTTP 403 error page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-19 11:39:33 +01:00
RD WebDesign d3652ffed3 Fix the selected row background and text colors
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 03:00:09 -03:00
RD WebDesign c8bad97b84 Revert the style change for select plugin (back to 1.3.1)
This fixes the double checkbox icon used to select table rows

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 03:00:08 -03:00
RD WebDesign c172a7349b Use the Bootstrap 3 version for buttons (CSS)
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 02:59:50 -03:00
RD WebDesign cb35da4e91 Add datatables bootstrap3 integration code (javascript)
- Add the main integration code for datatables
- Add the integration code for Buttons plugin

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-19 02:57:54 -03:00
Christian König a8bb9ed201 Set pagingTag: 'button'
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 23:59:50 +01:00
Christian König 1080019ff1 Fix datatable warning on network table
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 23:03:59 +01:00
Christian König f9d33979f1 Update datatables
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 22:45:24 +01:00
DL6ER a39c8a5c0a Escape only where we are displaying
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 22:38:01 +01:00
DL6ER bc1c6bc117 Explicitly set contentType to avoid promotion to jsonp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 12:54:41 +01:00
Adam Warner 69f838f7a6 [DevContainer] Mount external ssh directory in the correct place (#2850) 2023-11-18 11:39:11 +00:00
Adam Warner 9bb6d83895 Because the container is started as user node, the ssh mount should be in /home/node/.ssh rather than root
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-11-18 11:20:12 +00:00
yubiuser cbe7b3bfdd Devcontainer (#2847) 2023-11-18 10:55:03 +01:00
Christian König dc2cfdba28 Fix tests and editorconfig
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 09:26:52 +00:00
Christian König d0acd5f81b Update prettier to 3.1.0 and regenerate package-lock.json
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 09:17:37 +00:00
Christian König 270dabfeca Add devcontainer
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 09:06:47 +00:00
DL6ER 627020748f Fix possible race-collision (#2846) 2023-11-17 21:34:17 +01:00
DL6ER 7c0812b52b Apply necessary code styling changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:36:38 +01:00
DL6ER 9815602ecd Call initTable() from getGroups() when finished to avoid a possible race-collision
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:33:38 +01:00