General cleanup to user preferences

このコミットが含まれているのは:
Omar Roth 2018-08-05 19:59:45 -05:00
コミット f9b45dd7b8
3個のファイルの変更18行の追加14行の削除

ファイルの表示

@ -13,7 +13,7 @@
</div>
<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>
<input type="file" id="import_youtube" name="import_youtube">
</div>

ファイルの表示

@ -104,15 +104,15 @@ function update_value(element) {
<legend>Data preferences</legend>
<div class="pure-control-group">
<label>
<a href="/clear_watch_history">Clear watch history</a>
</label>
<a href="/clear_watch_history">Clear watch history</a>
</div>
<div class="pure-control-group">
<label>
<a href="/data_control">Import/Export data</a>
</label>
<a href="/data_control">Import/Export data</a>
</div>
<div class="pure-control-group">
<a href="/subscription_manager">Manage subscriptions></a>
</div>
<div class="pure-controls">

ファイルの表示

@ -14,19 +14,23 @@
</div>
<% subscriptions.each do |channel| %>
<h3 class="h-box">
<div class="h-box">
<div class="pure-g">
<div class="pure-u-2-5">
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
<h3>
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
</h3>
</div>
<div class="pure-u-2-5"></div>
<div class="pure-u-1-5" style="text-align: right;">
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
<h3>
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
</h3>
</div>
</div>
</h3>
<% if subscriptions[-1].author != channel.author %>
<hr>
<% end %>
<% if subscriptions[-1].author != channel.author %>
<hr>
<% end %>
</div>
<% end %>