- WIP on visual of API

This commit is contained in:
Dave Mc Nicoll committed 2025-04-10 17:54:04 +00:00
1 parent 3d81b71473
commit 21f315cc22
10 files changed
+230 -32

No files matched your search

+11 -6
View File
@@ -1,9 +1,14 @@
<ul>
<ul class="routes-wrapper">
{% foreach $routes as $route %}
<li>
<span><a href="{{ $route['route'] }}" title="{{ $route['path'] }}" style='font-family:monospace;font-size:.85em'>{{ $route['cleaned'] }}</a> - {{= $route['description'] }}</span>
<span style='color:#ac1b1b'>{{ $route['methods'] }}</span>
<small style="color:#374300">{{ $route['name'] }}</small>
</li>
{% foreach $route['methods'] as $method %}
<li class="method-{{ strtolower($method) }}">
<span class="route-method">{{ $method }}</span>
<span class="route-link">
<a href="{{ $route['route'] }}" title="{{ $route['path'] }}">{{ $route['cleaned'] }}</a>
<span>- {{= $route['description'] }}</span>
</span>
<small class="route-name">{{ $route['name'] }}</small>
</li>
{% endforeach %}
{% endforeach %}
</ul>