You're looking at it

Homepage: https://roundabout-host.com

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 user-profile.html

View raw Download
text/html • 3.84 kiB
HTML document, ASCII text
        
            
1
{% extends "default.html" %}
2
{% block title %}
3
{{ user.username }}
4
{% endblock %}
5
{% block breadcrumbs %}
6
<li><a href="/{{ user.username }}">{{ user.username }}</a></li>
7
{% endblock %}
8
{% block seo %}
9
<meta name="description" content="{{ user.bio }}">
10
{% endblock %}
11
{% block nav %}
12
<ul id="repo-tabs">
13
<li class="{% if active_page == 'profile' %}selected{% endif %}">
14
<a href="?">
15
{% trans %}Profile{% endtrans %}
16
</a>
17
</li>
18
<li class="{% if active_page == 'repositories' %}selected{% endif %}">
19
<a href="?action=repositories">
20
{% trans %}Repositories{% endtrans %}
21
</a>
22
</li>
23
<li class="{% if active_page == 'followers' %}selected{% endif %}">
24
<a href="?action=followers">
25
{% trans %}Followers{% endtrans %}
26
</a>
27
</li>
28
<li class="{% if active_page == 'following' %}selected{% endif %}">
29
<a href="?action=follows">
30
{% trans %}Following{% endtrans %}
31
</a>
32
</li>
33
</ul>
34
35
<div class="flexible-space"></div>
36
37
{% if logged_in_user and logged_in_user != user.username %}
38
<form action="?action=follow" method="POST">
39
<button type="submit">
40
{% if relationship %}
41
{% trans counter=user.followers|length %}Stop following ({{ counter }}){% endtrans %}
42
{% else %}
43
{% trans counter=user.followers|length %}Follow ({{ counter }}){% endtrans %}
44
{% endif %}
45
</button>
46
</form>
47
{% else %}
48
{% trans counter=user.followers|length %}{{ counter }} followers{% endtrans %}
49
{% endif %}
50
{% endblock %}
51
52
{% block full %}
53
<x-frame style="--width: 768px; --padding: 1em;">
54
<x-vbox>
55
<x-hbox style="align-items: center;" id="profile-header">
56
<img src="/info/{{ user.username }}/avatar" class="avatar" id="profile-avatar">
57
58
<x-vbox class="nopad">
59
{% if user.display_name and user.display_name != user.username %}
60
<hgroup id="username">
61
<h1>{{ user.display_name }}</h1>
62
<p>{{ user.username }}</p>
63
</hgroup>
64
{% else %}
65
<h1 class="headline">{{ user.username }}</h1>
66
{% endif %}
67
</x-vbox>
68
<div class="flexible-space"></div>
69
<ul class="noindent" style="list-style: none; text-align: end;">
70
{% if user.URL %}
71
<li><a href="{{ user.URL }}"><x-hbox><iconify-icon icon="ic:outline-web"></iconify-icon>{{ user.URL }}</x-hbox></a></li>
72
{% endif %}
73
{% if user.company_URL %}
74
<li><a href="{{ user.company_URL }}"><x-hbox><iconify-icon icon="ic:baseline-business-center"></iconify-icon>{{ user.company }}</x-hbox></a></li>
75
{% elif user.company %}
76
<li><x-hbox><iconify-icon icon="ic:baseline-business-center"></iconify-icon>{{ user.company }}</x-hbox></li>
77
{% endif %}
78
{% if user.location %}
79
<li><x-hbox><iconify-icon icon="mdi:map-marker-radius"></iconify-icon>{{ user.location }}</x-hbox></li>
80
{% endif %}
81
{% if user.show_mail %}
82
<li><a href="mailto:{{ user.email }}"><x-hbox><iconify-icon icon="mdi:email"></iconify-icon>{{ user.email }}</x-hbox></a></li>
83
{% endif %}
84
</ul>
85
</x-hbox>
86
{% block content %}{% endblock %}
87
</x-vbox>
88
</x-frame>
89
{% endblock %}
90
91
{% block scripts %}
92
<script src="/static/marquee.js"></script>
93
{% endblock %}
94