Files
nginx-serve/server_root/search/catalog.hbs
Edward Langley a4a838ad3b Consolidate examples into unified production config with static CSS
- New sqlite_serve.conf: all features on single port 8080
- New zenburn.css: hex color palette, all styles in one cacheable file
- New Zenburn templates: header/footer/card partials
- New start.sh: unified launcher with all endpoint docs
- Removed 3 separate example configs and start scripts

15 files changed, 980 insertions(+), 258 deletions(-)
2025-11-15 16:42:05 -08:00

38 lines
923 B
Handlebars

{{> zenburn_header}}
<div class="page-header">
<h2>Book Catalog</h2>
<p>Browse our curated collection of technical literature</p>
</div>
{{#if results}}
<div class="stats-grid">
<div class="stat-card">
<span class="stat-value">{{#each results}}{{#if @last}}{{@index}}{{/if}}{{/each}}</span>
<span class="stat-label">Books Found</span>
</div>
<div class="stat-card">
<span class="stat-value">📚</span>
<span class="stat-label">Categories</span>
</div>
<div class="stat-card">
<span class="stat-value">⭐</span>
<span class="stat-label">Curated</span>
</div>
</div>
<div class="book-grid">
{{#each results}}
{{> zenburn_card}}
{{/each}}
</div>
{{else}}
<div class="empty-state">
<h3>No Books Found</h3>
<p>Try adjusting your search or <a href="/books">browse all books</a></p>
</div>
{{/if}}
{{> zenburn_footer}}