mastodon-archive-stats/views/index.pug

51 lines
1.6 KiB
Plaintext
Raw Normal View History

doctype html
html(lang="en")
head
title= pageTitle
2020-07-19 15:48:31 +02:00
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
2020-07-19 16:46:34 +02:00
fieldset.stats.stats-hashtags
h3 You used these HashTags
table
thead
tr
th= "hashtag"
th= "occurences"
tbody
each hashtag in outboxStatistics.hashtags
tr
td.name
a(href=hashtag.name)=hashtag.name
td.counter=hashtag.counter
td.counter=hashtag.counterContentLength
fieldset.stats.stats-recievers
h3 You sent messages to these people
2020-07-19 15:57:09 +02:00
table
thead
tr
th= "name"
2020-07-19 16:46:34 +02:00
th= "times"
2020-07-19 15:57:09 +02:00
th= "toots lengh sum"
tbody
2020-07-19 16:46:34 +02:00
each someone in outboxStatistics.recievers
2020-07-19 15:57:09 +02:00
tr
td.name
a(href=someone.name)=someone.name
td.counter=someone.counter
td.counter=someone.counterContentLength
2020-07-19 15:48:31 +02:00
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
2020-07-19 15:48:31 +02:00
a(href=oredredItem['object'].url)="see"
2020-07-19 16:27:48 +02:00
div.date-published=oredredItem['object'].published
2020-07-19 15:48:31 +02:00
blockquote.published(unescaped!=oredredItem['object'].content)