1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 01:14:38 -05:00

new account page :3

This commit is contained in:
Ashley 2024-01-06 07:04:27 +00:00
parent e9e342d9c0
commit 340b6a804f

View file

@ -6,6 +6,7 @@
<link href=/css/app.main.css?v=3449 rel=stylesheet>
<style>
/* Define the grid container */
.grid-container {
display: grid;
@ -20,7 +21,7 @@
.grid-item {
background-color: #333;
padding: 20px;
max-width:5em;
width:11em;
text-align: center;
border-radius: 1em;
}
@ -78,10 +79,10 @@ a {
<% if (userSubs) { %>
<% for (const channelID in userSubs) { %>
<div class="grid-item">
<img style="width:5em;border-radius:5px" src="<%= userSubs[channelID].avatar %>" alt="Avatar"><br >
<img style="width:5em;border-radius:5px;margin-bottom: -23px;" src="<%= userSubs[channelID].avatar %>" alt="Avatar"><br >
<br>
<%= userSubs[channelID].channelName %><br>
<div style="gap: 1px;display: flex;margin-left: -12px;">
<div style="gap: 1px;display: flex;margin-left:2em;margin-top: 6px;">
<a href="/api/remove-channel-sub?ID=<%- userid %>&channelID=<%= channelID %>" style="margin-bottom:1px">unsub </a> <a href="/channel?id=<%= channelID %>">view</a>
</div> </div>