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
365afd1b
Commit
365afd1b
authored
Jun 29, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spacing in diag_logs_template.inc
https://github.com/opnsense/core/issues/1003
parent
40ca0a8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
33 deletions
+36
-33
diag_logs_template.inc
src/www/diag_logs_template.inc
+36
-33
No files found.
src/www/diag_logs_template.inc
View file @
365afd1b
...
...
@@ -64,7 +64,6 @@ if (isset($_POST['filtertext'])) {
}
include
(
"head.inc"
);
?>
<body>
...
...
@@ -83,39 +82,43 @@ include("head.inc");
</p>
<div
class=
"tab-content content-box col-xs-12"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-sort"
>
<tr>
<td
class=
"col-md-2 col-sm-3 col-xs-4"
>
<?=
gettext
(
'Date'
)
?>
</td>
<td
class=
"col-md-10 col-sm-9 col-xs-8"
>
<?=
gettext
(
'Message'
)
?>
</td>
</tr>
<?php
if
(
isset
(
$logpills
))
:
?>
<tr>
<td
colspan=
"2"
>
<ul
class=
"nav nav-pills"
role=
"tablist"
>
<?php
foreach
(
$logpills
as
$pill
)
:
?>
<li
role=
"presentation"
<?php
if
(
str_replace
(
'amp;'
,
''
,
$pill
[
2
])
==
$_SERVER
[
'REQUEST_URI'
])
:?>
class
="
active
"<?php endif; ?>><a href="
<?=
$pill
[
2
];
?>
"
>
<?=
$pill
[
0
];
?>
</a></li>
<?php
endforeach
;
?>
</ul>
</td>
</tr>
<?php
endif
;
?>
<?php
if
(
$logclog
)
{
dump_clog
(
$logfile
,
$nentries
,
$filtertext
);
}
else
{
dump_log
(
$logfile
,
$nentries
,
$filtertext
);
}
?>
<tr>
<td
colspan=
"2"
>
<form
method=
"post"
>
<?php
if
(
isset
(
$mode
))
:
?>
<table
class=
"table table-striped"
>
<thead>
<tr>
<th
class=
"col-md-2 col-sm-3 col-xs-4"
>
<?=
gettext
(
'Date'
)
?>
</th>
<th
class=
"col-md-10 col-sm-9 col-xs-8"
>
<?=
gettext
(
'Message'
)
?>
</th>
</tr>
</thead>
<tbody>
<?php
if
(
isset
(
$logpills
))
:
?>
<tr>
<td
colspan=
"2"
>
<ul
class=
"nav nav-pills"
role=
"tablist"
>
<?php
foreach
(
$logpills
as
$pill
)
:
?>
<li
role=
"presentation"
<?php
if
(
str_replace
(
'amp;'
,
''
,
$pill
[
2
])
==
$_SERVER
[
'REQUEST_URI'
])
:?>
class
="
active
"<?php endif; ?>><a href="
<?=
$pill
[
2
];
?>
"
>
<?=
$pill
[
0
];
?>
</a></li>
<?php
endforeach
;
?>
</ul>
</td>
</tr>
<?php
endif
;
?>
<?php
if
(
$logclog
)
{
dump_clog
(
$logfile
,
$nentries
,
$filtertext
);
}
else
{
dump_log
(
$logfile
,
$nentries
,
$filtertext
);
}
?>
<tr>
<td
colspan=
"2"
>
<form
method=
"post"
>
<?php
if
(
isset
(
$mode
))
:
?>
<input
type=
"hidden"
name=
"mode"
id=
"mode"
value=
"
<?=
html_safe
(
$mode
)
?>
"
/>
<?php
endif
?>
<input
name=
"clear"
type=
"submit"
class=
"btn btn-primary"
value=
"
<?=
html_safe
(
gettext
(
'Clear log'
))
?>
"
/>
</form>
</td>
</tr>
<?php
endif
;
?>
<input
name=
"clear"
type=
"submit"
class=
"btn btn-primary"
value=
"
<?=
html_safe
(
gettext
(
'Clear log'
))
?>
"
/>
</form>
</td>
</tr>
</tbody>
</table>
</div>
</div>
...
...
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