mirror of
https://github.com/iv-org/invidious.git
synced 2024-08-30 18:23:25 +00:00
General cleanup to user preferences
This commit is contained in:
parent
5a6b36ecce
commit
f9b45dd7b8
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pure-control-group">
|
<div class="pure-control-group">
|
||||||
<label for="import_youtube">Import <a target="_blank" style="color: #0366d6"
|
<label for="import_youtube">Import <a target="_blank"
|
||||||
href="https://support.google.com/youtube/answer/6224202?hl=en-GB">YouTube subscriptions</a></label>
|
href="https://support.google.com/youtube/answer/6224202?hl=en-GB">YouTube subscriptions</a></label>
|
||||||
<input type="file" id="import_youtube" name="import_youtube">
|
<input type="file" id="import_youtube" name="import_youtube">
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,15 +104,15 @@ function update_value(element) {
|
|||||||
|
|
||||||
<legend>Data preferences</legend>
|
<legend>Data preferences</legend>
|
||||||
<div class="pure-control-group">
|
<div class="pure-control-group">
|
||||||
<label>
|
|
||||||
<a href="/clear_watch_history">Clear watch history</a>
|
<a href="/clear_watch_history">Clear watch history</a>
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pure-control-group">
|
<div class="pure-control-group">
|
||||||
<label>
|
|
||||||
<a href="/data_control">Import/Export data</a>
|
<a href="/data_control">Import/Export data</a>
|
||||||
</label>
|
</div>
|
||||||
|
|
||||||
|
<div class="pure-control-group">
|
||||||
|
<a href="/subscription_manager">Manage subscriptions></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pure-controls">
|
<div class="pure-controls">
|
||||||
|
@ -14,19 +14,23 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% subscriptions.each do |channel| %>
|
<% subscriptions.each do |channel| %>
|
||||||
<h3 class="h-box">
|
<div class="h-box">
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<div class="pure-u-2-5">
|
<div class="pure-u-2-5">
|
||||||
|
<h3>
|
||||||
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
|
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
|
||||||
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-u-2-5"></div>
|
<div class="pure-u-2-5"></div>
|
||||||
<div class="pure-u-1-5" style="text-align: right;">
|
<div class="pure-u-1-5" style="text-align: right;">
|
||||||
|
<h3>
|
||||||
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
|
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</h3>
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% if subscriptions[-1].author != channel.author %>
|
<% if subscriptions[-1].author != channel.author %>
|
||||||
<hr>
|
<hr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
Loading…
Reference in New Issue
Block a user