This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ADAMJR
committed
Feb 17, 2021
1 parent
3388094
commit 9bbbc7c
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
h1 img { | ||
height: 64px; | ||
} | ||
|
||
li.list-group-item { | ||
background-color: var(--background-secondary); | ||
color: var(--heading); | ||
} | ||
|
||
li:nth-of-type(1) { | ||
background: linear-gradient(to bottom, #C5B358 0%, #B6A449 100%); | ||
color: white; | ||
} | ||
li:nth-of-type(2) { | ||
background: linear-gradient(to bottom, #C0C0C0 0%, #B1B1B1 100%); | ||
color: white; | ||
} | ||
li:nth-of-type(3) { | ||
background: linear-gradient(to bottom, #CD7F32 0%, #BE7023 100%); | ||
color: white; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
doctype | ||
html(lang='en') | ||
head | ||
include ../includes/header.pug | ||
|
||
link(rel='stylesheet', href='/css/leaderboard.css') | ||
body | ||
include ../includes/navbar.pug | ||
header.text-center | ||
h1 | ||
img.round.mr-3(src=guild.iconURL()) | ||
span #{guild.name} Leaderboard | ||
p.lead View the top 100 richest users in #{guild.name}. | ||
|
||
ul.list-group.container.mt-5 | ||
each savedUser, index in savedUsers | ||
- var user = guild.members.cache.get(savedUser.id)?.user; | ||
if user | ||
li.list-group-item | ||
span | ||
strong.round.mr-3 #{index + 1} | ||
img.round.user-avatar.mr-2(src=user.displayAvatarURL({ dynamic: true })) | ||
span.lead #{user.username} | ||
span.text-muted ##{user.discriminator} | ||
span.float-right.pt-2 #{savedUser.coins} #[i.fas.fa-coins.text-warning] |