All checks were successful
Tests / unit-tests (push) Successful in 51s
- Login sa session cookie autentifikacijom - Lista projekata iz filesystem-a - Chat sa Claude CLI preko WebSocket-a - Streaming NDJSON parsiranje iz CLI stdout-a - Sesija zivi nezavisno od browsera (reconnect replay) - Sidebar sa .md fajlovima i markdown renderovanjem - Dark tema, htmx + Go templates - 47 unit testova Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
980 B
HTML
34 lines
980 B
HTML
<!DOCTYPE html>
|
|
<html lang="sr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Claude Web Chat — Projekti</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="projects-container">
|
|
<div class="projects-header">
|
|
<h1>Projekti</h1>
|
|
<a href="/logout" class="btn">Odjavi se</a>
|
|
</div>
|
|
{{if .Projects}}
|
|
<div class="projects-grid">
|
|
{{range .Projects}}
|
|
<a href="/chat/{{.Name}}" class="project-card">
|
|
<h3>{{.Name}}</h3>
|
|
{{if .Description}}
|
|
<p>{{.Description}}</p>
|
|
{{else}}
|
|
<p>Bez opisa</p>
|
|
{{end}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<p style="color: var(--text-secondary);">Nema projekata u {{.ProjectsPath}}</p>
|
|
{{end}}
|
|
</div>
|
|
</body>
|
|
</html>
|