From 7b9f16e917fc75f2b27b11bbf382246bf38873bf Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 4 Nov 2013 15:17:15 +0000 Subject: [PATCH] luci2: adapt views to changed luci2 framework --- .../luci2/template/network.diagnostics.htm | 12 ++- luci2/htdocs/luci2/template/status.dmesg.htm | 2 +- luci2/htdocs/luci2/template/status.syslog.htm | 2 +- .../htdocs/luci2/template/system.software.htm | 97 +++++++++++-------- .../htdocs/luci2/template/system.startup.htm | 31 +++--- .../htdocs/luci2/template/system.upgrade.htm | 74 ++++++++------ luci2/htdocs/luci2/view/network.routes.js | 2 + luci2/htdocs/luci2/view/network.switch.js | 50 +++++----- luci2/htdocs/luci2/view/status.processes.js | 49 +++++----- luci2/htdocs/luci2/view/system.admin.js | 36 +++---- luci2/htdocs/luci2/view/system.leds.js | 4 +- luci2/htdocs/luci2/view/system.software.js | 29 +++--- luci2/htdocs/luci2/view/system.startup.js | 90 ++++++++--------- luci2/htdocs/luci2/view/system.upgrade.js | 1 + luci2/htdocs/luci2/view/system.users.js | 13 ++- 15 files changed, 258 insertions(+), 234 deletions(-) diff --git a/luci2/htdocs/luci2/template/network.diagnostics.htm b/luci2/htdocs/luci2/template/network.diagnostics.htm index 4c82c7f..a04e5a9 100644 --- a/luci2/htdocs/luci2/template/network.diagnostics.htm +++ b/luci2/htdocs/luci2/template/network.diagnostics.htm @@ -3,13 +3,15 @@ -
- + - - - +
+ +
+ +
+
diff --git a/luci2/htdocs/luci2/template/status.dmesg.htm b/luci2/htdocs/luci2/template/status.dmesg.htm index 592b1f0..ae05d03 100644 --- a/luci2/htdocs/luci2/template/status.dmesg.htm +++ b/luci2/htdocs/luci2/template/status.dmesg.htm @@ -1 +1 @@ - + diff --git a/luci2/htdocs/luci2/template/status.syslog.htm b/luci2/htdocs/luci2/template/status.syslog.htm index 592b1f0..ae05d03 100644 --- a/luci2/htdocs/luci2/template/status.syslog.htm +++ b/luci2/htdocs/luci2/template/status.syslog.htm @@ -1 +1 @@ - + diff --git a/luci2/htdocs/luci2/template/system.software.htm b/luci2/htdocs/luci2/template/system.software.htm index f34e2c4..5e27a93 100644 --- a/luci2/htdocs/luci2/template/system.software.htm +++ b/luci2/htdocs/luci2/template/system.software.htm @@ -1,52 +1,71 @@ -