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
e88181ee
Commit
e88181ee
authored
Aug 15, 2015
by
cbasolutions
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update status_dhcpv6_leases.php
Switched to standard theme iconography. Padding-left set to 0.
parent
2dd5db5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
status_dhcpv6_leases.php
src/www/status_dhcpv6_leases.php
+6
-6
No files found.
src/www/status_dhcpv6_leases.php
View file @
e88181ee
...
@@ -481,17 +481,17 @@ if(count($pools) > 0) {
...
@@ -481,17 +481,17 @@ if(count($pools) > 0) {
echo
"<td class=
\"
listr
\"
>
{
$fspans
}{
$data
[
'act'
]
}{
$fspane
}
</td>
\n
"
;
echo
"<td class=
\"
listr
\"
>
{
$fspans
}{
$data
[
'act'
]
}{
$fspane
}
</td>
\n
"
;
if
(
$data
[
'type'
]
==
"dynamic"
)
{
if
(
$data
[
'type'
]
==
"dynamic"
)
{
echo
"<td valign=
\"
middle
\"
><a href=
\"
services_dhcpv6_edit.php?if=
{
$data
[
'if'
]
}
&duid=
{
$data
[
'duid'
]
}
&hostname=
{
$data
[
'hostname'
]
}
\"
>"
;
echo
"<td valign=
\"
middle
\"
style=
\"
padding-left: 0px;
\"
><a href=
\"
services_dhcpv6_edit.php?if=
{
$data
[
'if'
]
}
&duid=
{
$data
[
'duid'
]
}
&hostname=
{
$data
[
'hostname'
]
}
\"
class=
\"
btn btn-default btn-xs
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_plus.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
title=
\"
"
.
gettext
(
"add a static mapping for this MAC address"
)
.
"
\"
alt=
\"
add
\"
/></a></td
>
\n
"
;
echo
"<
span class=
\"
glyphicon glyphicon-plus
\"
></span></a><br /
>
\n
"
;
}
else
{
}
else
{
echo
"<td class=
\"
list
\"
valign=
\"
middle
\"
>"
;
echo
"<td class=
\"
list
\"
valign=
\"
middle
\"
style=
\"
padding-left: 0px;
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_plus_mo.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
alt=
\"
add
\"
/></td
>
\n
"
;
echo
"<
span class=
\"
glyphicon glyphicon-plus
\"
></span
>
\n
"
;
}
}
/* Only show the button for offline dynamic leases */
/* Only show the button for offline dynamic leases */
if
((
$data
[
'type'
]
==
"dynamic"
)
&&
(
$data
[
'online'
]
!=
"online"
))
{
if
((
$data
[
'type'
]
==
"dynamic"
)
&&
(
$data
[
'online'
]
!=
"online"
))
{
echo
"<
td class=
\"
list
\"
valign=
\"
middle
\"
><a href=
\"
status_dhcpv6_leases.php?deleteip=
{
$data
[
'ip'
]
}
&all="
.
htmlspecialchars
(
$_GET
[
'all'
])
.
"
\"
>"
;
echo
"<
a href=
\"
status_dhcpv6_leases.php?deleteip=
{
$data
[
'ip'
]
}
&all="
.
htmlspecialchars
(
$_GET
[
'all'
])
.
"
\"
class=
\"
btn btn-default btn-xs
\"
>"
;
echo
"<
img src=
\"
/themes/
{
$g
[
'theme'
]
}
/images/icons/icon_x.gif
\"
width=
\"
17
\"
height=
\"
17
\"
border=
\"
0
\"
title=
\"
"
.
gettext
(
"delete this DHCP lease"
)
.
"
\"
alt=
\"
delete
\"
/
></a></td>
\n
"
;
echo
"<
span class=
\"
glyphicon glyphicon-remove
\"
></span
></a></td>
\n
"
;
}
}
echo
"</tr>
\n
"
;
echo
"</tr>
\n
"
;
}
}
...
...
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