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
e0d3883c
Commit
e0d3883c
authored
Sep 21, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
high availability: tigher navigation with submenu, no more shortcuts
parent
5678e118
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
20 deletions
+9
-20
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+5
-3
carp_status.php
src/www/carp_status.php
+3
-11
shortcuts.inc
src/www/shortcuts.inc
+0
-4
system_hasync.php
src/www/system_hasync.php
+1
-2
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
e0d3883c
...
...
@@ -16,7 +16,7 @@
<workAround
url=
"/system_crlmanager.php*"
/>
</Revocation>
</CertificateManager>
<ConfigManager
VisibleName=
"Config Manager"
cssClass=
"fa fa-
history
"
>
<ConfigManager
VisibleName=
"Config Manager"
cssClass=
"fa fa-
book
"
>
<History
url=
"/diag_confbak.php"
>
<none
url=
"/diag_confbak.php*"
/>
</History>
...
...
@@ -24,7 +24,10 @@
</ConfigManager>
<CrashReporter
VisibleName=
"Crash Reporter"
url=
"/crash_reporter.php"
/>
<Firmware
url=
"/ui/core/firmware/"
/>
<HighAvailSync
VisibleName=
"High Availability"
url=
"/system_hasync.php"
/>
<HighAvailability
VisibleName=
"High Availability"
cssClass=
"fa fa-refresh"
>
<Synchronization
url=
"/system_hasync.php"
/>
<CARPStatus
order=
"100"
visibleName=
"CARP Status"
url=
"/carp_status.php"
/>
</HighAvailability>
<Routing
url=
"/system_gateways.php"
>
<Routes
url=
"/system_routes.php"
/>
<RoutesEdit
url=
"/system_routes_edit.php*"
/>
...
...
@@ -206,7 +209,6 @@
<CaptivePortal
VisibleName=
"Captive Portal"
url=
"/status_captiveportal.php"
>
<CaptivePortalDetails
url=
"/status_captiveportal.php?*"
/>
</CaptivePortal>
<CARP
url=
"/carp_status.php"
/>
<DHCPLeases
VisibleName=
"DHCP IPv4 Leases"
url=
"/status_dhcp_leases.php"
>
<DHCPLeasesDetails
url=
"/status_dhcp_leases.php?*"
/>
</DHCPLeases>
...
...
src/www/carp_status.php
View file @
e0d3883c
...
...
@@ -96,8 +96,7 @@ $status = get_carp_status();
$carp_detected_problems
=
(
array_pop
(
get_sysctl
(
"net.inet.carp.demotion"
))
>
0
);
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"CARP"
));
$shortcut_section
=
"carp"
;
$pgtitle
=
array
(
gettext
(
'System'
),
gettext
(
'High Availability'
),
gettext
(
'CARP Status'
));
include
(
"head.inc"
);
?>
...
...
@@ -200,19 +199,12 @@ include("head.inc");
</div>
<div
class=
"col-xs-12"
>
<p
class=
"vexpl"
>
<span
class=
"red"
><strong>
<?=
gettext
(
"Note"
);
?>
:
</strong></span>
<br
/>
<?=
gettext
(
"You can configure high availability settings"
);
?>
<a
href=
"system_hasync.php"
>
<?=
gettext
(
"here"
);
?>
</a>
.
</p>
<?php
<?php
echo
"<br />"
.
gettext
(
"pfSync nodes"
)
.
":<br />"
;
echo
"<pre>"
;
system
(
"/sbin/pfctl -vvss | /usr/bin/grep creator | /usr/bin/cut -d
\"
\"
-f7 | /usr/bin/sort -u"
);
echo
"</pre>"
;
?>
?>
</div>
</div>
...
...
src/www/shortcuts.inc
View file @
e0d3883c
...
...
@@ -248,10 +248,6 @@ $shortcuts['l2tps'] = array();
$shortcuts
[
'l2tps'
][
'main'
]
=
"vpn_l2tp.php"
;
$shortcuts
[
'l2tps'
][
'log'
]
=
"diag_logs_vpn.php?vpntype=l2tp"
;
$shortcuts
[
'carp'
]
=
array
();
$shortcuts
[
'carp'
][
'main'
]
=
"system_hasync.php"
;
$shortcuts
[
'carp'
][
'status'
]
=
"carp_status.php"
;
$shortcuts
[
'snmp'
]
=
array
();
$shortcuts
[
'snmp'
][
'main'
]
=
"services_snmp.php"
;
$shortcuts
[
'snmp'
][
'service'
]
=
"bsnmpd"
;
...
...
src/www/system_hasync.php
View file @
e0d3883c
...
...
@@ -94,8 +94,7 @@ foreach (array('pfsyncpeerip','pfsyncinterface','synchronizetoip','username','pa
$ifaces
=
get_configured_interface_with_descr
();
$ifaces
[
"lo0"
]
=
"loopback"
;
$pgtitle
=
array
(
gettext
(
"System"
),
gettext
(
"High Availability"
));
$shortcut_section
=
"carp"
;
$pgtitle
=
array
(
gettext
(
'System'
),
gettext
(
'High Availability'
),
gettext
(
'Synchronization'
));
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