mastodon-archive-stats/views/index.pug

37 lines
1.2 KiB
Plaintext

doctype html
html(lang="en")
head
title= pageTitle
link(rel='stylesheet', href='//mastodon.cipherbliss.com/packs/css/common-f88705a5.css', type='text/css')
link(rel='stylesheet', href='stylesheets/main.css', type='text/css')
body
h1=pageTitle
h2 Statistics
fieldset.stats
h3 You did sent messages to these people
table
thead
tr
th= "name"
th= "toots to"
th= "toots lengh sum"
tbody
each someone in outboxStatistics
tr
td.name
a(href=someone.name)=someone.name
td.counter=someone.counter
td.counter=someone.counterContentLength
h2 #{outbox.length} of Messages #{outboxTotalLength} in your outbox.First #{max_toots} toots, filtered by a minimal length of #{min_length} characters of content.
.columns-area__panels__main
div.column
div.item-list
each oredredItem in outbox
article
div.status.status-public
a(href=oredredItem['object'].url)="see"
div.published=oredredItem['object'].published
blockquote.published(unescaped!=oredredItem['object'].content)