mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 09:18:27 +01:00
new account page :3
This commit is contained in:
parent
e9e342d9c0
commit
340b6a804f
1 changed files with 4 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
||||||
<link href=/css/app.main.css?v=3449 rel=stylesheet>
|
<link href=/css/app.main.css?v=3449 rel=stylesheet>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
/* Define the grid container */
|
/* Define the grid container */
|
||||||
.grid-container {
|
.grid-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -20,7 +21,7 @@
|
||||||
.grid-item {
|
.grid-item {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
max-width:5em;
|
width:11em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
|
@ -78,10 +79,10 @@ a {
|
||||||
<% if (userSubs) { %>
|
<% if (userSubs) { %>
|
||||||
<% for (const channelID in userSubs) { %>
|
<% for (const channelID in userSubs) { %>
|
||||||
<div class="grid-item">
|
<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>
|
<br>
|
||||||
<%= userSubs[channelID].channelName %><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>
|
<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>
|
</div> </div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue