Commit graph

30 commits

Author SHA1 Message Date
da8a6f0505
Use flex instead of grid to overcome 1,000 row browser limit.
Chrome stops adding grid rows after 1,000 and just piles them all
up on the bottom.
2021-11-08 02:01:01 -08:00
6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop. 2021-09-05 01:26:34 -07:00
742034d287
Replace margin with grid-row-gap. 2021-06-04 20:48:51 -07:00
67619c506e
Replace #000 with black. 2021-06-04 20:47:54 -07:00
a697fabfff
Give class channel_card to both pending and not. 2021-06-04 20:44:57 -07:00
c74b9523e4
Don't sort channels from get_channels, use get_things. 2021-06-04 20:35:17 -07:00
37df5a6443 Remove spacer <p>s and embrace the grid-gap. 2020-09-05 09:31:37 -07:00
98fae96a8a Add spinner.BAIL for cancelling spinner without launching callback. 2020-09-04 11:24:08 -07:00
4af4985ac5 Add return to all onclicks, and ; to other javascript hooks. 2020-09-04 10:37:49 -07:00
b8c25f217d Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:52:51 -07:00
8dd7fb987d Add placeholder text to new_channel_textbox. 2020-09-03 11:44:49 -07:00
412d324352 Remove unused parameter event. 2020-08-20 15:09:37 -07:00
e083223cfc Add button_with_spinner class to add channel button. 2020-08-20 15:09:23 -07:00
3044907264 Use dot notation instead of subscript on response. 2020-06-28 16:57:32 -07:00
f1e80dac94 Add spinners to channel refresh buttons. 2020-06-17 14:15:50 -07:00
dd59fd2c36 Import common.js before api.js. 2020-06-17 14:13:33 -07:00
ba1f17da75 Move function add_channel to api.js. 2020-06-03 13:00:44 -07:00
1f2c43278a Move function refresh_all_channels to api.js. 2020-06-03 13:00:16 -07:00
415acdf7d1 Add api.js. 2020-06-03 12:54:20 -07:00
d0a0a87b43 Add function common.refresh. 2020-06-03 12:28:09 -07:00
3e27e6e2e8 Add separate API endpoint for add_channel, apply to web ui.
Previously, the "add channel" box was just calling refresh, which
implicitly adds the channel. This adds a separate endpoint for
add_channel, and as a bonus the web ui will navigate you to the
channel after it has been loaded.
2020-05-21 22:16:02 -07:00
13a72ec7fc Move CSS and JS into separate folders under static. 2020-05-21 19:43:45 -07:00
0c5823cbeb Indicate automark state on /channels listing. 2020-05-21 17:26:12 -07:00
af494e2684 Rename CSS class channel_card_downloaded -> channel_card_no_pending. 2020-05-21 17:22:07 -07:00
2f5ec40b89 Big: Object-oriented channels & videos, match Etiquette structure.
- Channels and videos are now objects instead of just dictionaries.
- Copied Etiquette's use of cachemanager mixin to cache those objects.
- Copied Etiquette's use of sql_ methods.
- Copied Etiquette's use of namespaced javascript.
- Copied Etiquette's use of config file.
- Redid video_card css to use grid, better on mobile.
- Improved usage of URL parameters with class=merge_class.
- Wrote some actual content on readme.
2020-04-05 18:59:16 -07:00
a29a637bcb Put the refresh buttons inside spans. 2020-01-06 21:56:45 -08:00
2826e8972f Add link directly to channel's pending page. 2020-01-06 21:56:22 -08:00
12c2b882f2 Add the meta viewport property. 2020-01-06 21:55:01 -08:00
c667ebd872 Batch requests & filterbox & update metadata
- Download / Ignore on multiple videos is batched into a single
  request, like it should have been all along.
- Text box at the top of the page lets you search for terms live
  instead of loading various ?q urls.
- Doing a force refresh will actually update the metadata of old
  videos instead of skipping them.
2019-01-23 21:22:09 -08:00
ba1961349c It's been a while 2017-10-08 21:39:07 -07:00
Renamed from templates/channels.html (Browse further)