Commit Graph

33 Commits

Author SHA1 Message Date
evazion
63e3b4b447 views: factor out FontAwesome icons.
Factor out FontAwesome icons into a set of helpers. This is so that it's
easier to keep track of which icons we're using and easier to change
icons globally.
2021-01-21 07:58:50 -06:00
evazion
ceeed1e692 pagination: refactor page limits.
Refactor page limits to a) be explicitly listed in the User class (not
hidden away in the Danbooru config) and b) explicitly depend on the
CurrentUser (not implicitly by way of Danbooru.config.max_numbered_pages).
2021-01-11 21:09:06 -06:00
evazion
b85b4b190a pagination: remove switch_to_sequential option. 2020-06-28 02:59:32 -05:00
evazion
309821bf73 rubocop: fix various style issues. 2019-12-22 21:23:37 -06:00
evazion
7478c7a913 Fix #4034: Several keyboard shortcuts are missing an ID. 2019-01-03 17:19:16 -06:00
evazion
bbaadda1e3 Convert keyboard shortcuts to use data-shortcut. 2018-08-12 12:09:58 -05:00
Albert Yi
a610111658 switch post previews to use flexbox, add better styling for cropped thumbnails 2018-07-18 11:38:00 -07:00
evazion
84a0a89f4b Fix #3539: Open redirect vulnerabilities. 2018-02-07 19:52:52 -06:00
evazion
583520b97c pagination helpers: convert to strong params. 2018-02-07 18:07:45 -06:00
r888888888
137296f4de tweak responsive css 2017-09-06 18:36:39 -07:00
Toks
9585e32914 Improve sequential paginator
fixes #2044, fixes #1298
2013-12-04 14:41:50 -05:00
r888888888
fa13c94fc0 Revert "fixes #2044"
This reverts commit c358de020b.
2013-12-03 16:39:05 -08:00
r888888888
c358de020b fixes #2044 2013-12-03 16:02:27 -08:00
Toks
fc3aac28b8 fixes #1840 2013-07-07 18:17:32 -04:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
609357ae9e fixes #631 2013-02-28 10:38:42 -08:00
albert
b1f595fa6f terminate numbered paginator early if no more records 2013-02-25 21:05:25 -05:00
albert
63394ef161 remove unnecessary count query for post_versions listing 2013-02-20 14:18:33 -05:00
albert
c4f54b57de fix 2012-12-24 16:58:49 -05:00
albert
29bad46cb5 fix 2012-12-24 16:58:10 -05:00
albert
f3798ff32b fix 2012-12-24 16:56:55 -05:00
albert
b57741e20a fix 2012-12-24 16:56:20 -05:00
albert
a7a03a241b add arrows to paginator 2012-12-24 16:35:17 -05:00
albert
fbcf16638a css fixes 2012-02-10 17:46:06 -05:00
albert
c8afd34d15 added ip addr search 2011-07-29 18:04:50 -04:00
albert
085995126c changes 2011-07-03 19:12:31 -04:00
albert
bd3af50e10 changes 2011-07-02 21:04:29 -04:00
albert
1ad075c05a post index noe works 2011-06-24 18:22:54 -04:00
albert
2f1fdcb459 more work on paginators 2011-06-21 14:32:07 -04:00
albert
fab37bc0d3 fixed post listing 2011-06-21 13:10:01 -04:00
albert
07f8dba7f2 work 2011-06-21 12:20:22 -04:00
albert
d6e4283cc7 refactoring 2011-06-12 16:41:23 -04:00
albert
ca3e9bb6db major refactoring of post sets and pagination, incomplete 2011-06-03 19:47:16 -04:00