X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=4520967654ff0d6588378019133bea3419317440;hb=176062fc63ec4f4c486a5720be028bd669ff82c2;hp=bf8dcfb35476d744fd07c612a9124c2c907be176;hpb=a75282a7e010c4e09774206570bc931b580eff9a;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index bf8dcfb..4520967 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -3,30 +3,16 @@

<%= Page.KnownSones.Page.Title|l10n|html>

- <%foreach knownSones sone> -
- -
<% sone.requestUri|substring start=4 length=43|html>…
-
<% sone.time|date format="MMM d, yyyy, HH:mm:ss">
- <%ifnull ! currentSone> - <%if sone.isBlocked> -
- - - -
- <%else> -
- - - -
- <%/if> - <%/if> -
+ <%getpage parameter=page> + <%paginate list=knownSones pagesize=25> + <%= page|store key=pageParameter> + <%include include/pagination.html> + <%foreach pagination.items sone> + <%include include/viewSone.html> <%foreachelse>
<%= Page.KnownSones.Text.NoKnownSones|l10n|html>
<%/foreach> + <%include include/pagination.html>
<%include include/tail.html>