~cedric/newspipe

ref: 3ab30e029adedbd7e652552c6da1eafbeadb40cd newspipe/newspipe/templates/profile_public.html -rw-r--r-- 1.6 KiB
3ab30e02Cédric Bonhomme chg: [ui] improved article_pub template. 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <h1>{{ user.nickname }} / <a href="{{ url_for('user.user_stream', nickname=user.nickname) }}">stream</a></h1>
    <div class="row">
        <div class="col-md-12">
            <p>
                <span class="fa fa-clock-o" aria-hidden="true"></span>&nbsp;
                {{ _('Member since') }}: {{ user.date_created | datetime }}
            </p>
            <p>
                <span class="fa fa-clock-o" aria-hidden="true"></span>&nbsp;
                {{ _('Last seen') }}: {{ user.last_seen | datetime }}
            </p>
            {% if user.webpage %}
            <p>
                <span class="fa fa-home" aria-hidden="true"></span>&nbsp;
                {{ _('Webpage') }}: <a href="{{ user.webpage | safe }}">{{ user.webpage | safe }}</a>
            </p>
            {% endif %}
            {% if user.twitter %}
                <p>
                    <span class="fa fa-twitter" aria-hidden="true"></span>&nbsp;
                    {{ _('Twitter') }}: <a href="{{ user.twitter | safe }}">{{ user.twitter | safe }}</a>
                </p>
            {% endif %}
        </div>
    </div>
    <div class="row">
        <div class="col-md-5">
            {% if user.bio %}
                <p align="justify">{{ user.bio }}</p>
            {% endif %}
        </div>
        <div class="col-md-6 pull-right"></div>
    </div>

    <h2>{{ _('Feeds') }}</h2>
    <div class="row">
        <div class="col-md-12">
            {% include "feed_list_per_categories.html" %}
        </div>
    </div>
</div><!-- /.container -->
{% endblock %}