-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 2.18 KB
/
index.html
File metadata and controls
36 lines (33 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends "base.html" %}
{% block title %}Claude Code transcript - Index{% endblock %}
{% block content %}
<div class="header-row">
<h1>Claude Code transcript</h1>
<div id="search-box">
<input type="text" id="search-input" placeholder="Search..." aria-label="Search transcripts">
<button id="search-btn" type="button" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>
</button>
</div>
</div>
{{ pagination_html|safe }}
<p style="color: var(--text-muted); margin-bottom: 24px;">{{ prompt_num }} prompts · {{ total_messages }} messages · {{ total_tool_calls }} tool calls · {{ total_commits }} commits · {{ total_pages }} pages</p>
{{ index_items_html|safe }}
{{ pagination_html|safe }}
<dialog id="search-modal">
<div class="search-modal-header">
<input type="text" id="modal-search-input" placeholder="Search..." aria-label="Search transcripts">
<button id="modal-search-btn" type="button" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>
</button>
<button id="modal-close-btn" type="button" aria-label="Close">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>
</button>
</div>
<div id="search-status"></div>
<div id="search-results"></div>
</dialog>
<script>
{% include "search.js" %}
</script>
{%- endblock %}