luci-app-dockerman: fix EOL issue
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
359866f0c1
commit
7aabe27c00
18 changed files with 18 additions and 18 deletions
|
@ -585,4 +585,4 @@ m.submit = false
|
||||||
m.reset = false
|
m.reset = false
|
||||||
end
|
end
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -192,4 +192,4 @@ btnkill.write = function(self, section)
|
||||||
start_stop_remove(m,"kill")
|
start_stop_remove(m,"kill")
|
||||||
end
|
end
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -220,4 +220,4 @@ local btnload = action:option(Button, "load")
|
||||||
btnload.inputtitle= translate("Load")
|
btnload.inputtitle= translate("Load")
|
||||||
btnload.template = "dockerman/images_load"
|
btnload.template = "dockerman/images_load"
|
||||||
btnload.inputstyle = "add"
|
btnload.inputstyle = "add"
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -127,4 +127,4 @@ btnremove.write = function(self, section)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -218,4 +218,4 @@ m.handle = function(self, state, data)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -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:value("tcp://0.0.0.0:2375", "tcp://0.0.0.0:2375")
|
||||||
hosts.rmempty = true
|
hosts.rmempty = true
|
||||||
end
|
end
|
||||||
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"))
|
luci.http.redirect(luci.dispatcher.build_url("admin/docker/volumes"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -394,4 +394,4 @@ _docker.remove_macvlan_interface = function(name)
|
||||||
os.execute("ip link del " .. if_name)
|
os.execute("ip link del " .. if_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
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"
|
document.getElementById("cbi-tab-container_" + item).className="cbi-tab-disabled"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
|
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -60,4 +60,4 @@
|
||||||
}
|
}
|
||||||
window.open('<%=luci.dispatcher.build_url("admin/docker/container_get_archive")%>?id=<%=self.container%>&path=' + encodeURIComponent(downloadPath))
|
window.open('<%=luci.dispatcher.build_url("admin/docker/container_get_archive")%>?id=<%=self.container%>&path=' + encodeURIComponent(downloadPath))
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -77,4 +77,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
//]]></script>
|
//]]></script>
|
||||||
|
|
|
@ -85,4 +85,4 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
<% if self.title == "Events" then %>
|
<% if self.title == "Events" then %>
|
||||||
</div>
|
</div>
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -92,4 +92,4 @@
|
||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
<input type="button" class="cbi-button cbi-button-apply" value="<%:Command line%>" onclick="show_reslov_dialog()" />
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</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
|
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
|
/etc/init.d/uhttpd restart >/dev/null 2>&1
|
||||||
rm -fr /tmp/luci-indexcache /tmp/luci-modulecache >/dev/null 2>&1
|
rm -fr /tmp/luci-indexcache /tmp/luci-modulecache >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue