m.reset = false
end
-return m
\ No newline at end of file
+return m
start_stop_remove(m,"kill")
end
-return m
\ No newline at end of file
+return m
btnload.inputtitle= translate("Load")
btnload.template = "dockerman/images_load"
btnload.inputstyle = "add"
-return m
\ No newline at end of file
+return m
end
end
-return m
\ No newline at end of file
+return m
end
end
-return m
\ No newline at end of file
+return m
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
luci.http.redirect(luci.dispatcher.build_url("admin/docker/volumes"))
end
end
-return m
\ No newline at end of file
+return m
os.execute("ip link del " .. if_name)
end
-return _docker
\ No newline at end of file
+return _docker
});
}
-//]]></script>
\ No newline at end of file
+//]]></script>
document.getElementById("cbi-tab-container_" + item).className="cbi-tab-disabled"
}
})
-</script>
\ No newline at end of file
+</script>
</div>
<script type="text/javascript">
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7682";
-</script>
\ No newline at end of file
+</script>
}
window.open('<%=luci.dispatcher.build_url("admin/docker/container_get_archive")%>?id=<%=self.container%>&path=' + encodeURIComponent(downloadPath))
}
-</script>
\ No newline at end of file
+</script>
}
});
-//]]></script>
\ No newline at end of file
+//]]></script>
})
}
}
-</script>
\ No newline at end of file
+</script>
<% if self.title == "Events" then %>
</div>
<%+footer%>
-<% end %>
\ No newline at end of file
+<% end %>
<%+cbi/valueheader%>
<input type="button" class="cbi-button cbi-button-apply" value="<%:Command line%>" onclick="show_reslov_dialog()" />
-<%+cbi/valuefooter%>
\ No newline at end of file
+<%+cbi/valuefooter%>
</div>
</div>
</div>
-</div>
\ No newline at end of file
+</div>
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