You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

109 lines
3.7 KiB

<!DOCTYPE html>
<html>
<head>
<title>{{ title }}</title>
<meta charset="utf-8" />
{# FIXME: load fonts locally #}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="variables.css" />
<link rel="stylesheet" href="autodoc.css" />
<link rel="shortcut icon" type="image/png" href="favicon.png" />
{%- if topnav %}
<script type="text/javascript">
(function() {
var d=document,g=d.createElement('script'),s=d.getElementsByTagName('script')[0];
g.type='text/javascript';g.defer=true;g.async=true;g.src="{{ topnav|raw }}";s.parentNode.insertBefore(g,s);
})();
</script>
{%- endif -%}
</head>
<body>
<header class="header" id="header">
<div class='container'>
<div class="title">
<h1>{{ title }}</h1>
</div>
</div>
</header>
<div class="navbar">
<div class="container">
<strong class="subtitle">{{ subtitle }}</strong>
</div>
</div>
{%- block principal %}
<main class="main">
<div class='container'>
<div class="content" id="content">
<div class="tabset">
<input type="radio" name="tabset" id="tab0" aria-controls="tous" checked data-index="0">
<label for="tab0">Tous</label>
{% for organization, name in organizations %}
{% if groups[organization] %}
<input type="radio" name="tabset" id="tab{{ loop.index }}" aria-controls="{{ name|slug }}" data-index="{{ loop.index }}">
<label for="tab{{ loop.index }}">{{ name }}</label>
{% endif %}
{% endfor %}
<div class="tab-panels">
{% for organization, name in organizations %}
{% if groups[organization] %}
<section id="marzen" class="tab-panel" data-index="{{ loop.index }}">
<h2>{{ name }}</h2>
<table class="table">
<thead>
<tr><th>Nom</th><th>Description</th><th>Autres liens</th></tr>
</thead>
<tbody>
{% for package in groups[organization] %}
<tr>
<th><a href="{{ package.path ~ '/'}}">
{{ package.title }}</a></th>
<td>{{ package.slogan }}</td>
<td class="links">
{%- if package.urls.package %}
<a href="{{ package.urls.package }}" class="spip_out">Annuaire</a>
{%- endif %}
{%- if package.urls.documentation %}
<a href="{{ package.urls.documentation }}" class="spip_out">Documentation</a>
{%- endif %}
{%- if package.urls.repository %}
<a href="{{ package.urls.repository }}" class="spip_out">Forge</a>
{%- endif %}
{%- if package.urls.development and (package.urls.development != package.urls.repository) %}
<a href="{{ package.urls.development }}" class="spip_out">Développement</a>
{%- endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</section>
{% endif %}
{% endfor %}
</div>
</div>
</div><!-- #content -->
</div><!-- .container -->
</main>
{% endblock %}
{%- block footer %}
<footer class="footer" id="footer">
<div class='container'>
Liste automatique créée avec
<a href="https://git.spip.net/spip-galaxie/code.spip.net_autodoc">Autodoc</a>.<br />
Les documentations liées sont générées avec <a href="https://www.phpdoc.org/">PHPDocumentor</a><br />
Fichier généré le {{ "now"|date("j/m/Y à H:i") }}
</div><!-- .container -->
</footer>
{% endblock %}
</body>
</html>