Update 'luasrc/model/cbi/bookstack.lua'

main
ben 1 year ago
parent ffbd6933cc
commit 5f5e208b0e

@ -7,7 +7,7 @@ local bookstack_model = require "luci.model.bookstack"
local m, s, o local m, s, o
m = taskd.docker_map("bookstack", "bookstack", "/usr/libexec/apps/bookstack/bookstack.sh", m = taskd.docker_map("bookstack", "bookstack", "/usr/libexec/apps/bookstack/bookstack.sh",
translate("bookstack"), translate("Bookstack"),
translate("Bookstack is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.") translate("Bookstack is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.")
.. translate("Official website:") .. ' <a href=\"https://www.bookstackapp.com/\" target=\"_blank\">https://www.bookstackapp.com/</a>') .. translate("Official website:") .. ' <a href=\"https://www.bookstackapp.com/\" target=\"_blank\">https://www.bookstackapp.com/</a>')
@ -35,8 +35,8 @@ local home = bookstack_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/bookstack", "/opt/docker2/compose/Config/bookstack") o:value("/opt/docker2/compose/bookstack", "/opt/docker2/compose/bookstack")
o.default = "/opt/docker2/compose/Config/bookstack" o.default = "/opt/docker2/compose/bookstack"
local paths, default_path = bookstack_model.find_paths(blocks, home, "Configs") local paths, default_path = bookstack_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do for _, val in pairs(paths) do

Loading…
Cancel
Save