From 56d0ff2158fb304ab4fb65bfe8d6d74a7bc63eb8 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Wed, 9 May 2018 14:17:39 -0400 Subject: [PATCH] Add user information to header of user timeline --- brutaldon/static/css/brutaldon.css | 10 ++++++++++ brutaldon/templates/main/user.html | 26 ++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/brutaldon/static/css/brutaldon.css b/brutaldon/static/css/brutaldon.css index bde3445..45c7a9b 100644 --- a/brutaldon/static/css/brutaldon.css +++ b/brutaldon/static/css/brutaldon.css @@ -1,3 +1,4 @@ + .reblog-icon { position: relative; top: -24px; @@ -12,3 +13,12 @@ img.fav-avatar { .box.active_context { background-color: #FFF8DC; } + +div.card-header-title, div.card-header-icon { + color: black; + text-shadow: + -1px -1px 0 #FFF, + 1px -1px 0 #FFF, + -1px 1px 0 #FFF, + 1px 1px 0 #FFF; +} diff --git a/brutaldon/templates/main/user.html b/brutaldon/templates/main/user.html index 7eed931..b1ea2c1 100644 --- a/brutaldon/templates/main/user.html +++ b/brutaldon/templates/main/user.html @@ -1,5 +1,7 @@ {% extends "base.html" %} {% load humanize %} +{% load sanitizer %} +{% load taglinks %} {% block title %} Brutaldon - {{ timeline }} timelime @@ -7,12 +9,28 @@ {% block content %} -

User information for {{ user.display_name }} (@{{ user.acct }})

-
-

FIXME

+
+ {% if not fullbrutalism %} +
+ {% else %} +
+ {% endif %} +
+ {{ user.display_name }} (@{{ user.acct }}) +
+
+ Avatar +
+
+
+
+ {{ user.note | relink_toot | strip_html | safe }} +
+
-

{{ user.display_name }}'s visible toots

+
+ {% for toot in toots %}
{% if toot.reblog %}