Update start and better volume names
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
{% block content %}
|
||||
{{ header(
|
||||
title="Launching Instance",
|
||||
description="Setting up your new DocuPulse instance",
|
||||
icon="fa-rocket"
|
||||
title=is_update and "Updating Instance" or "Launching Instance",
|
||||
description=is_update and "Updating your DocuPulse instance with the latest version" or "Setting up your new DocuPulse instance",
|
||||
icon="fa-arrow-up" if is_update else "fa-rocket"
|
||||
) }}
|
||||
|
||||
<div class="container-fluid">
|
||||
@@ -78,6 +78,12 @@
|
||||
|
||||
// Pass CSRF token to JavaScript
|
||||
window.csrfToken = '{{ csrf_token }}';
|
||||
|
||||
// Pass update parameters if this is an update operation
|
||||
window.isUpdate = {{ 'true' if is_update else 'false' }};
|
||||
window.updateInstanceId = '{{ instance_id or "" }}';
|
||||
window.updateRepoId = '{{ repo_id or "" }}';
|
||||
window.updateBranch = '{{ branch or "" }}';
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='js/launch_progress.js') }}"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user