feat: enable dev debug toolbar on admin, merchant, and storefront panels
The toolbar was only included in the store base template. Add it to all frontends so developers can use Ctrl+Alt+D everywhere in dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,9 @@
|
|||||||
<!-- Quill CSS with CDN fallback (loaded on demand via block) -->
|
<!-- Quill CSS with CDN fallback (loaded on demand via block) -->
|
||||||
{% block quill_css %}{% endblock %}
|
{% block quill_css %}{% endblock %}
|
||||||
|
|
||||||
|
<!-- Dev debug toolbar (dev only — auto-hides in production, must load early for interceptors) -->
|
||||||
|
<script src="{{ url_for('static', path='shared/js/dev-toolbar.js') }}"></script>
|
||||||
|
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body x-cloak>
|
<body x-cloak>
|
||||||
|
|||||||
@@ -25,6 +25,9 @@
|
|||||||
[x-cloak] { display: none !important; }
|
[x-cloak] { display: none !important; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- Dev debug toolbar (dev only — auto-hides in production, must load early for interceptors) -->
|
||||||
|
<script src="{{ url_for('static', path='shared/js/dev-toolbar.js') }}"></script>
|
||||||
|
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body x-cloak>
|
<body x-cloak>
|
||||||
|
|||||||
@@ -50,6 +50,9 @@
|
|||||||
{# Base Shop Styles #}
|
{# Base Shop Styles #}
|
||||||
<link rel="stylesheet" href="{{ url_for('static', path='storefront/css/storefront.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', path='storefront/css/storefront.css') }}">
|
||||||
|
|
||||||
|
{# Dev debug toolbar (dev only — auto-hides in production, must load early for interceptors) #}
|
||||||
|
<script src="{{ url_for('static', path='shared/js/dev-toolbar.js') }}"></script>
|
||||||
|
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user