diff --git a/routes/__pycache__/main.cpython-313.pyc b/routes/__pycache__/main.cpython-313.pyc index 4e8d6e6..26e8381 100644 Binary files a/routes/__pycache__/main.cpython-313.pyc and b/routes/__pycache__/main.cpython-313.pyc differ diff --git a/routes/main.py b/routes/main.py index e568619..6f84a29 100644 --- a/routes/main.py +++ b/routes/main.py @@ -1671,4 +1671,14 @@ def init_routes(main_bp): return jsonify({'error': f'Connection failed: {response.json().get("message", "Unknown error")}'}), 400 except Exception as e: - return jsonify({'error': f'Connection failed: {str(e)}'}), 400 \ No newline at end of file + return jsonify({'error': f'Connection failed: {str(e)}'}), 400 + + @main_bp.route('/instances/launch-progress') + @login_required + @require_password_change + def launch_progress(): + if not os.environ.get('MASTER', 'false').lower() == 'true': + flash('This page is only available in master instances.', 'error') + return redirect(url_for('main.dashboard')) + + return render_template('main/launch_progress.html') \ No newline at end of file diff --git a/templates/main/instances.html b/templates/main/instances.html index e5c8afc..9cc2a95 100644 --- a/templates/main/instances.html +++ b/templates/main/instances.html @@ -315,9 +315,25 @@
Port Configuration
- + -
Ports below 1024 are reserved for system use. Suggested port: 3000
+
Ports below 1024 are reserved for system use. Ports are automatically assigned by the system but you can change it if you want.
+
+
+ +
+
+ https:// + + +
+
+ +
Enter the domain names where your instance will be accessible
@@ -367,12 +383,36 @@
-

Launch

-

Ready to launch your instance!

+
+ +

Ready to Launch!

+

Review your instance configuration before launching

+ +
+
+
Instance Configuration
+
+
+

Repository:

+

Branch:

+

Company:

+
+
+

Port:

+

Web Addresses:

+
+
+
+
+ + +
-