update status on listening pending events
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<input type="text" readonly class="form-control-plaintext" id="status" value="{{ deployment.status }}">
|
||||
<label for="status">Status</label>
|
||||
</div>
|
||||
{% if deployment.status == "RUNNING" %}
|
||||
{% if deployment.status == "RUNNING" or deployment.status == "PENDING" %}
|
||||
<div class="form-floating mb-3">
|
||||
<div class="progress" role="progressbar" aria-label="deployment-progress" aria-valuenow="{{ deployment.progress }}" aria-valuemin="0" aria-valuemax="100">
|
||||
<div id="deployment-progress" class="progress-bar progress-bar-striped progress-bar-animated" style="width: {{ deployment.progress }}%"></div>
|
||||
@@ -88,7 +88,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
{% if deployment.status == "RUNNING" %}
|
||||
{% if deployment.status == "RUNNING" or deployment.status == "PENDING" %}
|
||||
<script src="{% static 'deployment/js/event_source_details.js' %}" />
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user