codoseo-web 0.1.0-rc.1

The CodoSEO web app: axum routes, askama templates and htmx partials.
Documentation
1
2
3
4
{% for r in rows %}<div class="grid-row grid-cols" role="row" data-row{% if r.selected %} aria-selected="true"{% endif %} hx-get="{{ r.detail_href }}" hx-target="#detail" hx-swap="outerHTML" hx-include="#ex-tab, #ex-filter, #ex-q"><span role="gridcell">{{ r.star|safe }}</span><span class="path" role="gridcell" title="{{ r.url }}">{{ r.path }}</span><span role="gridcell"><span class="code {{ r.status_tone }}">{{ r.status }}</span></span><span class="cell {{ r.index_class }}" role="gridcell">{{ r.index_label }}</span><span class="cell {{ r.title_class }}" role="gridcell" title="{{ r.title }}">{{ r.title }}</span><span class="numc" role="gridcell"><span class="{{ r.title_len_class }}">{{ r.title_len }}</span></span><span class="numc" role="gridcell"><span class="{{ r.words_class }}">{{ r.words }}</span></span><span class="numc" role="gridcell"><span class="{{ r.depth_class }}">{{ r.depth }}</span></span><span class="numc" role="gridcell">{{ r.inlinks }}</span><span class="numc" role="gridcell"><span class="{{ r.response_class }}">{{ r.response }}</span></span></div>
{% endfor %}{% if empty %}<div class="empty-sm" style="text-align:center">No URLs match this filter.</div>
{% endif %}{% if let Some(url) = more %}<div class="load-more" hx-get="{{ url }}" hx-trigger="intersect once" hx-target="this" hx-swap="outerHTML" hx-include="#ex-sel"><span class="spinner on"></span>Loading more URLs…</div>
{% endif %}{% if let Some(i) = info %}{{ i|safe }}{% endif %}