Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
5365cdd
build(deps-dev): bump postcss from 8.5.3 to 8.5.4
dependabot[bot] May 30, 2025
f78257b
header_authenticated.lp: add the hostname `li` only if it's greater t…
XhmikosR Jun 2, 2025
b3e8e40
footer: use text for sysinfo-cpu
XhmikosR Jun 2, 2025
96cbbce
footer: use text for sysinfo-cpu (#3502)
yubiuser Jun 3, 2025
1eb64c3
Remove superfluosus ettings-level-expert class
yubiuser Jun 5, 2025
1ad69cb
build(deps): bump github/codeql-action from 3.28.18 to 3.28.19
dependabot[bot] Jun 7, 2025
b81422f
build(deps): bump github/codeql-action from 3.28.18 to 3.28.19 (#3507)
yubiuser Jun 7, 2025
607a42a
build(deps-dev): bump postcss from 8.5.3 to 8.5.4 (#3498)
yubiuser Jun 7, 2025
6ae6222
Sync master back into development (#3496)
yubiuser Jun 9, 2025
e41fd81
build(deps): bump github/codeql-action from 3.28.19 to 3.29.0
dependabot[bot] Jun 14, 2025
095d703
build(deps-dev): bump postcss from 8.5.4 to 8.5.5
dependabot[bot] Jun 14, 2025
f61710a
build(deps-dev): bump postcss from 8.5.4 to 8.5.5 (#3512)
yubiuser Jun 14, 2025
9f2ffec
build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 (#3510)
yubiuser Jun 14, 2025
293a844
header: don't hide advanced info since it's always shown
XhmikosR Jun 14, 2025
3d7f0d4
Lowercase doctype
XhmikosR Jun 15, 2025
c205e23
Lowercase doctype (#3515)
yubiuser Jun 15, 2025
8529cb0
Fix a few HTML validation issues
XhmikosR May 18, 2025
538020e
header: don't hide advanced info since it's always shown (#3513)
yubiuser Jun 16, 2025
b979fff
Fix a few HTML validation issues (#3517)
yubiuser Jun 16, 2025
64b4756
Update chart.js to v4.5.0 (#3516)
XhmikosR Jun 16, 2025
aaa692d
footer: remove document.hidden in checkBlocking (#3518)
XhmikosR Jun 19, 2025
1d93f5d
Clarify client description priorities on the groups/client interface
DL6ER Jun 20, 2025
20ddeb8
Clarify client description priorities on the groups/client interface …
DL6ER Jun 20, 2025
a07daca
header_authenticated.lp: add the hostname `li` only if it's greater t…
DL6ER Jun 20, 2025
30ff1cd
Remove superfluous settings-level-expert class (#3503)
yubiuser Jun 20, 2025
65e2917
settings-dns: expand custom servers box if it has custom servers
XhmikosR Jun 14, 2025
5efe33b
Abstract collapsing box to a new util
XhmikosR Jun 21, 2025
3dd02a9
groups-clients.lp: fix invalid HTML
XhmikosR Jun 21, 2025
3cbe3c3
groups-clients.lp: fix invalid HTML (#3522)
yubiuser Jun 21, 2025
57056d7
build(deps-dev): bump postcss from 8.5.5 to 8.5.6
dependabot[bot] Jun 21, 2025
c8ddfaa
build(deps-dev): bump postcss from 8.5.5 to 8.5.6 (#3524)
yubiuser Jun 21, 2025
156a687
Remove link to rate limit documentation which does not add further de…
yubiuser Jun 21, 2025
980a589
Remove link to rate limit documentation which does not add further et…
yubiuser Jun 22, 2025
4e5d4cf
Add some color to gravity output
yubiuser Jun 24, 2025
b884688
Replace ANSI escape codes with HTML tags
yubiuser Jun 24, 2025
785494e
Add <span> counter
yubiuser Jun 24, 2025
9ad85da
Disable eslint prettier/prettier rule for the block too keep it readable
yubiuser Jun 24, 2025
9618f32
Use mapping
yubiuser Jun 24, 2025
f11ac8f
Processs line squentially to always close the right number of <span> …
yubiuser Jun 24, 2025
f58e169
Add some color to gravity output (#3530)
DL6ER Jun 25, 2025
ce991b2
settings-system : Avoid division by zero in DNS metrics
rrobgill Jun 25, 2025
ba0fb42
settings-system : Avoid division by zero in DNS metrics (#3533)
yubiuser Jun 26, 2025
4aaf7fe
header: move unneeded unauthenticated assets to authenticated
XhmikosR Jun 20, 2025
ff3b8a1
Update prettier and regenerate package-lock.json
XhmikosR May 20, 2025
4750d61
settings-dns-records: merge DOMContentLoaded listeners
XhmikosR Jun 27, 2025
4ac3fd0
Drop htmlPass util since it's only used once
XhmikosR May 15, 2025
2cdf475
header: move unneeded unauthenticated assets to authenticated (#3536)
yubiuser Jun 27, 2025
65c957c
Update prettier and regenerate package-lock.json (#3537)
yubiuser Jun 27, 2025
839e2a6
Drop htmlPass util since it's only used once (#3539)
yubiuser Jun 27, 2025
8329997
Update xo to v1.1.1
XhmikosR May 24, 2025
5a950a6
settings-dns-records: merge DOMContentLoaded listeners (#3538)
yubiuser Jun 27, 2025
0fa650d
charts.js: refactor to reduce complexity, improve readability and per…
XhmikosR Mar 23, 2025
d3619bb
interfaces: switch to vanilla JS and refactor code to reduce complexi…
XhmikosR Mar 27, 2025
ef4f976
gravity: convert to vanilla JS and refactor code
XhmikosR Apr 4, 2025
4ce43a3
utils: modernize hex functions
XhmikosR Apr 4, 2025
87c0985
secondsTimeSpanToHMS: use modulo operator and padStart
XhmikosR Jun 28, 2025
fb419d3
build(deps): bump github/codeql-action from 3.29.0 to 3.29.1
dependabot[bot] Jun 28, 2025
d9c7423
build(deps): bump github/codeql-action from 3.29.0 to 3.29.1 (#3549)
yubiuser Jun 28, 2025
306edb2
tailog: convert to vanilla JS and improve performance
XhmikosR Apr 5, 2025
59a43c7
tailog: validate file URL param and guard against infinite loop
XhmikosR Apr 13, 2025
a2c662e
Apply red and green to "Add to domains" buttons
darkexplosiveqwx Jun 28, 2025
8b14367
Make the "Add to denied/allowed domains" buttons red and green (#3551)
yubiuser Jun 28, 2025
387ad34
settings-dns: expand custom servers box if it has custom servers (#3514)
PromoFaux Jun 29, 2025
16fee67
Use /flush/network instead of /flush/arp
yubiuser Jun 30, 2025
9c00467
utils: remove duplicate function and convert changeTableButtonStates …
XhmikosR Apr 15, 2025
08ff9bf
build(deps): bump github/codeql-action from 3.29.1 to 3.29.2
dependabot[bot] Jul 5, 2025
57372dc
build(deps): bump github/codeql-action from 3.29.1 to 3.29.2 (#3556)
yubiuser Jul 5, 2025
db00480
Remove query type from domainNeeded option
yubiuser Jul 9, 2025
56fdd47
Remove query type from domainNeeded option (#3557)
yubiuser Jul 10, 2025
412c15b
Update xo to v1.1.1 (#3485)
PromoFaux Jul 11, 2025
e1001d6
secondsTimeSpanToHMS: use modulo operator and padStart (#3548)
PromoFaux Jul 11, 2025
0091f74
taillog: convert to vanilla JS and improve things (#3550)
PromoFaux Jul 11, 2025
7207a5c
utils: remove duplicate function and convert changeTableButtonStates …
PromoFaux Jul 11, 2025
acc8583
utils: modernize hex functions (#3546)
PromoFaux Jul 11, 2025
014ce38
gravity: convert to vanilla JS and refactor code (#3545)
PromoFaux Jul 11, 2025
b90361c
interfaces: switch to vanilla JS and refactor code to reduce complexi…
PromoFaux Jul 11, 2025
93cb968
Sync master back into development (#3558)
PromoFaux Jul 11, 2025
353ba2f
charts.js: refactor to reduce complexity, improve readability and per…
PromoFaux Jul 11, 2025
a89fdda
Only underline clickable legend items in pie charts
yubiuser Jun 25, 2025
41cdc97
Show pointer only for clickable items
yubiuser Jun 25, 2025
12ada30
Handle pie chart item style conditionally (#3532)
PromoFaux Jul 12, 2025
eb140af
Make DNSSEC icon conditional in Queries Log
sharkboots75 Apr 16, 2025
fc01fb0
Fix tests
yubiuser Jun 27, 2025
028491d
build(deps-dev): bump eslint from 9.29.0 to 9.31.0
dependabot[bot] Jul 12, 2025
1671bc7
build(deps-dev): bump eslint from 9.29.0 to 9.31.0 (#3560)
yubiuser Jul 12, 2025
79c99f9
build(deps-dev): bump globals from 16.2.0 to 16.3.0
dependabot[bot] Jul 12, 2025
3182af0
build(deps-dev): bump globals from 16.2.0 to 16.3.0 (#3561)
yubiuser Jul 12, 2025
1fd924f
Use label-primary for number of enabled list icon on sidebar
yubiuser Jul 13, 2025
81d6122
Use label-primary for number of enabled list icon on sidebar (#3563)
DL6ER Jul 14, 2025
1c753f7
Use innerHTML instead of append to fix gravity color output
yubiuser Jul 16, 2025
6023387
Use innerHTML instead of append to fix gravity color output (#3566)
DL6ER Jul 16, 2025
e137dd0
Bind address to new element instead of raw HTML construction
DL6ER Jul 16, 2025
d2dc253
Trim whitespaces before adding custom DNS record
yubiuser Jul 16, 2025
ac7b984
Also trim CNAME input fields
yubiuser Jul 16, 2025
48d0f19
Trim whitespaces before adding custom DNS record (#3569)
yubiuser Jul 17, 2025
f518450
Bind address to new element instead of raw HTML construction (#3567)
DL6ER Jul 17, 2025
319675a
build(deps-dev): bump xo from 1.1.1 to 1.2.1
dependabot[bot] Jul 19, 2025
6e60bc9
build(deps-dev): bump xo from 1.1.1 to 1.2.1 (#3570)
yubiuser Jul 19, 2025
2e96047
build(deps-dev): bump eslint from 9.31.0 to 9.32.0
dependabot[bot] Jul 26, 2025
aa7ce51
build(deps): bump github/codeql-action from 3.29.2 to 3.29.4
dependabot[bot] Jul 26, 2025
f7c5c76
build(deps): bump github/codeql-action from 3.29.2 to 3.29.4 (#3574)
yubiuser Jul 26, 2025
f9e4d68
build(deps-dev): bump eslint from 9.31.0 to 9.32.0 (#3572)
yubiuser Jul 26, 2025
bec82d8
build(deps): bump github/codeql-action from 3.29.4 to 3.29.5
dependabot[bot] Aug 2, 2025
90f7709
build(deps): bump github/codeql-action from 3.29.4 to 3.29.5 (#3576)
yubiuser Aug 2, 2025
3b3fc03
Hint at the special role of the underscore character
DL6ER Aug 9, 2025
9a9f6cd
build(deps-dev): bump eslint from 9.32.0 to 9.33.0
dependabot[bot] Aug 9, 2025
2df4782
build(deps): bump github/codeql-action from 3.29.5 to 3.29.8
dependabot[bot] Aug 9, 2025
594ad22
build(deps-dev): bump eslint from 9.32.0 to 9.33.0 (#3579)
yubiuser Aug 9, 2025
60a3e4b
build(deps): bump github/codeql-action from 3.29.5 to 3.29.8 (#3580)
yubiuser Aug 9, 2025
035a286
Use /flush/network instead of /flush/arp (#3553)
yubiuser Aug 14, 2025
aeb86e4
build(deps-dev): bump xo from 1.2.1 to 1.2.2
dependabot[bot] Aug 16, 2025
288dc36
build(deps): bump github/codeql-action from 3.29.8 to 3.29.9
dependabot[bot] Aug 16, 2025
0bf92bf
build(deps): bump actions/checkout from 4.2.2 to 5.0.0
dependabot[bot] Aug 16, 2025
44bd883
build(deps-dev): bump xo from 1.2.1 to 1.2.2 (#3582)
yubiuser Aug 16, 2025
7aa97a4
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#3584)
yubiuser Aug 16, 2025
17c51e5
build(deps): bump github/codeql-action from 3.29.8 to 3.29.9 (#3583)
yubiuser Aug 16, 2025
21a65be
Fix 2FA icon styles #3431
idotj Aug 19, 2025
2768c44
Fix typo
idotj Aug 19, 2025
ee02f1a
Remove CSS
idotj Aug 20, 2025
ce30798
build(deps-dev): bump eslint from 9.33.0 to 9.34.0
dependabot[bot] Aug 23, 2025
78ced9f
build(deps): bump github/codeql-action from 3.29.9 to 3.29.11
dependabot[bot] Aug 23, 2025
4e26fe3
build(deps-dev): bump eslint from 9.33.0 to 9.34.0 (#3589)
yubiuser Aug 23, 2025
1eb9344
build(deps): bump github/codeql-action from 3.29.9 to 3.29.11 (#3591)
yubiuser Aug 23, 2025
be3859d
Prevents getting stuck loading unlimited query log results. Changed i…
ablankenship10 Aug 24, 2025
47d02af
Prevents getting stuck loading unlimited query log results (#3592)
PromoFaux Aug 25, 2025
d799d39
Fix 2FA icon styles #3431 (#3585)
rdwebdesign Aug 26, 2025
ef76839
Pin github action to SHA
yubiuser Aug 27, 2025
9dc305c
Show tooltip of bar graphs below x-axis
yubiuser Sep 10, 2025
66eb947
Only display items in queryOverTimeChart tooltips with at least 1 query
yubiuser Sep 10, 2025
2c18768
Fix calculation of tootlip percentage
yubiuser Sep 10, 2025
52441b7
Remove unnecessary code
rdwebdesign Sep 16, 2025
48666e1
Use an array to store upstream server IPs
rdwebdesign Sep 16, 2025
af471be
Show the upstream server IP on the title tooltip
rdwebdesign Sep 16, 2025
ca57bcf
Include the upstream DNS server name to the link, when needed
rdwebdesign Sep 16, 2025
115b7a8
Fix closing head tag formatting
h3xcat Sep 18, 2025
1edd4e7
Fix closing head tag (#3607)
rdwebdesign Sep 18, 2025
ec5f8b7
Add offset effect on hover to the doughnut charts
rdwebdesign Sep 19, 2025
c6a2e85
Trigger the offset effect when the mouse is over a legend item
rdwebdesign Sep 19, 2025
91346f4
Fix the link on the upstream chart legend (#3606)
rdwebdesign Sep 22, 2025
8e9658e
Rename config key dns.domain > dns.domain.name
yubiuser Sep 28, 2025
a6c372e
Rename config key dns.domain > dns.domain.name (#3611)
yubiuser Sep 30, 2025
94e8e90
Improve line graph tooltip (#3601)
yubiuser Oct 4, 2025
2dc2203
Improve wording
DL6ER Oct 4, 2025
a45a6c4
build(deps-dev): bump eslint from 9.34.0 to 9.37.0
dependabot[bot] Oct 4, 2025
dcb07b7
Make DNSSEC icon conditional in Queries Log (redo of https://github.c…
PromoFaux Oct 4, 2025
f046636
Query Log: The underscore is special (#3578)
DL6ER Oct 4, 2025
078e34c
Adjust domain count according to https://github.com/pi-hole/FTL/pull/…
yubiuser Oct 4, 2025
4b5697c
Fix addList function to include type in API request URL
PromoFaux Oct 4, 2025
ccb160c
Fix addList function to include type in API request URL (#3620)
PromoFaux Oct 4, 2025
d5b080a
Pin github action to SHA (#3593)
yubiuser Oct 4, 2025
dd94c51
build(deps): bump actions/setup-node from 4.4.0 to 5.0.0
dependabot[bot] Oct 4, 2025
c9970e3
build(deps): bump actions/stale from 9.1.0 to 10.1.0
dependabot[bot] Oct 4, 2025
f365051
build(deps): bump github/codeql-action from 3.29.11 to 3.30.6
dependabot[bot] Oct 4, 2025
dc8a306
build(deps): bump github/codeql-action from 3.29.11 to 3.30.6 (#3616)
yubiuser Oct 4, 2025
cd6049e
build(deps): bump actions/stale from 9.1.0 to 10.1.0 (#3615)
yubiuser Oct 4, 2025
ef072a0
build(deps): bump actions/setup-node from 4.4.0 to 5.0.0 (#3597)
yubiuser Oct 4, 2025
35cabc6
build(deps-dev): bump eslint from 9.34.0 to 9.37.0 (#3618)
yubiuser Oct 4, 2025
35055ba
build(deps-dev): bump globals from 16.3.0 to 16.4.0
dependabot[bot] Oct 4, 2025
8110819
build(deps-dev): bump globals from 16.3.0 to 16.4.0 (#3605)
yubiuser Oct 4, 2025
2fdf373
Also pin editorconfigchecker by sha
yubiuser Oct 5, 2025
5ecfcf3
Adjust domain count according to pi-hole/FTL#2177 (#3619)
DL6ER Oct 5, 2025
47a9324
Also pin editorconfigchecker by sha (#3621)
yubiuser Oct 5, 2025
4f11435
Update FTL %cpu and %mem everytime total CPU stats are updated
yubiuser Oct 6, 2025
507fde4
Add CPU usage percentage to the Load tooltip
rdwebdesign Oct 6, 2025
68e8675
Update FTL %cpu and %mem everytime total CPU stats are updated (#3622)
DL6ER Oct 7, 2025
ea497c6
build(deps): bump editorconfig-checker/action-editorconfig-checker
dependabot[bot] Oct 11, 2025
56a5cd6
build(deps): bump github/codeql-action from 3.30.6 to 4.30.8
dependabot[bot] Oct 11, 2025
9cdb310
build(deps-dev): bump xo from 1.2.2 to 1.2.3
dependabot[bot] Oct 11, 2025
5abbfef
build(deps): bump editorconfig-checker/action-editorconfig-checker fr…
yubiuser Oct 11, 2025
0db2370
build(deps): bump github/codeql-action from 3.30.6 to 4.30.8 (#3626)
yubiuser Oct 11, 2025
2aac0f4
build(deps-dev): bump xo from 1.2.2 to 1.2.3 (#3628)
yubiuser Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@v3.28.18
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 #v4.30.8
with:
config-file: ./.github/codeql/codeql-config.yml
languages: "javascript"
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v3.28.18
uses: github/codeql-action/autobuild@f443b600d91635bebf5b0d9ebc620189c0d6fba5 #v4.30.8

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3.28.18
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 #v4.30.8
with:
category: "/language:javascript"
4 changes: 2 additions & 2 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Spell-Checking
uses: codespell-project/actions-codespell@master
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 #v2.1
with:
ignore_words_file: .codespellignore
skip: ./vendor,./package.json,./package-lock.json
4 changes: 2 additions & 2 deletions .github/workflows/editorconfig-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false
- uses: editorconfig-checker/action-editorconfig-checker@main
- uses: editorconfig-checker/action-editorconfig-checker@1a41284d59c6fe7f1b21ddc4a2b36400a33dc1b4 # tag v2. is really out of date
- run: editorconfig-checker
2 changes: 1 addition & 1 deletion .github/workflows/merge-conflict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check if PRs are have merge conflicts
uses: eps1lon/actions-label-merge-conflict@v3.0.3
uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 #v3.0.3
with:
dirtyLabel: "Merge Conflicts"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
issues: write

steps:
- uses: actions/stale@v9.1.0
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 #v10.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false
- name: Remove 'stale' label
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/stale@v9.1.0
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 #v10.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Do not automatically mark PR/issue as stale
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-back-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Syncing branches
steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false
- name: Opening pull request
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v4.4.0
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 #v5.0.0
with:
node-version: "22.x"
cache: npm
Expand Down
1 change: 1 addition & 0 deletions error403.lp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

mg.include('scripts/lua/header.lp','r')
?>
</head>
<body class="hold-transition layout-boxed login-page page-<?=pihole.format_path(mg.request_info.request_uri)?>">
<div class="box login-box">
<section style="padding: 15px;">
Expand Down
1 change: 1 addition & 0 deletions error404.lp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

mg.include('scripts/lua/header.lp','r')
?>
</head>
<body class="hold-transition layout-boxed login-page page-<?=pihole.format_path(mg.request_info.request_uri)?>">
<div class="box login-box">
<section style="padding: 15px;">
Expand Down
6 changes: 3 additions & 3 deletions gravity.lp
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ mg.include('scripts/lua/header_authenticated.lp','r')
</div>

<!-- Alerts -->
<div id="alInfo" class="alert alert-info alert-dismissible fade in" role="alert" hidden>
<div id="alertInfo" class="alert alert-info alert-dismissible fade in" role="alert" hidden>
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
Updating... this may take a while. <strong>Please do not navigate away from or close this page.</strong>
</div>
<div id="alSuccess" class="alert alert-success alert-dismissible fade in" role="alert" hidden>
<div id="alertSuccess" class="alert alert-success alert-dismissible fade in" role="alert" hidden>
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
Success!
</div>

<button type="button" id="gravityBtn" class="btn btn-lg btn-primary btn-block">Update</button>
<pre id="output" style="width: 100%; height: 100%;" hidden></pre>
<pre id="output" class="d-none"></pre>

<script src="<?=pihole.fileversion('scripts/js/gravity.js')?>"></script>
<? mg.include('scripts/lua/footer.lp','r')?>
20 changes: 10 additions & 10 deletions groups-clients.lp
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ mg.include('scripts/lua/header_authenticated.lp','r')
<div class="row">
<div class="col-md-12">
<p>You can select an existing client or add a custom one by typing into the field above and confirming your entry with <kbd>&#x23CE;</kbd>.
Multiple clients can be added by separating each client with a space or comma.</p>
<p>Clients may be described either by their IP addresses (IPv4 and IPv6 are supported),
IP subnets (CIDR notation, like <code>192.168.2.0/24</code>),
their MAC addresses (like <code>12:34:56:78:9A:BC</code>),
by their hostnames (like <code>localhost</code>), or by the interface they are connected to (prefaced with a colon, like <code>:eth0</code>).
</p>
<p>Note that client recognition by IP addresses (incl. subnet ranges) are preferred over MAC address, host name or interface recognition as
the two latter will only be available after some time.
Furthermore, MAC address recognition only works for devices at most one networking hop away from your Pi-hole.
</p>
Multiple clients can be added by separating each client with a space or comma. Clients may be described either by their</p>
<ol>
<li>IP addresses (IPv4 and IPv6 are supported),</li>
<li>IP subnets (CIDR notation, like <code>192.168.2.0/24</code>), their</li>
<li>MAC addresses (like <code>12:34:56:78:9A:BC</code>), by their</li>
<li>hostnames (like <code>localhost</code>), or by the</li>
<li>interface they are connected to (prefaced with a colon, like <code>:eth0</code>).</li>
</ol>
<p>The first match (from top to down) wins. Note that client recognition by host name or interface recognition as
the two latter may only be available after some time. Furthermore, MAC address recognition only works for devices at most one networking hop away from your Pi-hole.</p>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions groups-domains.lp
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ mg.include('scripts/lua/header_authenticated.lp','r')
</div>
<div class="btn-toolbar pull-right" role="toolbar" aria-label="Toolbar with buttons">
<div class="btn-group" role="group">
<button type="button" class="btn btn-primary" id="add_deny">Add to denied domains</button>
<button type="button" class="btn btn-danger" id="add_deny">Add to denied domains</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-primary" id="add_allow">Add to allowed domains</button>
<button type="button" class="btn btn-success" id="add_allow">Add to allowed domains</button>
</div>
</div>
</div>
Expand Down
11 changes: 8 additions & 3 deletions login.lp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

mg.include('scripts/lua/header.lp','r')
?>
</head>
<body class="hold-transition layout-boxed login-page page-<?=pihole.format_path(mg.request_info.request_uri)?>" data-apiurl="<?=pihole.api_url()?>" data-webhome="<?=webhome?>">
<div class="box login-box" id="login-box">
<section style="padding: 15px;">
Expand Down Expand Up @@ -50,9 +51,13 @@ mg.include('scripts/lua/header.lp','r')
</span>
</div>
</div>
<div class="form-group has-feedback hidden" id="totp_input">
<input type="text" id="totp" size="6" maxlen="6" class="form-control totp_token" placeholder="123456" value="" spellcheck="false" autofocus autocomplete="off">
<span class="fa fa-clock-rotate-left pwd-field form-control-feedback"></span>
<div class="form-group hidden" id="totp_input">
<div class="input-group">
<input type="text" id="totp" size="6" maxlen="6" class="form-control totp_token" placeholder="123456" value="" spellcheck="false" autofocus autocomplete="off">
<div class="input-group-addon" data-toggle="tooltip" data-placement="auto" title="TOTP verification code">
<i class="fa fa-clock-rotate-left"></i>
</div>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary form-control"><i class="fas fa-sign-in-alt"></i>&nbsp;&nbsp;&nbsp;Log in (uses cookie)</button>
Expand Down
Loading