@ -7,7 +7,7 @@ local webtop_model = require "luci.model.webtop"
local m , s , o
m = taskd.docker_map ( " webtop " , " webtop " , " /usr/libexec/apps/webtop/webtop.sh " ,
translate ( " web top" ) ,
translate ( " Virtual Desk top" ) ,
translate ( " Get Virtual Desktops of all flavors, Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported versions accessible via any modern web browser. " )
.. translate ( " Official website: " ) .. ' <a href= \" https://docs.linuxserver.io/images/docker-webtop \" target= \" _blank \" >hhttps://docs.linuxserver.io/images/docker-webtop/</a> ' )
@ -54,9 +54,9 @@ local home = webtop_model.home()
o = s : option ( Value , " config_path " , translate ( " Config path " ) .. " <b>*</b> " )
o.rmempty = false
o.datatype = " string "
o : value ( " /opt/docker2/compose/ Config " , " /opt/docker2/compose/ Config " )
o : value ( " /opt/docker2/compose/ " , " /opt/docker2/compose/ " )
o : value ( " /mnt/data " , " /mnt/data " )
o.default = " /opt/docker2/compose/ webtop/Config "
o.default = " /opt/docker2/compose/ "
local paths , default_path = webtop_model.find_paths ( blocks , home , " Configs " )
for _ , val in pairs ( paths ) do