소스 검색

gluon-config-mode-core: nicer LuCI view filenames

Matthias Schiffer 9 년 전
부모
커밋
4d7e84b405

+ 1 - 1
package/gluon-config-mode-core/files/usr/lib/lua/luci/controller/gluon-config-mode/index.lua

@@ -69,7 +69,7 @@ function action_reboot()
 
     local hostname = uci:get_first("system", "system", "hostname")
 
-    luci.template.render("gluon-config-mode/reboot", { parts=parts
+    luci.template.render("gluon/config-mode/reboot", { parts=parts
                                                      , hostname=hostname
                                                      })
   else

+ 1 - 1
package/gluon-config-mode-core/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua

@@ -17,7 +17,7 @@ end
 
 f = SimpleForm("wizard")
 f.reset = false
-f.template = "gluon-config-mode/cbi/wizard"
+f.template = "gluon/cbi/config-mode"
 
 for _, s in ipairs(wizard) do
   s.section(f)

+ 0 - 0
package/gluon-config-mode-core/files/usr/lib/lua/luci/view/gluon-config-mode/cbi/wizard.htm → package/gluon-config-mode-core/files/usr/lib/lua/luci/view/gluon/cbi/config-mode.htm


+ 0 - 0
package/gluon-config-mode-core/files/usr/lib/lua/luci/view/gluon-config-mode/reboot.htm → package/gluon-config-mode-core/files/usr/lib/lua/luci/view/gluon/config-mode/reboot.htm