fix: query-builder.js missing from new monitor EJS page
This commit is contained in:
parent
4c5e426292
commit
5944fae824
|
|
@ -1,4 +1,4 @@
|
||||||
<%~ include('./partials/head', { title: 'New Monitor' }) %>
|
<%~ include('./partials/head', { title: 'New Monitor', scripts: ['/dashboard/query-builder.js'] }) %>
|
||||||
<%~ include('./partials/nav', { nav: 'monitors' }) %>
|
<%~ include('./partials/nav', { nav: 'monitors' }) %>
|
||||||
|
|
||||||
<main class="max-w-2xl mx-auto px-6 py-8">
|
<main class="max-w-2xl mx-auto px-6 py-8">
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,8 @@
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
<link rel="stylesheet" href="/dashboard/app.css">
|
<link rel="stylesheet" href="/dashboard/app.css">
|
||||||
<script src="/dashboard/app.js"></script>
|
<script src="/dashboard/app.js"></script>
|
||||||
|
<% if (it.scripts) { it.scripts.forEach(function(s) { %>
|
||||||
|
<script src="<%= s %>"></script>
|
||||||
|
<% }) } %>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-[#0a0a0a] text-gray-100 min-h-screen">
|
<body class="bg-[#0a0a0a] text-gray-100 min-h-screen">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue