Skip to content

Commit b2a4078

Browse files
authored
Web v6.6 (#3808)
2 parents cc7c2f3 + 8a8b3a1 commit b2a4078

21 files changed

Lines changed: 1220 additions & 98 deletions

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ jobs:
2626

2727
steps:
2828
- name: Clone repository
29-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
29+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
3030
with:
3131
persist-credentials: false
3232

3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e #v4.36.2
34+
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a #v4.36.3
3535
with:
3636
config-file: ./.github/codeql/codeql-config.yml
3737
languages: "javascript"
3838
queries: +security-and-quality
3939

4040
- name: Autobuild
41-
uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e #v4.36.2
41+
uses: github/codeql-action/autobuild@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a #v4.36.3
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e #v4.36.2
44+
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a #v4.36.3
4545
with:
4646
category: "/language:javascript"

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Clone repository
16-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
16+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
1717
with:
1818
persist-credentials: false
1919

.github/workflows/editorconfig-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Clone repository
13-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
13+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
1414
with:
1515
persist-credentials: false
1616
- uses: editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c #v2.2.0

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Clone repository
44-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
44+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
4545
with:
4646
persist-credentials: false
4747
- name: Remove 'stale' label

.github/workflows/sync-back-to-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Syncing branches
1212
steps:
1313
- name: Clone repository
14-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
14+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
1515
with:
1616
persist-credentials: false
1717
- name: Opening pull request

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Clone repository
22-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
22+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
2323
with:
2424
persist-credentials: false
2525

groups-lists.lp

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ mg.include('scripts/lua/header_authenticated.lp','r')
4747
<ol>
4848
<li>Please run <code>pihole -g</code> or update your gravity list <a href="<?=webhome?>gravity">online</a> after modifying your lists.</li>
4949
<li>Multiple lists can be added by separating each <em>unique</em> URL with a space or comma</li>
50-
<li>Click on the icon in the first column to get additional information about your lists. The icons correspond to the health of the list.</li>
5150
</ol>
5251
<div class="btn-toolbar pull-right" role="toolbar" aria-label="Toolbar with buttons">
5352
<div class="btn-group" role="group">
@@ -68,8 +67,8 @@ mg.include('scripts/lua/header_authenticated.lp','r')
6867
<h3 class="box-title">
6968
Subscribed lists
7069
</h3>
71-
</div>
72-
<!-- /.box-header -->
70+
</div><!-- /.box-header -->
71+
7372
<div class="box-body">
7473
<table id="listsTable" class="table table-striped table-bordered" width="100%">
7574
<thead>
@@ -87,10 +86,39 @@ mg.include('scripts/lua/header_authenticated.lp','r')
8786
</thead>
8887
</table>
8988
<button type="button" id="resetButton" class="btn btn-default btn-sm text-red hidden">Reset sorting</button>
90-
</div>
91-
<!-- /.box-body -->
92-
</div>
93-
<!-- /.box -->
89+
</div><!-- /.box-body -->
90+
91+
<div class="box-footer clearfix">
92+
<div class="row">
93+
<div class="col-xs-12">
94+
<p><strong>Hint:</strong> Click on the icons (first and second columns) to get additional information about your lists. The icons correspond to the health of the list.</p>
95+
</div>
96+
</div>
97+
<div class="row">
98+
<div class="col-sm-12 list-icon-legend-block">
99+
<div class="list-icon-legend">
100+
<p><strong>List Status:</strong></p>
101+
<div>
102+
<span class="fa fa-fw fa-check-circle list-status-1"></span> - List download was successful<br>
103+
<span class="fa fa-fw fa-history list-status-2"></span> - List unchanged upstream, Pi-hole used a local copy<br>
104+
<span class="fa fa-fw fa-exclamation-circle list-status-3"></span> - List unavailable, Pi-hole used a local copy<br>
105+
<span class="fa fa-fw fa-times-circle list-status-4"></span> - List unavailable and no local copy of this list is available<br>
106+
<span class="fa fa-fw fa-question-circle list-status-0"></span> - Unknown<br>
107+
<em>(The status icon turns gray when the list is disabled.)</em>
108+
</div>
109+
</div>
110+
<div class="list-icon-legend">
111+
<p><strong>List Type:</strong></p>
112+
<div>
113+
<span class="fa fa-fw fa-check text-green"></span> - Allow list<br>
114+
<span class="fa fa-fw fa-ban text-red"></span> - Block list
115+
</div>
116+
</div>
117+
</div>
118+
</div>
119+
</div><!-- /.box-footer -->
120+
121+
</div><!-- /.box -->
94122
</div>
95123
</div>
96124

package-lock.json

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
},
5454
"devDependencies": {
5555
"autoprefixer": "^10.5.0",
56-
"eslint": "^10.4.1",
56+
"eslint": "^10.5.0",
5757
"eslint-plugin-compat": "^7.0.2",
5858
"globals": "^17.6.0",
5959
"postcss": "^8.5.15",
6060
"postcss-cli": "^11.0.1",
61-
"prettier": "^3.8.3",
61+
"prettier": "^3.8.4",
6262
"xo": "^2.0.1"
6363
},
6464
"browserslist": [

scripts/js/footer.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,16 @@ function testCookies() {
175175
}
176176

177177
function applyCheckboxRadioStyle() {
178-
// Get all radio/checkboxes for theming, with the exception of the two radio buttons on the custom disable timer,
179-
// as well as every element with an id that starts with "status_"
178+
// Get all radio/checkboxes for theming, with the exception of:
179+
// - the two radio buttons on the custom disable timer,
180+
// - radio/checkboxes elements with class "no-icheck",
181+
// - every element with an id that starts with "status_"
180182
const sel = $("input[type='radio'],input[type='checkbox']")
181183
.not("#selSec")
182184
.not("#selMin")
183185
.not("#expert-settings")
184186
.not("#only-changed")
187+
.not(".no-icheck")
185188
.not("[id^=status_]");
186189
sel.parent().removeClass();
187190
sel.parent().addClass("icheck-primary");

0 commit comments

Comments
 (0)