KAOS/code/web/templates/docs-view.html
djuka 563abd8481 T12: Dodat docs viewer sa goldmark markdown renderovanjem
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:42:11 +00:00

34 lines
814 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{define "docs-view"}}
<!DOCTYPE html>
<html lang="sr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>KAOS — {{.Path}}</title>
<link rel="stylesheet" href="/static/style.css">
<script src="/static/htmx.min.js"></script>
</head>
<body>
<div class="header">
<h1>🔧 KAOS Dashboard</h1>
<nav class="nav">
<a href="/" class="btn">Kanban</a>
<a href="/docs" class="btn btn-active">Dokumenti</a>
</nav>
</div>
<div class="docs-container">
<div class="docs-breadcrumbs">
<a href="/docs">Dokumenti</a>
{{range .Breadcrumbs}}
<span class="breadcrumb-sep"></span>
<a href="/docs/{{.Path}}">{{.Name}}</a>
{{end}}
</div>
<div class="docs-content" id="docs-content">
{{.HTML}}
</div>
</div>
</body>
</html>
{{end}}