@ -7,7 +7,7 @@ local seafile_model = require "luci.model.seafile"
local m , s , o
local m , s , o
m = taskd.docker_map ( " seafile " , " seafile " , " /usr/libexec/apps/seafile/seafile.sh " ,
m = taskd.docker_map ( " seafile " , " seafile " , " /usr/libexec/apps/seafile/seafile.sh " ,
translate ( " s eafile" ) ,
translate ( " S eafile" ) ,
translate ( " Seafile is an open-source, cross-platform file-hosting software system. Files are stored on a central server and can be synchronized with personal computers and mobile devices through apps. " )
translate ( " Seafile is an open-source, cross-platform file-hosting software system. Files are stored on a central server and can be synchronized with personal computers and mobile devices through apps. " )
.. translate ( " Official website: " ) .. ' <a href= \" https://www.seafile.com/en/home/ \" target= \" _blank \" >https://www.seafile.com/en/home/</a> ' )
.. translate ( " Official website: " ) .. ' <a href= \" https://www.seafile.com/en/home/ \" target= \" _blank \" >https://www.seafile.com/en/home/</a> ' )
@ -35,8 +35,8 @@ local home = seafile_model.home()
o = s : option ( Value , " config_path " , translate ( " Config path " ) .. " <b>*</b> " )
o = s : option ( Value , " config_path " , translate ( " Config path " ) .. " <b>*</b> " )
o.rmempty = false
o.rmempty = false
o.datatype = " string "
o.datatype = " string "
o : value ( " /opt/docker2/compose/ Config/Seafile" , " /opt/docker2/compose/Config/Seafile " )
o : value ( " /opt/docker2/compose/ seafile-app/config" , " /opt/docker2/compose/seafile-app/config " )
o.default = " / opt/docker2/compose/Config/Seafile "
o.default = " / /opt/docker2/compose/seafile-app/config "
local paths , default_path = seafile_model.find_paths ( blocks , home , " Configs " )
local paths , default_path = seafile_model.find_paths ( blocks , home , " Configs " )
for _ , val in pairs ( paths ) do
for _ , val in pairs ( paths ) do