diff --git a/html/account-me.ejs b/html/account-me.ejs index b3801ea5..d925e4ba 100644 --- a/html/account-me.ejs +++ b/html/account-me.ejs @@ -1,53 +1,203 @@ - - - PokeTube | Subscriptions - - - - - - - User: <%- userid %>
- do not share ur user id with anyone

-
- view json +@media (max-width: 520px) { + .toplink { + float: none; + margin: 0; + } + .wrap { + padding: 16px; + } +} + + + +
+ -
- -
-

- My subscriptions -

-
-
- <% if (userSubs) { %> - <% for (const channelID in userSubs) { %> -
- Avatar
-
- <%= userSubs[channelID].channelName %>
-
- unsub view -
- <% } %> - <% } %> +
+

My subscriptions

+ User: <%= userid %> +
+
+ + + 0 subscriptions + + unsub all +
+ + + +
+ <% if (userSubs && Object.keys(userSubs).length) { %> + <% Object.keys(userSubs).forEach(function(channelID){ const c = userSubs[channelID]; %> +
+ Avatar of <%= c.channelName %> +
<%= c.channelName %>
+
+ unsub + view +
- + <% }) %> + <% } %>
- + + +
+ + + - \ No newline at end of file