Skip to main content

GRAPH_HTML

Constant GRAPH_HTML 

Source
pub const GRAPH_HTML: &str = "{% extends \"base.html\" %}\n\n{% block title %}Dependency Graph - {{ site_title }}{% endblock %}\n\n{% block content %}\n<h1>Dependency Graph</h1>\n<p class=\"page-description\">Spec dependencies visualized</p>\n\n<div class=\"graph-container\">\n    <pre class=\"ascii-graph\">{{ ascii_graph }}</pre>\n</div>\n\n<section class=\"graph-legend\">\n    <h2>Legend</h2>\n    <ul>\n        <li><code>\u{2500}\u{2500}\u{2500}\u{25b6}</code> depends on</li>\n        <li><code>\u{250c}\u{2500}\u{2500}\u{2500}\u{2510}</code> spec box</li>\n    </ul>\n</section>\n\n{% if roots | length > 0 %}\n<section class=\"graph-roots\">\n    <h2>Root Specs (no dependencies)</h2>\n    <ul>\n        {% for root in roots %}\n        <li><a href=\"{{ base_url }}specs/{{ root.id }}.html\">{{ root.id }}</a> - {{ root.title | default(value=\"Untitled\") }}</li>\n        {% endfor %}\n    </ul>\n</section>\n{% endif %}\n\n{% if leaves | length > 0 %}\n<section class=\"graph-leaves\">\n    <h2>Leaf Specs (nothing depends on them)</h2>\n    <ul>\n        {% for leaf in leaves %}\n        <li><a href=\"{{ base_url }}specs/{{ leaf.id }}.html\">{{ leaf.id }}</a> - {{ leaf.title | default(value=\"Untitled\") }}</li>\n        {% endfor %}\n    </ul>\n</section>\n{% endif %}\n{% endblock %}\n";