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
ec86345d
Commit
ec86345d
authored
Nov 23, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interfaces: unify release/renew/connect/disconnect button style
parent
4760cfda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
status_interfaces.php
src/www/status_interfaces.php
+6
-6
No files found.
src/www/status_interfaces.php
View file @
ec86345d
...
@@ -119,7 +119,7 @@ include("head.inc");
...
@@ -119,7 +119,7 @@ include("head.inc");
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'dhcp6link'
];
?>
"
/>
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'dhcp6link'
];
?>
"
/>
<?=
htmlspecialchars
(
$ifinfo
[
'dhcp6link'
]);
?>
<?=
htmlspecialchars
(
$ifinfo
[
'dhcp6link'
]);
?>
<?php
$action
=
(
$ifinfo
[
'dhcp6link'
]
==
"up"
?
gettext
(
"Release"
)
:
gettext
(
"Renew"
));
?>
<?php
$action
=
(
$ifinfo
[
'dhcp6link'
]
==
"up"
?
gettext
(
"Release"
)
:
gettext
(
"Renew"
));
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
$action
;
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
$action
;
?>
"
/>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -132,7 +132,7 @@ include("head.inc");
...
@@ -132,7 +132,7 @@ include("head.inc");
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'pppoelink'
];
?>
"
/>
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'pppoelink'
];
?>
"
/>
<?=
htmlspecialchars
(
$ifinfo
[
'pppoelink'
]);
?>
<?=
htmlspecialchars
(
$ifinfo
[
'pppoelink'
]);
?>
<?php
$action
=
(
$ifinfo
[
'pppoelink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<?php
$action
=
(
$ifinfo
[
'pppoelink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
$action
;
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
$action
;
?>
"
/>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -145,7 +145,7 @@ include("head.inc");
...
@@ -145,7 +145,7 @@ include("head.inc");
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'pptplink'
];
?>
"
/>
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'pptplink'
];
?>
"
/>
<?=
htmlspecialchars
(
$ifinfo
[
'pptplink'
]);
?>
<?=
htmlspecialchars
(
$ifinfo
[
'pptplink'
]);
?>
<?php
$action
=
(
$ifinfo
[
'pptplink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<?php
$action
=
(
$ifinfo
[
'pptplink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
$action
;
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
$action
;
?>
"
/>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -158,7 +158,7 @@ include("head.inc");
...
@@ -158,7 +158,7 @@ include("head.inc");
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'l2tplink'
];
?>
"
/>
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'l2tplink'
];
?>
"
/>
<?=
htmlspecialchars
(
$ifinfo
[
'l2tplink'
]);
?>
<?=
htmlspecialchars
(
$ifinfo
[
'l2tplink'
]);
?>
<?php
$action
=
(
$ifinfo
[
'l2tplink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<?php
$action
=
(
$ifinfo
[
'l2tplink'
]
==
"up"
?
gettext
(
"Disconnect"
)
:
gettext
(
"Connect"
));
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
$action
;
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
$action
;
?>
"
/>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -171,10 +171,10 @@ include("head.inc");
...
@@ -171,10 +171,10 @@ include("head.inc");
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'ppplink'
];
?>
"
/>
<input
type=
"hidden"
name=
"status"
value=
"
<?php
echo
$ifinfo
[
'ppplink'
];
?>
"
/>
<?=
htmlspecialchars
(
$ifinfo
[
'pppinfo'
]);
?>
<?=
htmlspecialchars
(
$ifinfo
[
'pppinfo'
]);
?>
<?php
if
(
$ifinfo
[
'ppplink'
]
==
"up"
)
:
?>
<?php
if
(
$ifinfo
[
'ppplink'
]
==
"up"
)
:
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
gettext
(
"Disconnect"
);
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
gettext
(
"Disconnect"
);
?>
"
/>
<?php
else
:
?>
<?php
else
:
?>
<?php
if
(
!
$ifinfo
[
'nodevice'
])
:
?>
<?php
if
(
!
$ifinfo
[
'nodevice'
])
:
?>
<input
type=
"submit"
name=
"submit"
class=
"
formbtn
"
value=
"
<?php
echo
gettext
(
"Connect"
);
?>
"
/>
<input
type=
"submit"
name=
"submit"
class=
"
btn btn-primary btn-xs
"
value=
"
<?php
echo
gettext
(
"Connect"
);
?>
"
/>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
</form>
</form>
...
...
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