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(-)
This commit is contained in:
37
server_root/era/catalog.hbs
Normal file
37
server_root/era/catalog.hbs
Normal file
@ -0,0 +1,37 @@
|
||||
{{> 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}}
|
||||
|
||||
Reference in New Issue
Block a user