From: Florian Eckert Date: Wed, 10 Jun 2020 08:50:55 +0000 (+0200) Subject: luci-app-dockerman: fix EOL issue X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F4073%2Fhead;p=oweals%2Fluci.git luci-app-dockerman: fix EOL issue Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/container.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/container.lua index 62f00e710..7c0c96933 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/container.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/container.lua @@ -585,4 +585,4 @@ m.submit = false m.reset = false end -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/containers.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/containers.lua index a4f925d3d..2187de466 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/containers.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/containers.lua @@ -192,4 +192,4 @@ btnkill.write = function(self, section) start_stop_remove(m,"kill") end -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua index d16e73bfa..29d4a6357 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua @@ -220,4 +220,4 @@ local btnload = action:option(Button, "load") btnload.inputtitle= translate("Load") btnload.template = "dockerman/images_load" btnload.inputstyle = "add" -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/networks.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/networks.lua index 1659596a4..e8e392f6a 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/networks.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/networks.lua @@ -127,4 +127,4 @@ btnremove.write = function(self, section) end end -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/newnetwork.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/newnetwork.lua index 4dc8a0c36..bdadbaf88 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/newnetwork.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/newnetwork.lua @@ -218,4 +218,4 @@ m.handle = function(self, state, data) end end -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua index e810c7d9a..5515aacc7 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -151,4 +151,4 @@ if nixio.fs.access("/usr/bin/dockerd") then hosts:value("tcp://0.0.0.0:2375", "tcp://0.0.0.0:2375") hosts.rmempty = true end -return map_dockerman \ No newline at end of file +return map_dockerman diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua index 237496905..168502720 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/volumes.lua @@ -113,4 +113,4 @@ btnremove.write = function(self, section) luci.http.redirect(luci.dispatcher.build_url("admin/docker/volumes")) end end -return m \ No newline at end of file +return m diff --git a/applications/luci-app-dockerman/luasrc/model/docker.lua b/applications/luci-app-dockerman/luasrc/model/docker.lua index 65628c3f8..e62454a8f 100644 --- a/applications/luci-app-dockerman/luasrc/model/docker.lua +++ b/applications/luci-app-dockerman/luasrc/model/docker.lua @@ -394,4 +394,4 @@ _docker.remove_macvlan_interface = function(name) os.execute("ip link del " .. if_name) end -return _docker \ No newline at end of file +return _docker diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/apply_widget.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/apply_widget.htm index 334c76a1b..4deb6a88a 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/apply_widget.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/apply_widget.htm @@ -137,4 +137,4 @@ var buttons = document.querySelectorAll('input[type="submit"]'); }); } -//]]> \ No newline at end of file +//]]> diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/container.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/container.htm index 82d8e00d3..dab1dee56 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/container.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/container.htm @@ -24,4 +24,4 @@ document.getElementById("cbi-tab-container_" + item).className="cbi-tab-disabled" } }) - \ No newline at end of file + diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/container_console.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/container_console.htm index 0b9fc4ce6..636aec960 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/container_console.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/container_console.htm @@ -3,4 +3,4 @@ \ No newline at end of file + diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/container_file.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/container_file.htm index 7dd7237ad..c0778329f 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/container_file.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/container_file.htm @@ -60,4 +60,4 @@ } window.open('<%=luci.dispatcher.build_url("admin/docker/container_get_archive")%>?id=<%=self.container%>&path=' + encodeURIComponent(downloadPath)) } - \ No newline at end of file + diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/container_stats.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/container_stats.htm index 37bf01b2b..b5600e497 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/container_stats.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/container_stats.htm @@ -77,4 +77,4 @@ } }); -//]]> \ No newline at end of file +//]]> diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/images_import.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/images_import.htm index cae386ce2..eafb65490 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/images_import.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/images_import.htm @@ -85,4 +85,4 @@ }) } } - \ No newline at end of file + diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/logs.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/logs.htm index 1fc2b2d32..c66637d89 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/logs.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/logs.htm @@ -10,4 +10,4 @@ <% if self.title == "Events" then %> <%+footer%> -<% end %> \ No newline at end of file +<% end %> diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm index dacd5e1b2..50d88740d 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm @@ -92,4 +92,4 @@ <%+cbi/valueheader%> -<%+cbi/valuefooter%> \ No newline at end of file +<%+cbi/valuefooter%> diff --git a/applications/luci-app-dockerman/luasrc/view/dockerman/overview.htm b/applications/luci-app-dockerman/luasrc/view/dockerman/overview.htm index a0c2f6feb..474009dfd 100644 --- a/applications/luci-app-dockerman/luasrc/view/dockerman/overview.htm +++ b/applications/luci-app-dockerman/luasrc/view/dockerman/overview.htm @@ -277,4 +277,4 @@ https://github.com/pure-css/pure/blob/master/LICENSE.md - \ No newline at end of file + diff --git a/applications/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman b/applications/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman index eab5d7354..c5a54178e 100755 --- a/applications/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman +++ b/applications/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman @@ -12,4 +12,4 @@ EOF sed -i 's/self:cfgvalue(section) or {}/self:cfgvalue(section) or self.default or {}/' /usr/lib/lua/luci/view/cbi/dynlist.htm /etc/init.d/uhttpd restart >/dev/null 2>&1 rm -fr /tmp/luci-indexcache /tmp/luci-modulecache >/dev/null 2>&1 -exit 0 \ No newline at end of file +exit 0