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
Hide 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 @@
</Servers>
<Settings
url=
"/system_usermanager_settings.php"
/>
</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>
<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"
/>
<BridgeEdit
url=
"/interfaces_bridge_edit.php*"
/>
<GIF
url=
"/interfaces_gif.php"
/>
...
...
@@ -92,6 +100,16 @@
<Wireless
url=
"/interfaces_wireless.php"
/>
<WirelessEdit
url=
"/interfaces_wireless_edit.php*"
/>
</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>
<Firewall
order=
"3"
cssClass=
"glyphicon glyphicon-fire"
>
<Aliases
cssClass=
"fa fa-list-alt"
>
...
...
@@ -130,13 +148,18 @@
<VirtualIPs
VisibleName=
"Virtual IPs"
url=
"/firewall_virtual_ip.php"
cssClass=
"fa fa-clone"
>
<VirtualIPEdit
url=
"/firewall_virtual_ip_edit.php*"
/>
</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"
/>
<pfTop
url=
"/diag_system_pftop.php"
VisibleName=
"pfTop"
/>
<Tables
url=
"/diag_tables.php"
>
<TablesDetails
url=
"/diag_tables.php*"
/>
</Tables>
<Sockets
url=
"/diag_sockets.php"
>
<SocketsDetails
url=
"/diag_sockets.php?*"
/>
</Sockets>
<StatesSummary
VisibleName=
"States Summary"
url=
"/diag_states_summary.php"
/>
<StatesDump
VisibleName=
"States Dump"
url=
"/diag_dump_states.php"
/>
</Diagnostics>
</Firewall>
<Services
order=
"4"
cssClass=
"glyphicon glyphicon-cog"
>
...
...
@@ -232,7 +255,6 @@
<DHCPv6LeasesDetails
url=
"/status_dhcpv6_leases.php?*"
/>
</DHCPv6Leases>
<FilterReload
VisibleName=
"Filter Reload"
url=
"/status_filter_reload.php"
/>
<Interfaces
url=
"/status_interfaces.php"
/>
<IPsec
url=
"/diag_ipsec.php"
>
<IPsecACT
url=
"/diag_ipsec.php?*"
/>
<Leases
url=
"/diag_ipsec_leases.php"
/>
...
...
@@ -276,26 +298,6 @@
</TrafficGraphs>
<UPnP
VisibleName=
"Universal Plug and Play"
url=
"/status_upnp.php"
/>
</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"
>
<AboutThisPage
VisibleName=
"About this Page"
url=
"/help.php"
IsExternal=
"Y"
/>
<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");
if
(
$_POST
[
'if'
]
&&
$_POST
[
'submit'
])
{
$interface
=
$_POST
[
'if'
];
if
(
$_POST
[
'status'
]
==
"up"
)
if
(
$_POST
[
'status'
]
==
'up'
)
{
interface_bring_down
(
$interface
);
else
}
else
{
interface_configure
(
$interface
);
}
header
(
"Location: status_interfaces.php"
);
exit
;
}
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"Interfaces"
));
$shortcut_section
=
"interfaces"
;
$pgtitle
=
array
(
gettext
(
'Interfaces'
),
gettext
(
'Summary'
));
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