Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
9949d2a1
Commit
9949d2a1
authored
Mar 17, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: tweak rules icons; closes #838
parent
bd7dfb22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
firewall_rules.php
src/www/firewall_rules.php
+10
-10
No files found.
src/www/firewall_rules.php
View file @
9949d2a1
...
@@ -375,7 +375,7 @@ $( document ).ready(function() {
...
@@ -375,7 +375,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-remove text-danger"
></span>
<span
class=
"glyphicon glyphicon-remove text-danger"
></span>
<?php
<?php
if
(
!
isset
(
$config
[
'syslog'
][
'nologprivatenets'
]))
:?>
if
(
!
isset
(
$config
[
'syslog'
][
'nologprivatenets'
]))
:?>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
"></span>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
text
-
info
"></span>
<?php
<?php
endif; ?>
endif; ?>
</td>
</td>
...
@@ -400,7 +400,7 @@ $( document ).ready(function() {
...
@@ -400,7 +400,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-remove text-danger"
></span>
<span
class=
"glyphicon glyphicon-remove text-danger"
></span>
<?php
<?php
if
(
!
isset
(
$config
[
'syslog'
][
'nologbogons'
]))
:?>
if
(
!
isset
(
$config
[
'syslog'
][
'nologbogons'
]))
:?>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
"></span>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
text
-
info
"></span>
<?php
<?php
endif; ?>
endif; ?>
</td>
</td>
...
@@ -431,11 +431,11 @@ $( document ).ready(function() {
...
@@ -431,11 +431,11 @@ $( document ).ready(function() {
}
elseif
(
$filterent
[
'type'
]
==
"block"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
}
elseif
(
$filterent
[
'type'
]
==
"block"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-remove text-muted"
;
$iconfn
=
"glyphicon-remove text-muted"
;
}
elseif
(
$filterent
[
'type'
]
==
"reject"
&&
empty
(
$filterent
[
'disabled'
]))
{
}
elseif
(
$filterent
[
'type'
]
==
"reject"
&&
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-remove
text-warning
"
;
$iconfn
=
"glyphicon-remove
-sign text-danger
"
;
}
elseif
(
$filterent
[
'type'
]
==
"reject"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
}
elseif
(
$filterent
[
'type'
]
==
"reject"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-remove
text-muted"
;
$iconfn
=
"glyphicon-remove
-sign
text-muted"
;
}
else
if
(
$filterent
[
'type'
]
==
"match"
&&
empty
(
$filterent
[
'disabled'
]))
{
}
else
if
(
$filterent
[
'type'
]
==
"match"
&&
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-ok"
;
$iconfn
=
"glyphicon-ok
text-info
"
;
}
else
if
(
$filterent
[
'type'
]
==
"match"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
}
else
if
(
$filterent
[
'type'
]
==
"match"
&&
!
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-ok text-muted"
;
$iconfn
=
"glyphicon-ok text-muted"
;
}
elseif
(
empty
(
$filterent
[
'disabled'
]))
{
}
elseif
(
empty
(
$filterent
[
'disabled'
]))
{
...
@@ -487,7 +487,7 @@ $( document ).ready(function() {
...
@@ -487,7 +487,7 @@ $( document ).ready(function() {
<i
class=
"fa fa-flash text-muted"
data-toggle=
"tooltip"
title=
"
<?=
gettext
(
'last match'
)
?>
"
></i>
<i
class=
"fa fa-flash text-muted"
data-toggle=
"tooltip"
title=
"
<?=
gettext
(
'last match'
)
?>
"
></i>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
if
(
isset
(
$filterent
[
'log'
]))
:?>
<?php
if
(
isset
(
$filterent
[
'log'
]))
:?>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
<?=!
empty
(
$filterent
[
'disabled'
])
?
"text-muted"
:
""
?>
">
</span>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
<?=!
empty
(
$filterent
[
'disabled'
])
?
'text-muted'
:
'text-info'
?>
">
</span>
<?php
endif
;
?>
<?php
endif
;
?>
</td>
</td>
...
@@ -708,16 +708,16 @@ $( document ).ready(function() {
...
@@ -708,16 +708,16 @@ $( document ).ready(function() {
<td
width=
"16"
><span
class=
"glyphicon glyphicon-play text-success"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-play text-success"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"pass"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"pass"
);
?>
</td>
<td
width=
"14"
></td>
<td
width=
"14"
></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-ok"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-ok
text-info
"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"match"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"match"
);
?>
</td>
<td
width=
"14"
></td>
<td
width=
"14"
></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-remove text-danger"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-remove text-danger"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"block"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"block"
);
?>
</td>
<td
width=
"14"
></td>
<td
width=
"14"
></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-remove
text-warning
"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-remove
-sign text-danger
"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"reject"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"reject"
);
?>
</td>
<td
width=
"14"
></td>
<td
width=
"14"
></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-info-sign"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-info-sign
text-info
"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"log"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"log"
);
?>
</td>
<td
width=
"16"
><span
class=
"fa fa-long-arrow-right"
></span></td>
<td
width=
"16"
><span
class=
"fa fa-long-arrow-right"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"in"
);
?>
</td>
<td
width=
"100"
>
<?=
gettext
(
"in"
);
?>
</td>
...
@@ -736,7 +736,7 @@ $( document ).ready(function() {
...
@@ -736,7 +736,7 @@ $( document ).ready(function() {
<td><span
class=
"glyphicon glyphicon-remove text-muted"
></span></td>
<td><span
class=
"glyphicon glyphicon-remove text-muted"
></span></td>
<td
class=
"nowrap"
>
<?=
gettext
(
"block (disabled)"
);
?>
</td>
<td
class=
"nowrap"
>
<?=
gettext
(
"block (disabled)"
);
?>
</td>
<td>
</td>
<td>
</td>
<td><span
class=
"glyphicon glyphicon-remove text-muted"
></span></td>
<td><span
class=
"glyphicon glyphicon-remove
-sign
text-muted"
></span></td>
<td
class=
"nowrap"
>
<?=
gettext
(
"reject (disabled)"
);
?>
</td>
<td
class=
"nowrap"
>
<?=
gettext
(
"reject (disabled)"
);
?>
</td>
<td>
</td>
<td>
</td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-info-sign text-muted"
></span></td>
<td
width=
"16"
><span
class=
"glyphicon glyphicon-info-sign text-muted"
></span></td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment