mirror of
https://github.com/gSpotx2f/luci-app-disks-info.git
synced 2025-01-07 03:07:11 +08:00
Changed LuCI menu
This commit is contained in:
parent
636f0ddacd
commit
d9202f4944
2
Makefile
2
Makefile
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_VERSION:=0.4-2
|
PKG_VERSION:=0.4-3
|
||||||
LUCI_TITLE:=Information about connected disk devices (partitions, filesystems, SMART).
|
LUCI_TITLE:=Information about connected disk devices (partitions, filesystems, SMART).
|
||||||
LUCI_DEPENDS:=+fdisk +smartmontools +smartmontools-drivedb
|
LUCI_DEPENDS:=+fdisk +smartmontools +smartmontools-drivedb
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
|
12
README.md
12
README.md
@ -10,16 +10,16 @@ Dependences: fdisk, smartmontools, smartmontools-drivedb.
|
|||||||
**OpenWrt >= 21.02:**
|
**OpenWrt >= 21.02:**
|
||||||
|
|
||||||
opkg update
|
opkg update
|
||||||
wget --no-check-certificate -O /tmp/luci-app-disks-info_0.4-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-disks-info_0.4-2_all.ipk
|
wget --no-check-certificate -O /tmp/luci-app-disks-info_0.4-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-disks-info_0.4-3_all.ipk
|
||||||
opkg install /tmp/luci-app-disks-info_0.4-2_all.ipk
|
opkg install /tmp/luci-app-disks-info_0.4-3_all.ipk
|
||||||
rm /tmp/luci-app-disks-info_0.4-2_all.ipk
|
rm /tmp/luci-app-disks-info_0.4-3_all.ipk
|
||||||
/etc/init.d/rpcd restart
|
/etc/init.d/rpcd restart
|
||||||
|
|
||||||
i18n-ru:
|
i18n-ru:
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-disks-info-ru_0.4-2_all.ipk
|
wget --no-check-certificate -O /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-disks-info-ru_0.4-3_all.ipk
|
||||||
opkg install /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk
|
opkg install /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk
|
||||||
rm /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk
|
rm /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk
|
||||||
|
|
||||||
**OpenWrt 19.07:**
|
**OpenWrt 19.07:**
|
||||||
|
|
||||||
|
@ -564,7 +564,7 @@ return view.extend({
|
|||||||
'value' : 1,
|
'value' : 1,
|
||||||
'placeholder' : '1-1440',
|
'placeholder' : '1-1440',
|
||||||
});
|
});
|
||||||
ui.addValidator(loggingIntervalValue, 'range(1,1440)', false)
|
ui.addValidator(loggingIntervalValue, 'range(1,1440)', false);
|
||||||
|
|
||||||
return E([
|
return E([
|
||||||
E('div', { 'class': 'cbi-value' }, [
|
E('div', { 'class': 'cbi-value' }, [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"admin/services/disks-info": {
|
"admin/status/disks-info": {
|
||||||
"title": "Disk Devices",
|
"title": "Disk Devices",
|
||||||
"order": 10,
|
"order": 90,
|
||||||
"action": {
|
"action": {
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"path": "disks-info"
|
"path": "disks-info"
|
||||||
|
Loading…
Reference in New Issue
Block a user