Add user information to header of user timeline
This commit is contained in:
parent
0191bc2f98
commit
56d0ff2158
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% load humanize %}
|
||||
{% load sanitizer %}
|
||||
{% load taglinks %}
|
||||
|
||||
{% block title %}
|
||||
Brutaldon - {{ timeline }} timelime
|
||||
|
@ -7,12 +9,28 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<h1 class="title">User information for {{ user.display_name }} (@{{ user.acct }})</h1>
|
||||
<div class="box">
|
||||
<p>FIXME</p>
|
||||
<div class="card">
|
||||
{% if not fullbrutalism %}
|
||||
<div class="card-header" style="background-image: url({{ user.header }});">
|
||||
{% else %}
|
||||
<div class="card-header">
|
||||
{% endif %}
|
||||
<div class="card-header-title title">
|
||||
{{ user.display_name }} (@{{ user.acct }})
|
||||
</div>
|
||||
<figure class="image is-96x96 card-header-icon">
|
||||
<img src="{{ user.avatar }}" alt="Avatar">
|
||||
</figure>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="content">
|
||||
{{ user.note | relink_toot | strip_html | safe }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 class="title">{{ user.display_name }}'s visible toots</h1>
|
||||
<br>
|
||||
|
||||
{% for toot in toots %}
|
||||
<div class="box">
|
||||
{% if toot.reblog %}
|
||||
|
|
Loading…
Reference in New Issue