mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Start/Stop for catchups
This commit is contained in:
parent
bde1341337
commit
a3b7919c55
1 changed files with 27 additions and 0 deletions
|
@ -787,6 +787,33 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
|||
</td>
|
||||
<td>{{ catchup.price }}</td>
|
||||
<td>
|
||||
<button type="submit"
|
||||
{% if (service.status== service.status.ACTIVE) %}
|
||||
class="btn btn-success btn-xs"
|
||||
{% else %}
|
||||
class="btn btn-success btn-xs" disabled
|
||||
{% endif %}
|
||||
onclick="start_stream(this, '{{ catchup.id }}')">
|
||||
Start
|
||||
</button>
|
||||
<button type="submit"
|
||||
{% if (service.status== service.status.ACTIVE) %}
|
||||
class="btn btn-success btn-xs"
|
||||
{% else %}
|
||||
class="btn btn-success btn-xs" disabled
|
||||
{% endif %}
|
||||
onclick="stop_stream(this, '{{ catchup.id }}')">
|
||||
Stop
|
||||
</button>
|
||||
<button type="submit"
|
||||
{% if (service.status== service.status.ACTIVE) %}
|
||||
class="btn btn-success btn-xs"
|
||||
{% else %}
|
||||
class="btn btn-success btn-xs" disabled
|
||||
{% endif %}
|
||||
onclick="restart_stream(this, '{{ catchup.id }}')">
|
||||
Restart
|
||||
</button>
|
||||
<a href="{{ url_for('StreamView:play', sid=catchup.id) }}"
|
||||
class="btn btn-info btn-xs"
|
||||
role="button">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue