mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Show debug buttons for vods
This commit is contained in:
parent
e66f768030
commit
0f41a108bd
1 changed files with 16 additions and 0 deletions
|
@ -504,6 +504,7 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
|||
onclick="edit_stream('{{ vod.id }}')">
|
||||
{% trans %}Edit{% endtrans %}
|
||||
</button>
|
||||
{% if (role == 2) %}
|
||||
<button type="submit"
|
||||
{% if (service.status== service.status.ACTIVE) %}
|
||||
class="btn btn-success btn-xs"
|
||||
|
@ -518,6 +519,21 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
|||
role="button">
|
||||
{% trans %}View log{% endtrans %}
|
||||
</a>
|
||||
<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="get_pipeline_stream('{{ vod.id }}')">
|
||||
{% trans %}GPL{% endtrans %}
|
||||
</button>
|
||||
<a href="{{ url_for('StreamView:view_pipeline', sid=vod.id) }}"
|
||||
class="btn btn-info btn-xs"
|
||||
role="button">
|
||||
{% trans %}VPL{% endtrans %}
|
||||
</a>
|
||||
{% endif %}
|
||||
<button type="submit" class="btn btn-danger btn-xs"
|
||||
onclick="remove_stream('{{ vod.id }}')">
|
||||
{% trans %}Remove{% endtrans %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue