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
6456066e
Commit
6456066e
authored
Jan 08, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: tweak previous for #504
(cherry picked from commit
b1256d80
)
parent
94906973
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
firewall_rules.php
src/www/firewall_rules.php
+10
-18
No files found.
src/www/firewall_rules.php
View file @
6456066e
...
...
@@ -436,23 +436,17 @@ $( document ).ready(function() {
<?php
elseif
(
!
empty
(
$filterent
[
'direction'
])
&&
$filterent
[
'direction'
]
==
"any"
)
:?>
<
i
class
="
fa
fa
-
arrows
-
h
" data-toggle="
tooltip
" data-placement="
left
" title="
<?=
gettext
(
"any"
);
?>
">
</i>
<?php
endif
;
?>
<?php
if
(
$selected_if
!=
'FloatingRules'
)
:
;
// all other interfaces are always quick
elseif
(
!
empty
(
$filterent
[
'quick'
]))
:
?>
<i
class=
"fa fa-flash
<?=
(
$filterent
[
'quick'
]
==
'yes'
)
?
'text-warning'
:
'text-muted'
?>
"
data-toggle=
"tooltip"
data-placement=
"left"
title=
"
<?=
(
$filterent
[
'quick'
]
==
'yes'
)
?
gettext
(
'first match'
)
:
gettext
(
'last match'
)
?>
"
></i>
<?php
else
:
?>
<?php
endif
;
?>
<?php
if
(
$selected_if
!=
'FloatingRules'
)
:
;
// interfaces are always quick
elseif
(
isset
(
$filterent
[
'quick'
])
&&
$filterent
[
'quick'
]
===
'yes'
)
:
?>
<i
class=
"fa fa-flash text-warning"
data-toggle=
"tooltip"
data-placement=
"left"
title=
"
<?=
gettext
(
'first match'
)
?>
"
></i>
<?php
else
:
?>
<i
class=
"fa fa-flash text-muted"
data-toggle=
"tooltip"
data-placement=
"left"
title=
"
<?=
gettext
(
'last match'
)
?>
"
></i>
<?php
endif
;
?>
<?php
if
(
isset
(
$filterent
[
'log'
]))
:?>
<?php
if
(
isset
(
$filterent
[
'log'
]))
:?>
<
span
class
="
glyphicon
glyphicon
-
info
-
sign
<?=!
empty
(
$filterent
[
'disabled'
])
?
"text-muted"
:
""
?>
">
</span>
<?php
endif
;
?>
<?php
endif
;
?>
</td>
<td>
<?=
$record_ipprotocol
;
?>
...
...
@@ -609,8 +603,7 @@ $( document ).ready(function() {
<td
width=
"100"
>
<?=
gettext
(
"log"
);
?>
</td>
<td
width=
"16"
><span
class=
"fa fa-long-arrow-right"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"in"
);
?>
</td>
<?php
if
(
$selected_if
==
'FloatingRules'
)
:
?>
<?php
if
(
$selected_if
==
'FloatingRules'
)
:
?>
<td
width=
"16"
><span
class=
"fa fa-flash text-warning"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"first match"
);
?>
</td>
<?php
endif
;
?>
...
...
@@ -632,8 +625,7 @@ $( document ).ready(function() {
<td
class=
"nowrap"
>
<?=
gettext
(
"log (disabled)"
);
?>
</td>
<td
width=
"16"
><span
class=
"fa fa-long-arrow-left"
></span></td>
<td
width=
"100"
>
<?=
gettext
(
"out"
);
?>
</td>
<?php
if
(
$selected_if
==
'FloatingRules'
)
:
?>
<?php
if
(
$selected_if
==
'FloatingRules'
)
:
?>
<td
width=
"16"
><span
class=
"fa fa-flash text-muted"
></td>
<td
width=
"100"
>
<?=
gettext
(
"last match"
);
?>
</td>
<?php
endif
;
?>
...
...
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