aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/subscription_manager.html
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-06 15:18:19 -0500
committerJesús <heckyel@hyperbola.info>2021-05-06 15:18:19 -0500
commit7feea3f839b4e78b865937e74689486a54ba0b92 (patch)
treea002d834ef98552b45d20c90c08823459b0d016f /youtube/templates/subscription_manager.html
parentf9d1bfe05f57c13a66453a69a509f170b4027e5f (diff)
downloadyt-local-7feea3f839b4e78b865937e74689486a54ba0b92.tar.lz
yt-local-7feea3f839b4e78b865937e74689486a54ba0b92.tar.xz
yt-local-7feea3f839b4e78b865937e74689486a54ba0b92.zip
Add subscriptions export
plus design by heckyel
Diffstat (limited to 'youtube/templates/subscription_manager.html')
-rw-r--r--youtube/templates/subscription_manager.html22
1 files changed, 16 insertions, 6 deletions
diff --git a/youtube/templates/subscription_manager.html b/youtube/templates/subscription_manager.html
index 92cd024..62a8bed 100644
--- a/youtube/templates/subscription_manager.html
+++ b/youtube/templates/subscription_manager.html
@@ -19,14 +19,24 @@
<div class="import-export">
<form class="subscriptions-import-form" enctype="multipart/form-data" action="/youtube.com/import_subscriptions" method="POST">
<h2>Import subscriptions</h2>
- <input type="file" id="subscriptions-import" accept="application/json, application/xml, text/x-opml" name="subscriptions_file">
- <input type="submit" value="Import" class="import-submit-button">
+ <div class="subscriptions-import-options">
+ <input type="file" id="subscriptions-import" accept="application/json, application/xml, text/x-opml" name="subscriptions_file">
+ <input type="submit" value="Import">
+ </div>
</form>
- <!--<ul class="subscriptions-export-links">
- <li><a href="/youtube.com/subscriptions.opml">Export subscriptions (OPML)</a></li>
- <li><a href="/youtube.com/subscriptions.xml">Export subscriptions (RSS)</a></li>
- </ul>-->
+ <form class="subscriptions-export-form" action="/youtube.com/export_subscriptions" method="POST">
+ <h2>Export subscriptions</h2>
+ <div class="subscriptions-export-options">
+ <select id="export-type" name="export_format" title="Export format">
+ <option value="json">JSON</option>
+ <option value="opml">OPML (RSS, no tags)</option>
+ </select>
+ <label for="include-muted">Include muted</label>
+ <input id="include-muted" type="checkbox" name="include_muted" checked>
+ <input type="submit" value="Export">
+ </div>
+ </form>
</div>
<hr>