<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Repositories - Open Code Review Viewer</title>
    <link rel="stylesheet" href="/static/style.css">
</head>
<body>
<nav class="breadcrumb"><a href="/">Open Code Review Viewer</a></nav>
<main>
<h2>Repositories</h2>
{{if .Repos}}
<table class="table">
    <thead><tr><th>Repository</th><th>Sessions</th><th>Last Modified</th></tr></thead>
    <tbody>
    {{range .Repos}}
        <tr>
            <td><a href="/r/{{.EncodedPath}}">{{.EncodedPath}}</a></td>
            <td>{{.SessionCount}}</td>
            <td>{{formatTime .LastModified}}</td>
        </tr>
    {{end}}
    </tbody>
</table>
{{else}}
<p>No session data found. Run a code review first.</p>
{{end}}
</main>
</body>
</html>
