LinkDesk/frontend/test-shot-full-width-layout...

213 lines
6.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shot Page Full Width Layout Test</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: #f5f5f5;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
background: white;
}
.header {
padding: 1rem 1.5rem;
border-bottom: 1px solid #e5e5e5;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px);
}
.content {
flex: 1;
overflow: auto;
}
.toolbar {
position: sticky;
top: 0;
z-index: 10;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px);
border-bottom: 1px solid #e5e5e5;
padding: 1rem 1.5rem;
margin-bottom: 1rem;
}
.table-container {
width: 100%;
border: 1px solid #e5e5e5;
border-radius: 8px;
overflow: hidden;
}
.table {
width: 100%;
border-collapse: collapse;
}
.table th,
.table td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #e5e5e5;
}
.table th {
background: #f9f9f9;
font-weight: 600;
}
.grid-view {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1rem;
padding: 0 1.5rem;
}
.card {
border: 1px solid #e5e5e5;
border-radius: 8px;
padding: 1rem;
background: white;
}
.list-view {
padding: 0 1.5rem;
}
.list-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
border: 1px solid #e5e5e5;
border-radius: 8px;
margin-bottom: 0.5rem;
background: white;
}
.highlight {
background: #fef3c7;
padding: 0.5rem;
border-radius: 4px;
margin: 1rem 1.5rem;
border-left: 4px solid #f59e0b;
}
</style>
</head>
<body>
<div class="container">
<!-- Header (Full Width) -->
<div class="header">
<h2>Shots</h2>
<p>Manage shots and their production tasks</p>
</div>
<!-- Content -->
<div class="content">
<!-- Toolbar (Full Width) -->
<div class="toolbar">
<div style="display: flex; gap: 1rem; align-items: center;">
<button>Grid</button>
<button>List</button>
<button>Table</button>
<select><option>All Episodes</option></select>
<input type="text" placeholder="Search shots..." style="flex: 1; max-width: 300px;">
<button>Create Shot</button>
</div>
</div>
<div class="highlight">
<strong>✅ Full Width Layout Applied:</strong>
<ul>
<li>Header uses full width with horizontal padding only</li>
<li>Toolbar is sticky and spans full width</li>
<li>Table view uses full width (no side padding)</li>
<li>Grid and List views have appropriate padding for content</li>
</ul>
</div>
<!-- Table View (Full Width) -->
<div class="table-container">
<table class="table">
<thead>
<tr>
<th>Shot Name</th>
<th>Episode</th>
<th>Frame Range</th>
<th>Frames</th>
<th>Status</th>
<th>Layout</th>
<th>Animation</th>
<th>Lighting</th>
<th>Compositing</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>SH010</td>
<td>Episode 1</td>
<td>1001-1120</td>
<td>120</td>
<td>In Progress</td>
<td>Complete</td>
<td>In Progress</td>
<td>Not Started</td>
<td>Not Started</td>
<td>...</td>
</tr>
<tr>
<td>SH020</td>
<td>Episode 1</td>
<td>1121-1200</td>
<td>80</td>
<td>Not Started</td>
<td>Not Started</td>
<td>Not Started</td>
<td>Not Started</td>
<td>Not Started</td>
<td>...</td>
</tr>
</tbody>
</table>
</div>
<!-- Grid View Example (with padding) -->
<div class="grid-view" style="margin-top: 2rem;">
<div class="card">
<h3>SH010</h3>
<p>Frames: 1001-1120 (120 frames)</p>
<p>Status: In Progress</p>
</div>
<div class="card">
<h3>SH020</h3>
<p>Frames: 1121-1200 (80 frames)</p>
<p>Status: Not Started</p>
</div>
</div>
<!-- List View Example (with padding) -->
<div class="list-view" style="margin-top: 2rem;">
<div class="list-item">
<div style="flex: 1;">
<h4>SH030</h4>
<p>Frames: 1201-1300 (100 frames)</p>
</div>
<div>Status: Complete</div>
</div>
</div>
</div>
</div>
</body>
</html>