summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/luasrc/view/opkg.htm
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-10-23 20:22:11 +0800
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commitc360cdd1f0b03ec208eaf1f8f85893aec50c7555 (patch)
tree2d99d20cba5884ed396cc4f0b4c541bede46c7df /applications/luci-app-opkg/luasrc/view/opkg.htm
parent33346dadf483327bc6e474b5cd8e9ab827873170 (diff)
luci-app-opkg: add ipk upload feature
Signed-off-by: Richard Yu <yurichard3839@gmail.com> [fix duplicate upload errors, remove temporary file, tweak style] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-opkg/luasrc/view/opkg.htm')
-rw-r--r--applications/luci-app-opkg/luasrc/view/opkg.htm7
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-app-opkg/luasrc/view/opkg.htm b/applications/luci-app-opkg/luasrc/view/opkg.htm
index 0d2a4e2920..297891dbd8 100644
--- a/applications/luci-app-opkg/luasrc/view/opkg.htm
+++ b/applications/luci-app-opkg/luasrc/view/opkg.htm
@@ -28,6 +28,11 @@
min-width: 250px;
}
+ .controls > *:nth-child(2),
+ .controls > *:nth-child(3) {
+ flex-basis: 20%;
+ }
+
.controls > * > .btn {
flex-basis: 20px;
text-align: center;
@@ -107,6 +112,8 @@
<label><%:Actions%>:</label>
<button class="btn cbi-button-positive" data-command="update" onclick="handleOpkg(event)"><%:Update lists…%></button>
&#160;
+ <button class="btn cbi-button-action" onclick="handleUpload(event)"><%:Upload Package…%></button>
+ &#160;
<button class="btn cbi-button-neutral" onclick="handleConfig(event)"><%:Configure opkg…%></button>
</div>
</div>