barnold
4c5626c9ef
Get tests passing again.
2022-09-29 13:10:43 +01:00
barnold
07fdc53c95
More checks against invalid input.
2022-09-22 17:33:27 +01:00
barnold
92a01126a4
More parameter checking and a custom not-found page.
2022-09-20 11:33:08 +01:00
barnold
3c2dd9eac5
A few paging changes...
...
Pass the items name (plural) into the page nav partial.
Simplify what's shown if there's no more than one pageful of items.
2022-09-19 13:39:11 +01:00
barnold
6ea53c5657
More on rows-per-page...
...
Added helpers and updated MyModel with a view to making rows-per-page
a user preference.
2022-09-19 10:04:57 +01:00
barnold
3dc4410342
Rename some things for clarity.
2022-09-18 17:31:01 +01:00
barnold
94b888f0f5
Reset to page 1 on a new search. Fix test.
2022-09-18 13:00:38 +01:00
barnold
143dcc9bdc
Can page to first, prev, next, last.
2022-09-17 16:05:45 +01:00
barnold
32302755f3
Add a simple database query plus test.
2022-09-15 11:52:31 +01:00
barnold
bbec32d419
Add more tests.
2022-09-15 10:24:59 +01:00
barnold
a3c8a8ae8e
Rename the Index controller to Home and move its template.
2022-09-15 08:43:17 +01:00
barnold
a017600c85
Use "mojo generate app MyApp" to add things...
...
Added files and directories as generated, based on
Mojolicious::Guides::Growing. The generator expects the root
directory to be named 'my_app', which mine wasn't. So I symlinked my
directory, ~/src/mojo-tutorial.barnold, to ~/src/my_app. Then 'cd
~/src; mojo generate app MyApp; unlink my_app'.
2022-09-13 09:52:55 +01:00