- Implement full web interface with Go html/template server - Add GX component library (buttons, dialogs, tables, forms, etc.) - Create scene/performer/studio/movie detail and listing pages - Add Adult Empire scraper for additional metadata sources - Implement movie support with database schema - Add import and sync services for data management - Include comprehensive API and frontend documentation - Add custom color scheme and responsive layout 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
80 lines
2.9 KiB
HTML
80 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Movies - Goondex</title>
|
|
<link rel="stylesheet" href="/static/css/goondex.css">
|
|
</head>
|
|
<body>
|
|
<nav class="navbar">
|
|
<div class="container nav-inner">
|
|
<img src="/static/img/logo/GOONDEX_logo.png" class="logo-img">
|
|
<ul class="nav-links">
|
|
<li><a href="/">Dashboard</a></li>
|
|
<li><a href="/performers">Performers</a></li>
|
|
<li><a href="/studios">Studios</a></li>
|
|
<li><a href="/scenes">Scenes</a></li>
|
|
<li><a href="/movies" class="active">Movies</a></li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="container">
|
|
<div class="page-header">
|
|
<h2>Movies</h2>
|
|
<form class="search-form" action="/movies" method="get">
|
|
<input type="text" name="q" class="input" placeholder="Search movies..." value="{{.Query}}">
|
|
<button type="submit" class="btn">Search<div class="hoverEffect"><div></div></div></button>
|
|
</form>
|
|
</div>
|
|
|
|
{{if .Movies}}
|
|
<div class="gx-card-grid">
|
|
{{range .Movies}}
|
|
<div class="gx-card" onclick="location.href='/movies/{{.Movie.ID}}'">
|
|
<div class="gx-card-thumb"
|
|
style="background-image: url('{{if .Movie.ImageURL}}{{.Movie.ImageURL}}{{else}}/static/img/placeholder-movie.jpg{{end}}'); background-color: #1a1a1a;">
|
|
</div>
|
|
|
|
<div class="gx-card-body">
|
|
<div class="gx-card-title">{{.Movie.Title}}</div>
|
|
|
|
{{if .Movie.Date}}
|
|
<div class="gx-card-meta">📅 {{.Movie.Date}}</div>
|
|
{{end}}
|
|
|
|
<div class="gx-card-meta">{{.SceneCount}} scenes</div>
|
|
|
|
{{if .StudioName}}
|
|
<div class="gx-card-meta" style="margin-top: 0.3rem;">
|
|
🎬 {{.StudioName}}
|
|
</div>
|
|
{{end}}
|
|
|
|
{{if .Movie.Duration}}
|
|
<div class="gx-card-tags" style="margin-top: 0.6rem;">
|
|
<span class="gx-card-tag">{{.Movie.Duration}} min</span>
|
|
{{if .Movie.Source}}
|
|
<span class="gx-card-tag">{{.Movie.Source}}</span>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<div class="empty-state">
|
|
<p>No movies found.</p>
|
|
{{if .Query}}
|
|
<p>Try a different search term or <a href="/movies">view all movies</a>.</p>
|
|
{{else}}
|
|
<p>Movies will appear here once imported from TPDB or Adult Empire.</p>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</main>
|
|
</body>
|
|
</html>
|