From 8df833bfd42286fc71dca757d0b735e7614ee397 Mon Sep 17 00:00:00 2001 From: ashley Date: Tue, 2 Sep 2025 00:40:33 +0200 Subject: [PATCH] new account page beta --- html/account-me.ejs | 385 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 310 insertions(+), 75 deletions(-) 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 %>
-
- <% } %> - <% } %> +
+

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