Commit Graph

28 Commits

Author SHA1 Message Date
mastihios
0947c26612
Fix URL-encoding in href strings (#2460)
* hrefs: replace HTML.escape w/ URI.encode_www_form

* Fix search_query_encoded
2021-10-11 05:18:20 -07:00
Samantaz Fox
56ebef4352
Multiple front-end fixes (#2247)
Fixes:
* Sanitize user-provided content in HTML (Fixes #2193)
* Fix encoding of search query in prev/next pages (Fixes #2229)
* Fix some issues introduced with #2196:
   - Fix alignment of all <h3> elements (Move the inline style from the parent to the <h3> element)
   - Add missing comma on 'dir' HTML attribute (Typo introduced by PR #2196)

Code cleaning:
* Remove unnecessary 'each_sclice' + 'each' double loop in ECR files
* Clean the player's <source> list generation code (in player.ecr)
2021-07-15 23:01:36 +02:00
syeopite
4a095eb98e
Fix <hr> styling on empty search page 2021-06-19 04:17:49 -07:00
syeopite
cf72b34866
Fix locale discrepancy for instance redirect btn 2021-06-19 04:16:18 -07:00
syeopite
f178297452
Generalize redirect route 2021-06-19 04:16:18 -07:00
syeopite
311e7684b2
Add instance redirect on empty/broken search 2021-06-19 04:16:18 -07:00
syeopite
977c34c0d7
Remove unused script element in search.ecr 2021-03-19 11:33:27 -07:00
syeopite
48a3c3a0c1
Add hover state to filter UI 2021-03-13 10:57:27 -08:00
syeopite
b56ebd13b6
Fix indent in search.ecr for filters 2021-03-13 09:14:55 -08:00
syeopite
83b5fd252e
Enhance search filter UI for JS disabled users
Change filters UI box to use <details>.

Stylize detail button for filter ui

Fix localization for 'filter'

Fix CSS

Fix styling
2021-03-01 03:45:07 -08:00
Andrew Zhao
15ba3325d9 add ui for searching 2021-01-17 14:33:49 -05:00
edumoreira1506
48cbe45a9d Add Previous/Next page buttons at the top of the page 2019-11-20 15:59:07 -03:00
Omar Roth
d1635cf24e
Set max preference size 2019-06-08 16:04:55 -05:00
Omar Roth
1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -05:00
Omar Roth
d20a4a8bfc Fix grid size for smaller devices 2019-04-14 17:04:52 -05:00
Omar Roth
0c6cede287 Format files and trim trailing whitespace 2019-03-23 14:05:13 -05:00
Omar Roth
a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth
c7e8d623c0 Support overflow grid 2018-11-19 18:43:06 -06:00
Omar Roth
28f564ee4c Fix XSS in title and input bar 2018-11-08 17:27:21 -06:00
Omar Roth
236358d3ad Escape search query in "next page" and "previous page" links 2018-10-02 09:08:18 -05:00
Omar Roth
62380933b2 Add support for playlists and channels in search 2018-09-20 09:36:09 -05:00
Omar Roth
f7ca81c384 Add support for channel search 2018-09-13 17:47:31 -05:00
Omar Roth
917d220623 Fix search filters 2018-08-30 17:42:30 -05:00
Omar Roth
77b12b6249 Only show next page when there are more results 2018-08-25 17:18:43 -05:00
Omar Roth
9a15438c71 Minor formatting changes 2018-08-17 11:04:38 -05:00
Omar Roth
2cedac8c58 Don't show 'next page' or 'previous page' where not applicable 2018-08-14 19:15:33 -05:00
Omar Roth
b9315bc534 Major cleanup 2018-08-04 23:14:57 -05:00
Omar Roth
eb1df96e1b Remove patch and update file structure 2018-07-06 07:59:56 -05:00