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
df81ae81
Commit
df81ae81
authored
Oct 05, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rrd: purge the old frontend, move settings to settings
parent
af8f5ab0
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
1850 deletions
+3
-1850
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+1
-3
ACL_Legacy_Page_Map.json
...nse/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
+0
-8
status_rrd_graph.php
src/www/status_rrd_graph.php
+0
-687
status_rrd_graph_img.php
src/www/status_rrd_graph_img.php
+0
-1113
status_rrd_graph_settings.php
src/www/status_rrd_graph_settings.php
+2
-3
status_rrd_graph_tabs.inc
src/www/status_rrd_graph_tabs.inc
+0
-36
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
df81ae81
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
<Miscellaneous
url=
"/system_advanced_misc.php"
/>
<Miscellaneous
url=
"/system_advanced_misc.php"
/>
<Tunables
VisibleName=
"Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Tunables
VisibleName=
"Tunables"
url=
"/system_advanced_sysctl.php"
/>
<Notifications
url=
"/system_advanced_notifications.php"
/>
<Notifications
url=
"/system_advanced_notifications.php"
/>
<RRDGraphs
VisibleName=
"RRD Graphs"
url=
"/status_rrd_graph_settings.php"
/>
</Settings>
</Settings>
<Wizard
url=
"/wizard.php"
cssClass=
"fa fa-magic"
>
<Wizard
url=
"/wizard.php"
cssClass=
"fa fa-magic"
>
<Step
url=
"/wizard.php*"
/>
<Step
url=
"/wizard.php*"
/>
...
@@ -247,9 +248,6 @@
...
@@ -247,9 +248,6 @@
</LoadBalancer>
</LoadBalancer>
<NTP
url=
"/status_ntpd.php"
/>
<NTP
url=
"/status_ntpd.php"
/>
<OpenVPN
url=
"/status_openvpn.php"
/>
<OpenVPN
url=
"/status_openvpn.php"
/>
<RRDGraphs
VisibleName=
"RRD Graphs"
url=
"/status_rrd_graph.php"
>
<Settings
url=
"/status_rrd_graph_settings.php"
/>
</RRDGraphs>
<Services
url=
"/status_services.php"
>
<Services
url=
"/status_services.php"
>
<ServicesActions
url=
"/status_services.php?*"
/>
<ServicesActions
url=
"/status_services.php?*"
/>
</Services>
</Services>
...
...
src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
View file @
df81ae81
...
@@ -1129,14 +1129,6 @@
...
@@ -1129,14 +1129,6 @@
"status_openvpn.php*"
"status_openvpn.php*"
]
]
},
},
"page-status-rrdgraphs"
:
{
"name"
:
"WebCfg - Status: RRD Graphs page"
,
"descr"
:
"Allow access to the 'Status: RRD Graphs' page."
,
"match"
:
[
"status_rrd_graph.php*"
,
"status_rrd_graph_img.php*"
]
},
"page-status-rrdgraph-settings"
:
{
"page-status-rrdgraph-settings"
:
{
"name"
:
"WebCfg - Status: RRD Graphs settings page"
,
"name"
:
"WebCfg - Status: RRD Graphs settings page"
,
"descr"
:
"Allow access to the 'Status: RRD Graphs: settings' page."
,
"descr"
:
"Allow access to the 'Status: RRD Graphs: settings' page."
,
...
...
src/www/status_rrd_graph.php
deleted
100644 → 0
View file @
af8f5ab0
This diff is collapsed.
Click to expand it.
src/www/status_rrd_graph_img.php
deleted
100644 → 0
View file @
af8f5ab0
This diff is collapsed.
Click to expand it.
src/www/status_rrd_graph_settings.php
View file @
df81ae81
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2007 Seth Mos <seth.mos@dds.nl>
Copyright (C) 2007 Seth Mos <seth.mos@dds.nl>
...
@@ -98,7 +99,7 @@ foreach($databases as $database) {
...
@@ -98,7 +99,7 @@ foreach($databases as $database) {
}
}
}
}
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"RRD Graphs"
));
$pgtitle
=
array
(
gettext
(
'System'
),
gettext
(
'Settings'
),
gettext
(
'RRD Graphs'
));
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
@@ -116,8 +117,6 @@ include("head.inc");
...
@@ -116,8 +117,6 @@ include("head.inc");
<section
class=
"col-xs-12"
>
<section
class=
"col-xs-12"
>
<?
include
(
"status_rrd_graph_tabs.inc"
);
?>
<div
class=
"tab-content content-box col-xs-12"
>
<div
class=
"tab-content content-box col-xs-12"
>
...
...
src/www/status_rrd_graph_tabs.inc
deleted
100644 → 0
View file @
af8f5ab0
<?php
$tab_array
=
array
();
if
(
$curcat
==
"system"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"System"
),
$tabactive
,
"status_rrd_graph.php?cat=system"
);
if
(
$curcat
==
"traffic"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Traffic"
),
$tabactive
,
"status_rrd_graph.php?cat=traffic"
);
if
(
$curcat
==
"packets"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Packets"
),
$tabactive
,
"status_rrd_graph.php?cat=packets"
);
if
(
$curcat
==
"quality"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Quality"
),
$tabactive
,
"status_rrd_graph.php?cat=quality"
);
if
(
$wireless
)
{
if
(
$curcat
==
"wireless"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Wireless"
),
$tabactive
,
"status_rrd_graph.php?cat=wireless"
);
}
if
(
$cellular
)
{
if
(
$curcat
==
"cellular"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Cellular"
),
$tabactive
,
"status_rrd_graph.php?cat=cellular"
);
}
if
(
$vpnusers
)
{
if
(
$curcat
==
"vpnusers"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
"VPN"
,
$tabactive
,
"status_rrd_graph.php?cat=vpnusers"
);
}
if
(
$captiveportal
)
{
if
(
$curcat
==
"captiveportal"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
"Captive Portal"
,
$tabactive
,
"status_rrd_graph.php?cat=captiveportal"
);
}
if
(
$ntpd
)
{
if
(
$curcat
==
"ntpd"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
"NTP"
,
$tabactive
,
"status_rrd_graph.php?cat=ntpd"
);
}
if
(
$curcat
==
"custom"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Custom"
),
$tabactive
,
"status_rrd_graph.php?cat=custom"
);
if
(
$curcat
==
"settings"
)
{
$tabactive
=
True
;
}
else
{
$tabactive
=
False
;
}
$tab_array
[]
=
array
(
gettext
(
"Settings"
),
$tabactive
,
"status_rrd_graph_settings.php"
);
display_top_tabs
(
$tab_array
);
?>
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