X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=f5907a09e252f150875ad81ebcb78bdc3f69610a;hb=6a80d678df30368fa061f9ac714422ed7b3c5633;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..f5907a0 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -1,32 +1,20 @@ <%include include/head.html> + +

<%= 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>