Browse Source

transmission-web-control: Update to the latest master branch(4b2e1858)

Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
lilik-openwrt-22.03
Ren Zongjia 3 years ago
committed by Rosen Penev
parent
commit
1f6944d607
2 changed files with 11 additions and 9 deletions
  1. +3
    -3
      net/transmission-web-control/Makefile
  2. +8
    -6
      net/transmission-web-control/patches/001-remove-ui-original-link.patch

+ 3
- 3
net/transmission-web-control/Makefile View File

@ -5,9 +5,9 @@ PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control
PKG_SOURCE_DATE:=2019-07-24
PKG_SOURCE_VERSION:=c27e3ba9f08148f79fb4121d8a1f5906640ff8d6
PKG_MIRROR_HASH:=6de823b9b8229b176fbb5c9f33f326c0fb23553ae00a36f60d019fdcdf90a712
PKG_SOURCE_DATE:=2021-09-25
PKG_SOURCE_VERSION:=4b2e1858f7a46ee678d5d1f3fa1a6cf2c739b88a
PKG_MIRROR_HASH:=ea014c295766e2efc7b890dc6a6940176ba9c5bdcf85a029090f2bb850e59708
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE


+ 8
- 6
net/transmission-web-control/patches/001-remove-ui-original-link.patch View File

@ -1,15 +1,17 @@
--- a/src/index.html
+++ b/src/index.html
@@ -61,9 +61,6 @@
<!-- 切换到移动版 -->
<a id="toolbar_mobile" href="javascript:location.href = 'index.mobile.html';" class="easyui-linkbutton" data-options="iconCls:'icon-mobile',plain:true" system-tip-lang="toolbar.tip['ui-mobile']"><span system-lang="toolbar['ui-mobile']"></span></a>
@@ -66,11 +66,6 @@
data-options="iconCls:'icon-mobile',plain:true" system-tip-lang="toolbar.tip['ui-mobile']"><span
system-lang="toolbar['ui-mobile']"></span></a>
<span class="button-split">|</span>
- <!-- 切换到原版 -->
- <a id="" href="javascript:location.href = 'index.original.html';" class="easyui-linkbutton" data-options="iconCls:'icon-transmission',plain:true" system-tip-lang="toolbar.tip['ui-original']"><span system-lang="toolbar['ui-original']"></span></a>
- <a id="" href="javascript:location.href = 'index.original.html';" class="easyui-linkbutton"
- data-options="iconCls:'icon-transmission',plain:true" system-tip-lang="toolbar.tip['ui-original']"><span
- system-lang="toolbar['ui-original']"></span></a>
- <span class="button-split">|</span>
<!-- 关于 -->
<a id="toolbar_about" href="javascript:void(0);" onclick="javascript:system.openDialogFromTemplate({id: 'dialog-about',options: {title: system.lang.toolbar['about'],width: 420,height: 370}});" class="easyui-linkbutton" data-options="iconCls:'icon-about',plain:true" system-tip-lang="toolbar.about"><span system-lang="toolbar.about"></span></a>
</div>
<a id="toolbar_about" href="javascript:void(0);"
onclick="javascript:system.openDialogFromTemplate({id: 'dialog-about',options: {title: system.lang.toolbar['about'],width: 420,height: 370}});"
--- a/src/index.mobile.html
+++ b/src/index.mobile.html
@@ -69,7 +69,6 @@


Loading…
Cancel
Save