mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +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-temp-status
|
||||
PKG_VERSION:=0.8.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=0.8.1
|
||||
PKG_RELEASE:=2
|
||||
LUCI_TITLE:=Temperature sensors data for the LuCI status page
|
||||
LUCI_DEPENDS:=+ucode +ucode-mod-fs
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
@@ -9,29 +9,29 @@ OpenWrt >= 22.03.
|
||||
|
||||
**OpenWrt >= 25.12:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-temp-status-0.8.0-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-temp-status-0.8.0-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-temp-status-0.8.0-r1.apk
|
||||
rm /tmp/luci-app-temp-status-0.8.0-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-app-temp-status-0.8.1-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-temp-status-0.8.1-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-temp-status-0.8.1-r1.apk
|
||||
rm /tmp/luci-app-temp-status-0.8.1-r1.apk
|
||||
service rpcd restart
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru-0.8.0-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-temp-status-ru-0.8.0-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-temp-status-ru-0.8.0-r1.apk
|
||||
rm /tmp/luci-i18n-temp-status-ru-0.8.0-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru-0.8.1-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-temp-status-ru-0.8.1-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-temp-status-ru-0.8.1-r1.apk
|
||||
rm /tmp/luci-i18n-temp-status-ru-0.8.1-r1.apk
|
||||
|
||||
**OpenWrt <= 24.10:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-temp-status_0.8.0-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-temp-status_0.8.0-r1_all.ipk
|
||||
opkg install /tmp/luci-app-temp-status_0.8.0-r1_all.ipk
|
||||
rm /tmp/luci-app-temp-status_0.8.0-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-app-temp-status_0.8.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-temp-status_0.8.1-r1_all.ipk
|
||||
opkg install /tmp/luci-app-temp-status_0.8.1-r1_all.ipk
|
||||
rm /tmp/luci-app-temp-status_0.8.1-r1_all.ipk
|
||||
service rpcd restart
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru_0.8.0-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-temp-status-ru_0.8.0-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-temp-status-ru_0.8.0-r1_all.ipk
|
||||
rm /tmp/luci-i18n-temp-status-ru_0.8.0-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru_0.8.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-temp-status-ru_0.8.1-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-temp-status-ru_0.8.1-r1_all.ipk
|
||||
rm /tmp/luci-i18n-temp-status-ru_0.8.1-r1_all.ipk
|
||||
|
||||
## Screenshots:
|
||||
|
||||
|
||||
+11
-6
@@ -86,12 +86,14 @@ 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);
|
||||
}
|
||||
.temp-status-button:hover {
|
||||
opacity: 0.9;
|
||||
@@ -103,14 +105,19 @@ document.head.append(E('style', {'type': 'text/css'},
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin: 0 0.5em 0 0 !important;
|
||||
padding: 0 4px;
|
||||
padding: 1px 5px;
|
||||
border: 1px dotted;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
opacity: 0.7;
|
||||
opacity: 0.6;
|
||||
background-color: rgba(100 100 100 / 0.2);
|
||||
font-weight: bold;
|
||||
}
|
||||
.temp-status-hide-item:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.temp-status-hide-item:active {
|
||||
opacity: 1.0;
|
||||
}
|
||||
`));
|
||||
@@ -443,14 +450,12 @@ return baseclass.extend({
|
||||
E('div', { 'id': 'temp-status-buttons-wrapper' }, [
|
||||
E('span', {
|
||||
'class': 'temp-status-button',
|
||||
'href' : 'javascript:void(0)',
|
||||
'click': () => this.switchView(),
|
||||
}, _('Switch view')),
|
||||
E('span', {
|
||||
'id' : 'temp-status-unhide-all',
|
||||
'class': 'temp-status-button',
|
||||
'style': `display:${(this.hiddenItems.size > 0) ? 'inline-block' : 'none'}`,
|
||||
'href' : 'javascript:void(0)',
|
||||
'click': () => this.unhideAllItems(),
|
||||
}, [
|
||||
_('Show hidden sensors'),
|
||||
|
||||
Reference in new issue
Block a user