Commit graph

27 commits

Author SHA1 Message Date
d4cad47b78 Add docstring to init_enable_on_pageload. 2020-09-03 11:51:30 -07:00
25e9975926 Add css/js class enable_on_pageload. 2020-08-28 16:18:51 -07:00
e90254cfeb Copy some common css from Etiquette. 2020-08-10 20:55:23 -07:00
b660d700b9 Add endpoint and gui button for deleting channels. 2020-08-10 18:30:56 -07:00
c13f02006b Let button_with_confirm inherit original CSS when not specified. 2020-08-08 18:59:17 -07:00
ff0d01fdda Add more to docstring about spinner delay attribute. 2020-07-10 16:34:32 -07:00
bacdad07a6 Add docstring to bind_box_to_button, and some small linting. 2020-06-30 20:32:29 -07:00
6a41b18ba7 Dedent by using early returns. 2020-06-28 17:07:12 -07:00
1e4f4441bb Use dot notation instead of subscript. 2020-06-28 16:55:37 -07:00
fcbb128f47 Add attribute "completed" to response object. 2020-06-28 16:47:54 -07:00
235bc2501d Add spinner.js, synced with Etiquette. 2020-06-17 14:15:13 -07:00
e420d92f6c Add more docstring to button_with_confirm data-onclick parameter. 2020-06-17 14:09:02 -07:00
d2d8a69d39 Synchronize Etiquette common.js and YCDL common.js. 2020-06-17 13:38:01 -07:00
9c629d53b1 Remove some useless functions from common.js. 2020-06-04 19:04:51 -07:00
66f499c232 Move functions mark_state, start_download to api.js. 2020-06-03 13:01:53 -07:00
d996101152 Move function set_automark to api.js. 2020-06-03 13:01:28 -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
ab1a2364be Move function refresh_channel to api.js. 2020-06-03 12:59:29 -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
113a92fb5b Move function html_to_element to common.js. 2020-06-03 12:26:25 -07:00
2ba9eb8df2 Add docstring for init_atag_merge_params. 2020-06-03 12:21:23 -07:00
480eeb9ac3 Update common.js request, get, post functions like Etiquette. 2020-05-21 20:29:43 -07:00
13a72ec7fc Move CSS and JS into separate folders under static. 2020-05-21 19:43:45 -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
ba1961349c It's been a while 2017-10-08 21:39:07 -07:00