40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
{% extends "_base_header.html" %}
|
|
|
|
{% block page_title %}
|
|
Apply changes
|
|
{% endblock %}
|
|
|
|
{% block page_description %}
|
|
This will run Launch Platform to apply all plugin changes. This may take a few minutes to complete.
|
|
{% endblock %}
|
|
|
|
{% block page_button_top %}
|
|
<button id="cancel-local-launch-button" hx-post="{{ url_for('cli_stop')}}" hx-trigger="click" hx-swap="none" class=" cancel-process-button" type="submit">Cancel</button>
|
|
<button id="local-launch-button" class=" open-modal-button" type="button">Apply Changes</button>
|
|
{% endblock %}
|
|
|
|
{% block searchbar %}
|
|
{% endblock %}
|
|
|
|
{% block warning %}
|
|
{% endblock %}
|
|
|
|
|
|
{% set sidebar_active_tab = "local-launch" %}
|
|
|
|
{% block scripts %}
|
|
<script>
|
|
localLaunchButton = document.getElementById('local-launch-button')
|
|
cancelLocalLaunchButton = document.getElementById('cancel-local-launch-button')
|
|
function ShowRunCommandButton(){
|
|
localLaunchButton.style.display = 'block';
|
|
cancelLocalLaunchButton.style.display = 'none';
|
|
}
|
|
function ShowCancelCommandButton(){
|
|
localLaunchButton.style.display = 'none';
|
|
cancelLocalLaunchButton.style.display = 'block';
|
|
}
|
|
ShowRunCommandButton();
|
|
</script>
|
|
<script src="{{ url_for('static', filename='js/logs.js') }}"></script>
|
|
{% endblock %} |