mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 03:55:13 +08:00
🏅 Sync 2026-04-14 23:55:21
This commit is contained in:
1 parent
22da0434fc
commit
123b217f2e
19 files changed
+100
-82
No files matched your search
@@ -7,8 +7,8 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-cpu-status
|
||||
PKG_VERSION:=0.6.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=0.6.3
|
||||
PKG_RELEASE:=2
|
||||
LUCI_TITLE:=CPU utilization info for the LuCI status page
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_LICENSE:=MIT
|
||||
|
||||
@@ -9,29 +9,29 @@ Lite version: [luci-app-cpu-status-mini](https://github.com/gSpotx2f/luci-app-cp
|
||||
|
||||
**OpenWrt >= 25.12:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-cpu-status-0.6.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-cpu-status-0.6.2-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-cpu-status-0.6.2-r1.apk
|
||||
rm /tmp/luci-app-cpu-status-0.6.2-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-app-cpu-status-0.6.3-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-cpu-status-0.6.3-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-cpu-status-0.6.3-r1.apk
|
||||
rm /tmp/luci-app-cpu-status-0.6.3-r1.apk
|
||||
service rpcd reload
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-cpu-status-ru-0.6.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-cpu-status-ru-0.6.2-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-cpu-status-ru-0.6.2-r1.apk
|
||||
rm /tmp/luci-i18n-cpu-status-ru-0.6.2-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-cpu-status-ru-0.6.3-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-cpu-status-ru-0.6.3-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-cpu-status-ru-0.6.3-r1.apk
|
||||
rm /tmp/luci-i18n-cpu-status-ru-0.6.3-r1.apk
|
||||
|
||||
**OpenWrt <= 24.10:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-cpu-status_0.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-cpu-status_0.6.2-r1_all.ipk
|
||||
opkg install /tmp/luci-app-cpu-status_0.6.2-r1_all.ipk
|
||||
rm /tmp/luci-app-cpu-status_0.6.2-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-app-cpu-status_0.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-cpu-status_0.6.3-r1_all.ipk
|
||||
opkg install /tmp/luci-app-cpu-status_0.6.3-r1_all.ipk
|
||||
rm /tmp/luci-app-cpu-status_0.6.3-r1_all.ipk
|
||||
service rpcd reload
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-cpu-status-ru_0.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-cpu-status-ru_0.6.2-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-cpu-status-ru_0.6.2-r1_all.ipk
|
||||
rm /tmp/luci-i18n-cpu-status-ru_0.6.2-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-cpu-status-ru_0.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-cpu-status-ru_0.6.3-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-cpu-status-ru_0.6.3-r1_all.ipk
|
||||
rm /tmp/luci-i18n-cpu-status-ru_0.6.3-r1_all.ipk
|
||||
|
||||
## Screenshots:
|
||||
|
||||
|
||||
@@ -8,16 +8,27 @@ document.head.append(E('style', {'type': 'text/css'},
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin: 2px 4px 2px 0 !important;
|
||||
padding: 2px 4px;
|
||||
border: 1px dotted;
|
||||
padding: 3px 5px;
|
||||
border: 1px solid;
|
||||
border-color: transparent;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
opacity: 0.7;
|
||||
background-color: rgba(100 100 100 / 0.2);
|
||||
}
|
||||
.cpu-status-view-mode-entry:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.cpu-status-view-mode-entry:active {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.cpu-status-view-mode-entry-checked {
|
||||
border: 1px solid;
|
||||
opacity: 1;
|
||||
opacity: 1.0;
|
||||
}
|
||||
.cpu-status-view-mode-entry-checked:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
`));
|
||||
|
||||
@@ -332,7 +343,6 @@ return baseclass.extend({
|
||||
viewModeEntries.push(
|
||||
E('span', {
|
||||
'class' : 'cpu-status-view-mode-entry',
|
||||
'href' : 'javascript:void(0)',
|
||||
'data-value': i,
|
||||
'click' : viewModeSelectOnClick,
|
||||
}, v[1])
|
||||
|
||||
Reference in new issue
Block a user