{! #include "../ui-repolist.h" !} {% page cgit_print_repolist %} {! ctx.page.title = ctx.cfg.root_title; !} {! page_start(); !} {# Repo header #} {{ ctx.cfg.root_title }} {# Main content #} {# Search box #} {# Heroicons micro magnifying-glass #} {# Repo list #} {! cgit_repolist_sort_repolist("idle"); !} {% for int i = 0; i < cgit_repolist.count; i++ %} {! ctx.repo = &cgit_repolist.repos[i]; !} {! if (!cgit_repolist_is_visible(ctx.repo)) { continue; } !} 0 %} class="border-t border-gray-300 pt-2 mt-2"{% endif %}> {# Heroicons outline cube #} {! char *repourl = cgit_repourl(ctx.repo->url); !} {{ ctx.repo->name }} {! free(repourl); !} {{ ctx.repo->desc }} Updated {! cgit_repolist_print_modtime(ctx.repo); !} ago {% endfor %} {! page_end(); !} {% endpage %}