mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 02:52:51 +08:00
35 lines
861 B
Diff
35 lines
861 B
Diff
--- a/luci-mod-dashboard/root/etc/config/dashboard
|
|
+++ b/luci-mod-dashboard/root/etc/config/dashboard
|
|
@@ -1 +1,18 @@
|
|
config dashboard 'layout'
|
|
+ list cards 'internet'
|
|
+ list cards 'uptime'
|
|
+ list cards 'cpu'
|
|
+ list cards 'memory'
|
|
+ list cards 'dhcp'
|
|
+ list cards 'wifi'
|
|
+ list cards 'load'
|
|
+ list charts 'wan'
|
|
+ list charts 'system'
|
|
+ list charts 'distribution'
|
|
+ list charts 'signal'
|
|
+ list charts 'traffic'
|
|
+ list tabs 'internet'
|
|
+ list tabs 'system'
|
|
+ list tabs 'resources'
|
|
+ list tabs 'dhcp'
|
|
+ list tabs 'wifi'
|
|
|
|
--- a/luci-mod-dashboard/root/usr/share/luci/menu.d/luci-mod-dashboard.json
|
|
+++ b/luci-mod-dashboard/root/usr/share/luci/menu.d/luci-mod-dashboard.json
|
|
@@ -1,7 +1,7 @@
|
|
{
|
|
- "admin/dashboard": {
|
|
+ "admin/status/dashboard": {
|
|
"title": "Dashboard",
|
|
- "order": 1,
|
|
+ "order": 2,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "dashboard/index"
|