fix: query-builder.js missing from new monitor EJS page

This commit is contained in:
M1 2026-03-16 15:21:21 +04:00
parent 4c5e426292
commit 5944fae824
2 changed files with 4 additions and 1 deletions

View File

@ -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">

View File

@ -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">