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
4f06b9bd
Commit
4f06b9bd
authored
Oct 13, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu: eradicate the top diagnostics section
parent
64f99a60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
27 deletions
+29
-27
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+25
-23
status_interfaces.php
src/www/status_interfaces.php
+4
-4
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
4f06b9bd
...
@@ -70,9 +70,17 @@
...
@@ -70,9 +70,17 @@
</Servers>
</Servers>
<Settings
url=
"/system_usermanager_settings.php"
/>
<Settings
url=
"/system_usermanager_settings.php"
/>
</Users>
</Users>
<Diagnostics
order=
"900"
cssClass=
"fa fa-medkit"
>
<Activity
VisibleName=
"Activity Monitor"
url=
"/diag_system_activity.php"
/>
<Authentication
VisibleName=
"Authentication"
url=
"/diag_authentication.php"
/>
<Factory
VisibleName=
"Factory Defaults"
url=
"/diag_defaults.php"
/>
<Halt
VisibleName=
"Halt System"
url=
"/diag_halt.php"
/>
<Reboot
VisibleName=
"Reboot System"
url=
"/diag_reboot.php"
/>
<SmartStatus
VisibleName=
"SMART Status"
url=
"/diag_smart.php"
/>
</Diagnostics>
</System>
</System>
<Interfaces
order=
"2"
cssClass=
"fa fa-sitemap"
>
<Interfaces
order=
"2"
cssClass=
"fa fa-sitemap"
>
<Assign
VisibleName=
"(Assign
)"
order=
"999"
url=
"/interfaces_assign.php
"
>
<Assign
VisibleName=
"(Assign
ments)"
order=
"899"
url=
"/interfaces_assign.php"
cssClass=
"fa fa-pencil
"
>
<Bridge
url=
"/interfaces_bridge.php"
/>
<Bridge
url=
"/interfaces_bridge.php"
/>
<BridgeEdit
url=
"/interfaces_bridge_edit.php*"
/>
<BridgeEdit
url=
"/interfaces_bridge_edit.php*"
/>
<GIF
url=
"/interfaces_gif.php"
/>
<GIF
url=
"/interfaces_gif.php"
/>
...
@@ -92,6 +100,16 @@
...
@@ -92,6 +100,16 @@
<Wireless
url=
"/interfaces_wireless.php"
/>
<Wireless
url=
"/interfaces_wireless.php"
/>
<WirelessEdit
url=
"/interfaces_wireless_edit.php*"
/>
<WirelessEdit
url=
"/interfaces_wireless_edit.php*"
/>
</Assign>
</Assign>
<Diagnostics
VisibleName=
"(Diagnostics)"
order=
"900"
cssClass=
"fa fa-medkit"
>
<ARPTable
VisibleName=
"ARP Table"
url=
"/diag_arp.php"
/>
<DNSLookup
VisibleName=
"DNS Lookup"
url=
"/diag_dns.php"
/>
<NDPTable
VisibleName=
"NDP Table"
url=
"/diag_ndp.php"
/>
<PacketCapture
VisibleName=
"Packet Capture"
url=
"/diag_packet_capture.php"
/>
<Ping
url=
"/diag_ping.php"
/>
<TestPort
VisibleName=
"Test Port"
url=
"/diag_testport.php"
/>
<Traceroute
url=
"/diag_traceroute.php"
/>
</Diagnostics>
<Status
VisibleName=
"(Summary)"
order=
"901"
url=
"/status_interfaces.php"
cssClass=
"glyphicon glyphicon-tasks"
/>
</Interfaces>
</Interfaces>
<Firewall
order=
"3"
cssClass=
"glyphicon glyphicon-fire"
>
<Firewall
order=
"3"
cssClass=
"glyphicon glyphicon-fire"
>
<Aliases
cssClass=
"fa fa-list-alt"
>
<Aliases
cssClass=
"fa fa-list-alt"
>
...
@@ -130,13 +148,18 @@
...
@@ -130,13 +148,18 @@
<VirtualIPs
VisibleName=
"Virtual IPs"
url=
"/firewall_virtual_ip.php"
cssClass=
"fa fa-clone"
>
<VirtualIPs
VisibleName=
"Virtual IPs"
url=
"/firewall_virtual_ip.php"
cssClass=
"fa fa-clone"
>
<VirtualIPEdit
url=
"/firewall_virtual_ip_edit.php*"
/>
<VirtualIPEdit
url=
"/firewall_virtual_ip_edit.php*"
/>
</VirtualIPs>
</VirtualIPs>
<Diagnostics
order=
"900"
VisibleName=
"Diagnostics"
cssClass=
"glyphicon glyphicon-wrench"
>
<Diagnostics
order=
"900"
cssClass=
"fa fa-medkit"
>
<LimiterInfo
VisibleName=
"Limiter Info"
url=
"/diag_limiter_info.php"
/>
<pfInfo
url=
"/diag_pf_info.php"
VisibleName=
"pfInfo"
/>
<pfInfo
url=
"/diag_pf_info.php"
VisibleName=
"pfInfo"
/>
<pfTop
url=
"/diag_system_pftop.php"
VisibleName=
"pfTop"
/>
<pfTop
url=
"/diag_system_pftop.php"
VisibleName=
"pfTop"
/>
<Tables
url=
"/diag_tables.php"
>
<Tables
url=
"/diag_tables.php"
>
<TablesDetails
url=
"/diag_tables.php*"
/>
<TablesDetails
url=
"/diag_tables.php*"
/>
</Tables>
</Tables>
<Sockets
url=
"/diag_sockets.php"
>
<SocketsDetails
url=
"/diag_sockets.php?*"
/>
</Sockets>
<StatesSummary
VisibleName=
"States Summary"
url=
"/diag_states_summary.php"
/>
<StatesSummary
VisibleName=
"States Summary"
url=
"/diag_states_summary.php"
/>
<StatesDump
VisibleName=
"States Dump"
url=
"/diag_dump_states.php"
/>
</Diagnostics>
</Diagnostics>
</Firewall>
</Firewall>
<Services
order=
"4"
cssClass=
"glyphicon glyphicon-cog"
>
<Services
order=
"4"
cssClass=
"glyphicon glyphicon-cog"
>
...
@@ -232,7 +255,6 @@
...
@@ -232,7 +255,6 @@
<DHCPv6LeasesDetails
url=
"/status_dhcpv6_leases.php?*"
/>
<DHCPv6LeasesDetails
url=
"/status_dhcpv6_leases.php?*"
/>
</DHCPv6Leases>
</DHCPv6Leases>
<FilterReload
VisibleName=
"Filter Reload"
url=
"/status_filter_reload.php"
/>
<FilterReload
VisibleName=
"Filter Reload"
url=
"/status_filter_reload.php"
/>
<Interfaces
url=
"/status_interfaces.php"
/>
<IPsec
url=
"/diag_ipsec.php"
>
<IPsec
url=
"/diag_ipsec.php"
>
<IPsecACT
url=
"/diag_ipsec.php?*"
/>
<IPsecACT
url=
"/diag_ipsec.php?*"
/>
<Leases
url=
"/diag_ipsec_leases.php"
/>
<Leases
url=
"/diag_ipsec_leases.php"
/>
...
@@ -276,26 +298,6 @@
...
@@ -276,26 +298,6 @@
</TrafficGraphs>
</TrafficGraphs>
<UPnP
VisibleName=
"Universal Plug and Play"
url=
"/status_upnp.php"
/>
<UPnP
VisibleName=
"Universal Plug and Play"
url=
"/status_upnp.php"
/>
</Status>
</Status>
<Diagnostics
order=
"7"
cssClass=
"glyphicon glyphicon-stats"
>
<ARPTable
VisibleName=
"ARP Table"
url=
"/diag_arp.php"
/>
<Authentication
url=
"/diag_authentication.php"
/>
<DNSLookup
VisibleName=
"DNS Lookup"
url=
"/diag_dns.php"
/>
<FactoryDefaults
VisibleName=
"Factory Defaults"
url=
"/diag_defaults.php"
/>
<HaltSystem
VisibleName=
"Halt System"
url=
"/diag_halt.php"
/>
<LimiterInfo
VisibleName=
"Limiter Info"
url=
"/diag_limiter_info.php"
/>
<NDPTable
VisibleName=
"NDP Table"
url=
"/diag_ndp.php"
/>
<PacketCapture
VisibleName=
"Packet Capture"
url=
"/diag_packet_capture.php"
/>
<Ping
url=
"/diag_ping.php"
/>
<Reboot
url=
"/diag_reboot.php"
/>
<SmartStatus
VisibleName=
"SMART Status"
url=
"/diag_smart.php"
/>
<Sockets
url=
"/diag_sockets.php"
>
<SocketsDetails
url=
"/diag_sockets.php?*"
/>
</Sockets>
<States
url=
"/diag_dump_states.php"
/>
<SystemActivity
VisibleName=
"System Activity"
url=
"/diag_system_activity.php"
/>
<TestPort
VisibleName=
"Test Port"
url=
"/diag_testport.php"
/>
<Traceroute
url=
"/diag_traceroute.php"
/>
</Diagnostics>
<Help
order=
"8"
cssClass=
"glyphicon glyphicon-question-sign"
>
<Help
order=
"8"
cssClass=
"glyphicon glyphicon-question-sign"
>
<AboutThisPage
VisibleName=
"About this Page"
url=
"/help.php"
IsExternal=
"Y"
/>
<AboutThisPage
VisibleName=
"About this Page"
url=
"/help.php"
IsExternal=
"Y"
/>
<DevelopersWiki
VisibleName=
"Developers Wiki"
url=
"https://wiki.opnsense.org/index.php/developers"
<DevelopersWiki
VisibleName=
"Developers Wiki"
url=
"https://wiki.opnsense.org/index.php/developers"
...
...
src/www/status_interfaces.php
View file @
4f06b9bd
...
@@ -39,16 +39,16 @@ require_once("services.inc");
...
@@ -39,16 +39,16 @@ require_once("services.inc");
if
(
$_POST
[
'if'
]
&&
$_POST
[
'submit'
])
{
if
(
$_POST
[
'if'
]
&&
$_POST
[
'submit'
])
{
$interface
=
$_POST
[
'if'
];
$interface
=
$_POST
[
'if'
];
if
(
$_POST
[
'status'
]
==
"up"
)
if
(
$_POST
[
'status'
]
==
'up'
)
{
interface_bring_down
(
$interface
);
interface_bring_down
(
$interface
);
else
}
else
{
interface_configure
(
$interface
);
interface_configure
(
$interface
);
}
header
(
"Location: status_interfaces.php"
);
header
(
"Location: status_interfaces.php"
);
exit
;
exit
;
}
}
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"Interfaces"
));
$pgtitle
=
array
(
gettext
(
'Interfaces'
),
gettext
(
'Summary'
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
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