diff --git a/routes/__pycache__/main.cpython-313.pyc b/routes/__pycache__/main.cpython-313.pyc index fb4d488..9b8c77e 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 8eb790f..e9975dd 100644 --- a/routes/main.py +++ b/routes/main.py @@ -1729,4 +1729,14 @@ def init_routes(main_bp): 'id': mail.template.id, 'name': mail.template.name } if mail.template else None - }) \ No newline at end of file + }) + + @main_bp.route('/development-wiki') + @login_required + @require_password_change + def development_wiki(): + 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('wiki/base.html') \ No newline at end of file diff --git a/templates/common/base.html b/templates/common/base.html index dcb472e..78abe81 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -95,6 +95,11 @@ Instances + {% endif %}