2024-12-24 15:25:16 +09:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2025-01-15 20:53:34 +09:00
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
2024-12-24 15:25:16 +09:00
|
|
|
<title>BPSets</title>
|
|
|
|
</head>
|
2025-01-15 20:53:34 +09:00
|
|
|
<body class="bg-gray-100 text-gray-800">
|
|
|
|
<div class="container mx-auto p-4">
|
2024-12-26 13:06:44 +09:00
|
|
|
<%- include('partial/page_header.ejs') %>
|
2024-12-24 15:25:16 +09:00
|
|
|
|
2025-01-15 20:53:34 +09:00
|
|
|
<div class="relative mb-4">
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
id="tableFilter"
|
|
|
|
placeholder="Search..."
|
|
|
|
class="w-full px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-500"
|
|
|
|
/>
|
|
|
|
<ul
|
|
|
|
id="autocompleteSuggestions"
|
|
|
|
class="absolute bg-white border border-gray-300 rounded shadow-md w-full max-h-48 overflow-y-auto hidden"
|
|
|
|
></ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="min-w-full bg-white shadow rounded-lg overflow-hidden" id="bpTable">
|
|
|
|
<thead class="bg-gray-200 text-gray-600">
|
2024-12-24 15:25:16 +09:00
|
|
|
<tr>
|
2025-01-15 20:53:34 +09:00
|
|
|
<th class="py-3 px-4 cursor-pointer" data-sort="number">
|
|
|
|
# <span class="sort-indicator"><i class="fas fa-sort"></i></span>
|
|
|
|
</th>
|
|
|
|
<th class="py-3 px-4 cursor-pointer" data-sort="string">
|
|
|
|
Name <span class="sort-indicator"><i class="fas fa-sort"></i></span>
|
|
|
|
</th>
|
|
|
|
<th class="py-3 px-4 cursor-pointer" data-sort="string">
|
|
|
|
B.P. Category <span class="sort-indicator"><i class="fas fa-sort"></i></span>
|
|
|
|
</th>
|
|
|
|
<th class="py-3 px-4 cursor-pointer" data-sort="number">
|
|
|
|
Priority <span class="sort-indicator"><i class="fas fa-sort"></i></span>
|
|
|
|
</th>
|
|
|
|
<th class="py-3 px-4">Fail/Pass</th>
|
|
|
|
<th class="py-3 px-4 cursor-pointer" data-sort="number">
|
|
|
|
Pass Percent <span class="sort-indicator"><i class="fas fa-sort"></i></span>
|
|
|
|
</th>
|
|
|
|
<th class="py-3 px-4">Action</th>
|
2024-12-24 15:25:16 +09:00
|
|
|
</tr>
|
2025-01-15 20:53:34 +09:00
|
|
|
</thead>
|
2024-12-24 15:25:16 +09:00
|
|
|
<tbody>
|
|
|
|
<% bpStatus.forEach(({ category, metadatas }) => { %>
|
2025-01-15 20:53:34 +09:00
|
|
|
<tr class="bg-gray-50" data-category="<%= category %>">
|
|
|
|
<th colspan="7" class="py-3 px-4 text-left text-lg font-semibold text-gray-700">
|
|
|
|
<%= category %> (<%= metadatas.length %>)
|
|
|
|
</th>
|
2024-12-24 15:25:16 +09:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% metadatas.forEach((metadata) => { %>
|
2025-01-15 20:53:34 +09:00
|
|
|
<%- include('./partial/bpset_item.ejs', { metadata, category }) %>
|
2024-12-26 13:06:44 +09:00
|
|
|
<%- include('./partial/bpset_details.ejs', { metadata }) %>
|
|
|
|
<%- include('./partial/bpset_logs.ejs', { metadata }) %>
|
2025-01-15 20:53:34 +09:00
|
|
|
<%- include('./partial/bpset_fixdialog.ejs', { metadata }) %>
|
2024-12-24 15:25:16 +09:00
|
|
|
<% }) %>
|
|
|
|
<% }) %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2025-01-15 20:53:34 +09:00
|
|
|
|
|
|
|
<%- include('./style.ejs') %>
|
|
|
|
<%- include('./script.ejs') %>
|
2024-12-24 15:25:16 +09:00
|
|
|
</body>
|
|
|
|
</html>
|