Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
layout updates for channel and member views
Browse files Browse the repository at this point in the history
  • Loading branch information
WRMSRwasTaken committed Jun 11, 2019
1 parent 2f2be4e commit 0a02531
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 55 deletions.
47 changes: 25 additions & 22 deletions views/stats/guild/channel.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,34 @@ extends ../../layout.pug

block body
.col-12
.card-deck.mb-4
.card.col-4.bg-primary
.card-body.smallstat
div
.row
.mb-4.col-12.col-xl-4
.card.bg-primary
.card-body.smallstat
div
i.fas.fa-users.fa-3x
div
i.fas.fa-users.fa-3x
div
h6 Total members
h5 #{cards.totalMembers}
.mb-4.col-12.col-xl-4
.card.bg-primary
.card-body.smallstat
div
h6 Total members
h5 #{cards.totalMembers}
.card.col-4.bg-primary
.card-body.smallstat
div
div
i.fas.fa-user.fa-3x
div
h6 Members online
h5 #{cards.onlineMembers}
.mb-4.col-12.col-xl-4
.card.bg-primary
.card-body.smallstat
div
i.fas.fa-user.fa-3x
div
h6 Members online
h5 #{cards.onlineMembers}
.card.col-4.bg-primary
.card-body.smallstat
div
div
i.fas.fa-envelope.fa-3x
div
h6 New messages
h5 #{cards.totalMessages}
div
i.fas.fa-envelope.fa-3x
div
h6 New messages
h5 #{cards.totalMessages}

.card.mb-4
.card-header
Expand Down
71 changes: 38 additions & 33 deletions views/stats/guild/member.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,48 @@ extends ../../layout.pug

block body
.col-12
.card-deck.mb-4
.card.col-4.bg-primary
.card-body.smallstat
div
.row
.mb-4.col-12.col-lg-4
.card.bg-primary
.card-body.smallstat
div
i.fas.fa-envelope.fa-3x
div
i.fas.fa-envelope.fa-3x
div
h6 New messages
h5 #{cards.totalMessages}
.mb-4.col-12.col-lg-4
.card.bg-primary
.card-body.smallstat
div
h6 New messages
h5 #{cards.totalMessages}
.card.col-4.bg-primary
.card-body.smallstat
div
div
i.fas.fa-user-clock.fa-3x
div
h6 Joined
h5 #{cards.joinedTimestamp}
.mb-4.col-12.col-lg-4
.card.bg-primary
.card-body.smallstat
div
i.fas.fa-user-clock.fa-3x
div
h6 Joined
h5 #{cards.joinedTimestamp}
.card.col-4.bg-primary
.card-body.smallstat
div
div
i.fas.fa-user-tag.fa-3x
div
h6 Highest role
h5 #{cards.highestRole}

.card.mb-4
.card-header
| Messages over time
.card-body
div#messageGraph(style='height:200px')
div
i.fas.fa-user-tag.fa-3x
div
h6 Highest role
h5 #{cards.highestRole}

.card.mb-4
.card-header
| Channel message count distribution
.card-body
div#channelBars(style='height:200px')
.row
.mb-4.col-12.col-xl-6
.card
.card-header
| Messages over time
.card-body
div#messageGraph(style='height:200px')
.mb-4.col-12.col-xl-6
.card
.card-header
| Channel message count distribution
.card-body
div#channelBars(style='height:200px')

.card.mb-4
.card-header
Expand Down

0 comments on commit 0a02531

Please sign in to comment.