~homeworkprod/byceps

ref: 0f32ddebed1f09618da28526d6702060c237cb51 byceps/byceps/blueprints/site/user_profile/templates/site/user_profile/view.html -rw-r--r-- 2.0 KiB
0f32ddeb — Jochen Kupperschmidt Flatten package/path of user profile site blueprint 11 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{% extends 'layout/base.html' %}
{% from 'macros/user.html' import render_user_screen_name %}
{% from 'macros/user_avatar.html' import render_user_avatar_128 %}
{% set current_page = 'user_profile.view' %}
{% set title = '%s - Benutzer'|format(user.screen_name) %}

{% block head %}
  <style>
    main {
      padding: 0;
    }
  </style>
{%- endblock %}

{% block body %}

  <div class="user-profile">

    <div class="user-profile-background"></div>

    <div class="user-profile-header">

      <div class="user-profile-header-column">
{{ render_user_avatar_128(user) }}
      </div>

      <div class="user-profile-header-column screenname-and-orgateam">
        <div class="user-profile-header-cell-top screenname">
          {{ render_user_screen_name(user) }}
        </div>
        <div class="user-profile-header-cell-bottom orgateam">
          {%- if orga_team %}
          {{ orga_team.title }}
          {%- endif %}
        </div>
      </div>

      <div class="user-profile-header-column">
        <div class="user-profile-header-cell-top stats">
          {{ attended_parties|length }}
        </div>
        <div class="user-profile-header-cell-bottom stats-label">
          {{ 'Party' if (attended_parties|length == 1) else 'Partys' }}
        </div>
      </div>

      <div class="user-profile-header-column">
        <div class="user-profile-header-cell-top stats">
          {{ badges_with_awarding_quantity|length }}
        </div>
        <div class="user-profile-header-cell-bottom stats-label">
          Abzeichen
        </div>
      </div>

    </div>

    <div class="user-profile-layout">
      <div class="user-profile-secondary">
        <div class="user-profile-details">
{%- include 'site/user_profile/_current_party_attendance.html' %}
{%- include 'site/user_profile/_contact.html' %}
        </div>
        <div class="user-profile-details">
{%- include 'site/user_profile/_attended_parties.html' %}
{%- include 'site/user_profile/_badges.html' %}
        </div>
      </div>
    </div>

  </div>

{%- endblock %}