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
baa9f798
Commit
baa9f798
authored
Mar 06, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: 50 shades of white
parent
ee277400
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
23 deletions
+20
-23
filter_log.inc
src/etc/inc/filter_log.inc
+2
-2
index.volt
src/opnsense/mvc/app/views/OPNsense/Proxy/index.volt
+0
-1
form_input_tr.volt
...opnsense/mvc/app/views/layout_partials/form_input_tr.volt
+1
-1
bootstrap-dialog.js
src/opnsense/www/js/bootstrap-dialog.js
+5
-5
opnsense.js
src/opnsense/www/js/opnsense.js
+0
-2
bootstrap-dialog.less
.../themes/opnsense/assets/stylesheets/bootstrap-dialog.less
+1
-1
diag_dns.php
src/www/diag_dns.php
+5
-5
firewall_nat.php
src/www/firewall_nat.php
+6
-6
No files found.
src/etc/inc/filter_log.inc
View file @
baa9f798
...
...
@@ -387,12 +387,12 @@ function handle_ajax($nentries, $tail = 50) {
$row_time
=
strtotime
(
$log_row
[
'time'
]);
//$img = "<img border='0' src='" . find_action_image($log_row['act']) . "' alt={$log_row['act']} title={$log_row['act']} />";
if
(
$log_row
[
'act'
]
==
"pass"
)
{
$img
=
"<span class='glyphicon glyphicon-play text-success' alt=
{
$log_row
[
'act'
]
}
></span>"
;
$img
=
"<span class='glyphicon glyphicon-play text-success' alt=
{
$log_row
[
'act'
]
}
></span>"
;
}
elseif
(
$log_row
[
'act'
]
==
"block"
)
{
$img
=
"<span class='glyphicon glyphicon-remove text-danger' alt=
{
$log_row
[
'act'
]
}
></span>"
;
}
elseif
(
$log_row
[
'act'
]
==
"reject"
)
{
$img
=
"<span class='glyphicon glyphicon-remove text-warning' alt=
{
$log_row
[
'act'
]
}
></span>"
;
}
}
if
(
$row_time
>
$lastsawtime
)
{
if
(
$log_row
[
'proto'
]
==
"TCP"
)
$log_row
[
'proto'
]
.=
":
{
$log_row
[
'tcpflags'
]
}
"
;
...
...
src/opnsense/mvc/app/views/OPNsense/Proxy/index.volt
View file @
baa9f798
...
...
@@ -69,4 +69,3 @@
</div>
</div>
src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt
View file @
baa9f798
...
...
@@ -17,4 +17,4 @@
<td>
<span class="help-block" for="{{ id }}"></span>
</td>
</tr>
\ No newline at end of file
</tr>
src/opnsense/www/js/bootstrap-dialog.js
View file @
baa9f798
...
...
@@ -98,7 +98,7 @@
BootstrapDialogModal
.
METHODS_TO_OVERRIDE
[
'
v3.3
'
]
=
{
/**
* Overrided.
*
*
* @returns {undefined}
*/
setScrollbar
:
function
()
{
...
...
@@ -109,7 +109,7 @@
},
/**
* Overrided.
*
*
* @returns {undefined}
*/
resetScrollbar
:
function
()
{
...
...
@@ -120,7 +120,7 @@
},
/**
* Overrided.
*
*
* @returns {undefined}
*/
hideModal
:
function
()
{
...
...
@@ -140,7 +140,7 @@
constructor
:
BootstrapDialogModal
,
/**
* New function, to get the dialogs that opened by BootstrapDialog.
*
*
* @returns {undefined}
*/
getGlobalOpenedDialogs
:
function
()
{
...
...
@@ -287,7 +287,7 @@
},
/**
* To make multiple opened dialogs look better.
*
*
* Will be removed in later version, after Bootstrap Modal >= 3.3.0, updating z-index is unnecessary.
*/
updateZIndex
:
function
()
{
...
...
src/opnsense/www/js/opnsense.js
View file @
baa9f798
...
...
@@ -136,5 +136,3 @@ function ajaxGet(url,sendData,callback) {
data
:
sendData
});
}
src/opnsense/www/themes/opnsense/assets/stylesheets/bootstrap-dialog.less
View file @
baa9f798
...
...
@@ -134,4 +134,4 @@
}
}
/** End of icon animation **/
}
\ No newline at end of file
}
src/www/diag_dns.php
View file @
baa9f798
...
...
@@ -182,7 +182,7 @@ include("head.inc"); ?>
</header>
<div
class=
"content-box-main"
>
<div
class=
"table-responsive"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped"
>
<tbody>
<tr>
...
...
@@ -260,10 +260,10 @@ include("head.inc"); ?>
<?php
endif
;
?>
</tbody>
</table>
</div>
<div
class=
"container-fluid"
>
<input
type=
"submit"
class=
"btn btn-primary btn-fixed pull-right"
value=
"
<?=
gettext
(
"DNS Lookup"
);
?>
"
/>
</div>
</div>
<div
class=
"container-fluid"
>
<input
type=
"submit"
class=
"btn btn-primary btn-fixed pull-right"
value=
"
<?=
gettext
(
"DNS Lookup"
);
?>
"
/>
</div>
</div>
</div>
</section>
...
...
src/www/firewall_nat.php
View file @
baa9f798
...
...
@@ -305,7 +305,7 @@ $main_buttons = array(
<?=
$textss
;
?>
<?php
//if ($alias_src_span_begin) echo htmlspecialchars(pprint_address($alias_src_span_begin));
//else
//else
echo
htmlspecialchars
(
pprint_address
(
$natent
[
'source'
]));
//if ($alias_src_span_end) echo htmlspecialchars(pprint_address($alias_src_span_end));
?>
...
...
@@ -315,7 +315,7 @@ $main_buttons = array(
<?=
$textss
;
?>
<?php
//if ($alias_src_port_span_begin) echo htmlspecialchars(pprint_port($alias_src_port_span_begin));
//else
//else
echo
htmlspecialchars
(
pprint_port
(
$natent
[
'source'
][
'port'
]));
//if($alias_src_port_span_end) echo htmlspecialchars(pprint_port($alias_src_port_span_end));
?><?=
$textse
;
?>
...
...
@@ -325,7 +325,7 @@ $main_buttons = array(
<?=
$textss
;
?>
<?php
//if ($alias_dst_span_begin) echo htmlspecialchars(pprint_address($alias_dst_span_begin));
//else
//else
echo
htmlspecialchars
(
pprint_address
(
$natent
[
'destination'
]));
//if ($alias_dst_span_end) echo htmlspecialchars(pprint_address($alias_dst_span_end));
?><?=
$textse
;
?>
...
...
@@ -334,7 +334,7 @@ $main_buttons = array(
<?=
$textss
;
?>
<?php
//if ($alias_dst_port_span_begin) echo htmlspecialchars(pprint_port($alias_dst_port_span_begin['address']));
//else
//else
echo
htmlspecialchars
(
pprint_port
(
$natent
[
'destination'
][
'port'
]));
//if ($alias_dst_port_span_end ) echo htmlspecialchars(pprint_port($alias_dst_port_span_end['address']));
?><?=
$textse
;
?>
...
...
@@ -344,7 +344,7 @@ $main_buttons = array(
<?=
$textss
;
?>
<?php
//if ($alias_target_span_begin) echo htmlspecialchars(pprint_address($alias_target_span_begin));
//else
//else
echo
htmlspecialchars
(
$natent
[
'target'
]);
//if ($alias_target_span_end) echo htmlspecialchars(pprint_address($alias_target_span_end));
?><?=
$textse
;
?>
...
...
@@ -362,7 +362,7 @@ $main_buttons = array(
?>
<?=
$textss
;
?><?php
//if ($alias_local_port_span_begin) echo htmlspecialchars(pprint_port($alias_local_port_span_begin['address']));
//else
//else
echo
htmlspecialchars
(
pprint_port
(
$localport
));
//if ($alias_local_port_span_end) echo htmlspecialchars(pprint_port($alias_local_port_span_end['address']));
?><?=
$textse
;
?>
...
...
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