Changed LuCI menu

This commit is contained in:
gSpot 2024-01-01 18:17:00 +03:00
parent 636f0ddacd
commit d9202f4944
4 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@
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_DEPENDS:=+fdisk +smartmontools +smartmontools-drivedb
LUCI_PKGARCH:=all

View File

@ -10,16 +10,16 @@ Dependences: fdisk, smartmontools, smartmontools-drivedb.
**OpenWrt >= 21.02:**
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
opkg install /tmp/luci-app-disks-info_0.4-2_all.ipk
rm /tmp/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-3_all.ipk
rm /tmp/luci-app-disks-info_0.4-3_all.ipk
/etc/init.d/rpcd restart
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
opkg install /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk
rm /tmp/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-3_all.ipk
rm /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk
**OpenWrt 19.07:**

View File

@ -564,7 +564,7 @@ return view.extend({
'value' : 1,
'placeholder' : '1-1440',
});
ui.addValidator(loggingIntervalValue, 'range(1,1440)', false)
ui.addValidator(loggingIntervalValue, 'range(1,1440)', false);
return E([
E('div', { 'class': 'cbi-value' }, [

View File

@ -1,7 +1,7 @@
{
"admin/services/disks-info": {
"admin/status/disks-info": {
"title": "Disk Devices",
"order": 10,
"order": 90,
"action": {
"type": "view",
"path": "disks-info"