Browse Source

luci-app-lxc: Minor polishing

Add more dependencies needed by download template and replace all, not just
first occurence of : or _ in template name with space in webui.

Signed-off-by: Michal Hrušecký <Michal.Hrusecky@nic.cz>
lilik-openwrt-22.03
Michal Hrušecký 8 years ago
parent
commit
764ac1a078
No known key found for this signature in database GPG Key ID: B2AA30A894729FB3
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      utils/luci-app-lxc/Makefile
  2. +1
    -1
      utils/luci-app-lxc/files/view/lxc.htm

+ 2
- 2
utils/luci-app-lxc/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-lxc
PKG_RELEASE:=20160616
PKG_RELEASE:=20161030
PKG_LICENSE:=Apache-2.0
@ -21,7 +21,7 @@ define Package/luci-app-lxc
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LXC management Web UI
DEPENDS:=+luci-mod-admin-full +lxc +lxc-create +liblxc +rpcd-mod-lxc
DEPENDS:=+luci-mod-admin-full +lxc +lxc-create +liblxc +rpcd-mod-lxc +getopt +xz
MAINTAINER:=Petar Koretic <petar.koretic@sartura.hr>
endef


+ 1
- 1
utils/luci-app-lxc/files/view/lxc.htm View File

@ -450,7 +450,7 @@ Author: Petar Koretic <petar.koretic@sartura.hr>
{
var option = document.createElement('option');
option.value = data[key];
option.text = data[key].replace(/[_:]/, ' ');
option.text = data[key].replace(/[_:]/g, ' ');
select.add(option, -1);
}
})


Loading…
Cancel
Save