-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making Websites With October CMS - Part 43 - Ajax Pagination
- Loading branch information
Ivan Dorić
authored and
Ivan Dorić
committed
Aug 1, 2017
1 parent
df3d12c
commit 0d564a5
Showing
4 changed files
with
96 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<label>Page</label> | ||
<select class="ui fluid dropdown" name="Filter[page]"> | ||
{% for i in 1..pages %} | ||
{% if i == page %} | ||
<option value="{{page}}" selected>{{ page }}</option> | ||
{% else %} | ||
<option value="{{i}}">{{ i }}</option> | ||
{% endif %} | ||
{% endfor %} | ||
</select> |