forked from midou/invidious
Add proper padding for channel elements
This commit is contained in:
parent
44eef9654a
commit
6221496f66
@ -2,7 +2,7 @@
|
|||||||
<title><%= author %> - Invidious</title>
|
<title><%= author %> - Invidious</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="pure-g" style="padding:1em;">
|
<div class="pure-g h-box">
|
||||||
<div class="pure-u-2-3">
|
<div class="pure-u-2-3">
|
||||||
<h3><%= author %></h3>
|
<h3><%= author %></h3>
|
||||||
</div>
|
</div>
|
||||||
@ -13,27 +13,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p class="h-box">
|
||||||
<% if user %>
|
<% if user %>
|
||||||
<% if subscriptions.includes? ucid %>
|
<% if subscriptions.includes? ucid %>
|
||||||
<p>
|
|
||||||
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= ucid %>">
|
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= ucid %>">
|
||||||
<b>Unsubscribe from <%= author %></b>
|
<b>Unsubscribe from <%= author %></b>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>
|
|
||||||
<a href="/subscription_ajax?action_create_subscription_to_channel=1&c=<%= ucid %>">
|
<a href="/subscription_ajax?action_create_subscription_to_channel=1&c=<%= ucid %>">
|
||||||
<b>Subscribe to <%= author %></b>
|
<b>Subscribe to <%= author %></b>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>
|
|
||||||
<a href="/login">
|
<a href="/login">
|
||||||
<b>Login to subscribe to <%= author %></b>
|
<b>Login to subscribe to <%= author %></b>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</p>
|
||||||
|
|
||||||
<% videos.each_slice(4) do |slice| %>
|
<% videos.each_slice(4) do |slice| %>
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<title>Subscriptions - Invidious</title>
|
<title>Subscriptions - Invidious</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="pure-g" style="padding:1em;">
|
<div class="pure-g h-box">
|
||||||
<div class="pure-u-2-3">
|
<div class="pure-u-2-3">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="/subscription_manager">Manage subscriptions</a>
|
<a href="/subscription_manager">Manage subscriptions</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user