X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=4520967654ff0d6588378019133bea3419317440;hb=a0a838eba9b6ec356851402680b1604b0878ad0a;hp=84b6a941e0d3f6a9318802cc56293840d8f00d44;hpb=dff379421c20adabdb59c5a310d2a40513223369;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index 84b6a94..4520967 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -3,29 +3,16 @@

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

- <%foreach knownSones sone> -
- -
(<%= View.Sone.Label.LastUpdate|l10n|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>