Signed-off-by: Florian Eckert <fe@dev.tdt.de>
@@ -585,4 +585,4 @@ m.submit = false
m.reset = false
end
-return m
+return m
@@ -192,4 +192,4 @@ btnkill.write = function(self, section)
start_stop_remove(m,"kill")
@@ -220,4 +220,4 @@ local btnload = action:option(Button, "load")
btnload.inputtitle= translate("Load")
btnload.template = "dockerman/images_load"
btnload.inputstyle = "add"
@@ -127,4 +127,4 @@ btnremove.write = function(self, section)
@@ -218,4 +218,4 @@ m.handle = function(self, state, data)
@@ -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
-return map_dockerman
+return map_dockerman
@@ -113,4 +113,4 @@ btnremove.write = function(self, section)
luci.http.redirect(luci.dispatcher.build_url("admin/docker/volumes"))
@@ -394,4 +394,4 @@ _docker.remove_macvlan_interface = function(name)
os.execute("ip link del " .. if_name)
-return _docker
+return _docker
@@ -137,4 +137,4 @@ var buttons = document.querySelectorAll('input[type="submit"]');
});
}
-//]]></script>
+//]]></script>
@@ -24,4 +24,4 @@
document.getElementById("cbi-tab-container_" + item).className="cbi-tab-disabled"
})
-</script>
+</script>
@@ -3,4 +3,4 @@
</div>
<script type="text/javascript">
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
@@ -60,4 +60,4 @@
window.open('<%=luci.dispatcher.build_url("admin/docker/container_get_archive")%>?id=<%=self.container%>&path=' + encodeURIComponent(downloadPath))
@@ -77,4 +77,4 @@
@@ -85,4 +85,4 @@
@@ -10,4 +10,4 @@
<% if self.title == "Events" then %>
<%+footer%>
-<% end %>
+<% end %>
@@ -92,4 +92,4 @@
<%+cbi/valueheader%>
<input type="button" class="cbi-button cbi-button-apply" value="<%:Command line%>" onclick="show_reslov_dialog()" />
-<%+cbi/valuefooter%>
+<%+cbi/valuefooter%>
@@ -277,4 +277,4 @@ https://github.com/pure-css/pure/blob/master/LICENSE.md
-</div>
+</div>
@@ -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
+exit 0