e08668b28f
Add example usage of enable_on_pageload.
2022-10-29 22:19:11 -07:00
415e474da5
Update http.js.
2022-10-12 18:41:19 -07:00
2bd8f42eb0
Move http functions to new javascript file http.js.
2022-10-01 14:30:08 -07:00
a069cc97cb
Add spinners.close_button_spinner so user doesn't need spinnerCloser.
...
The window[button.spinnerCloser]() was always weird.
2022-03-23 14:56:13 -07:00
cf01ca24ff
Add show_download_directory, and a few ui fixes.
2022-03-15 18:12:11 -07:00
bad5ed0355
Rename spinner.js -> spinners.js.
2022-03-15 18:12:09 -07:00
1479f79667
Add css-js class bind-enter-to-button, bind-ctrl-enter-to-button.
2022-03-15 13:51:22 -07:00
9b35afb79c
Add hotkeys.register_help, forward the event to the hotkey's func.
2022-03-15 13:51:09 -07:00
2d2a45a2a1
Add web interface for Channel.set_name.
2021-10-26 11:53:49 -07:00
787cec38aa
Add remark to common.css, ycdl.css.
2021-10-24 16:47:48 -07:00
6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop.
2021-09-05 01:26:34 -07:00
2ab0b38c84
Add common.formdata so api.js can just use dicts.
2021-09-03 12:53:01 -07:00
2ad85ad69a
Add Channel.set_download_directory.
2021-09-01 23:37:43 -07:00
46fc9ecef3
Define color_primary which was previously not set.
2021-06-25 23:05:06 -07:00
00917f585e
Turn off hotkeys.js logging every press.
2021-06-04 13:03:05 -07:00
b9019095e2
Synchronize with Etiquette.
2021-06-01 18:18:08 -07:00
16be502991
Add explanation to common.css --wide --narrow.
2021-05-19 23:43:21 -07:00
d3555dfbf3
Sync with Etiquette.
2021-01-11 15:36:16 -08:00
4bf27d4458
Sync with Etiquette.
2021-01-02 16:54:20 -08:00
5841279f9e
Sync common.js with Etiquette.
2020-11-08 19:32:04 -08:00
4b1fde386d
Add some docstrings to the request code.
2020-11-03 00:03:59 -08:00
42417ed008
Sync common.js with Etiquette.
2020-10-23 07:44:18 -07:00
67a3472aad
Avoid creating emptystring promptclass.
2020-10-04 16:53:27 -07:00
14ab3f3b06
Reorganize a bunch of functions and other indulgences.
2020-10-02 19:46:36 -07:00
ed3942b943
Let response status be 0 even if request didn't complete.
...
Since meta.status would be undefined for an incomplete request,
I would have to check response.completed && response.meta.status,
which is too much burden. Let's set the status immediately, and
if a callback wants to do further diving we'll use completed then.
2020-10-02 19:43:25 -07:00
94e3bcd21d
Set tabbed_container data-active-tab-id on tab change.
2020-10-02 13:17:38 -07:00
0f9fbfa6e8
Add synchronized hotkeys.js from Etiquette; add ctrl+a, ctrl+d.
2020-10-02 13:17:08 -07:00
e584e05f5e
Move color definitions from common.css to ycdl.css.
2020-09-25 16:25:39 -07:00
69c1dd92e9
Synchronize --wide, --narrow with Etiquette.
2020-09-19 10:42:31 -07:00
34aafedf46
Synchronize with Etiquette.
2020-09-18 16:35:02 -07:00
741cddc2e4
Add set_queuefile_extension method, endpoint, and ui.
2020-09-16 10:23:38 -07:00
76b1504353
Synchronize with Etiquette.
2020-09-15 15:04:50 -07:00
ec19301bcc
Rewrite entry_with_history hook and use keydown instead of keyup.
2020-09-12 10:14:52 -07:00
cd5106df59
Rename color_3d_shadow -> color_shadow.
2020-09-09 15:58:04 -07:00
d140a580c3
Add .bold class.
2020-09-05 17:47:53 -07:00
0ae041f001
Add whitelist/blacklist functionality to merge_params.
2020-09-04 15:10:58 -07:00
7d3a9fe03e
Add explanation of data-prompt-class et al.
...
I think I left these blank because I felt they should be obvious.
But I'd rather have it explicit.
2020-09-04 14:50:30 -07:00
98fae96a8a
Add spinner.BAIL for cancelling spinner without launching callback.
2020-09-04 11:24:08 -07:00
0518765f33
Add css/js class entry_with_history to automate adding the hook.
2020-09-04 11:18:41 -07:00
afcea49135
Fine-tune use of let/const in spinner.js.
2020-09-03 15:57:07 -07:00
03c366fff8
Replace var with let/const.
2020-09-03 15:44:58 -07:00
2a5983b124
Change #content_body width from 95% to 98%.
2020-09-03 12:06:35 -07:00
a524249ab4
Improve color of tab buttons active/inactive/hover.
2020-09-03 12:03:53 -07:00
f103447807
Add css/js class tabbed_container.
2020-09-03 11:54:00 -07:00
b8c25f217d
Synchronize Etiquette common.css and YCDL common.css.
2020-09-03 11:52:51 -07:00
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