mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-13 09:10:21 +00:00
Load container status into iframe as streamed response
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
769d5e9344
commit
43dc0769b2
8 changed files with 190 additions and 28 deletions
|
|
@ -338,7 +338,7 @@
|
|||
</form>
|
||||
{% else %}
|
||||
{% if was_start_button_clicked == false %}
|
||||
<form method="POST" action="api/docker/start" class="xhr">
|
||||
<form method="POST" action="api/docker/start" target="overlay-log">
|
||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||
<input id="base_path" type="hidden" name="base_path" value="">
|
||||
|
|
@ -355,7 +355,7 @@
|
|||
<input type="submit" value="Start containers" />
|
||||
</form>
|
||||
{% else %}
|
||||
<form method="POST" action="api/docker/start" class="xhr">
|
||||
<form method="POST" action="api/docker/start" target="overlay-log">
|
||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||
<input id="base_path" type="hidden" name="base_path" value="">
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<div id="overlay">
|
||||
<div class="loader"></div>
|
||||
<div id="overlay-log"></div>
|
||||
<iframe name='overlay-log' id="overlay-log"></iframe>
|
||||
</div>
|
||||
<script src="overlay-log.js"></script>
|
||||
<button id="theme-toggle" onclick="toggleTheme()">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue