1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-18 07:34:20 +00:00
royalnet/templates/profile.html

77 lines
2.2 KiB
HTML
Raw Normal View History

2018-06-04 09:58:27 +00:00
{% extends 'base.html' %}
2018-07-22 15:15:29 +00:00
{% block prehead %}
<meta name="description" content="Profilo Royalnet di {{ ryg.username }}">
{% endblock %}
2018-06-04 09:58:27 +00:00
{% block pagetitle %}
2018-06-20 17:00:36 +00:00
{{ ryg.username }}
2018-06-04 09:58:27 +00:00
{% endblock %}
2018-06-05 10:31:11 +00:00
{% block posthead %}
{% if css %}
<style>
2018-06-05 13:11:58 +00:00
{% autoescape false %}
{{ css.css }}
{% endautoescape %}
2018-06-05 10:31:11 +00:00
</style>
{% endif %}
{% endblock %}
2018-06-04 09:58:27 +00:00
{% block body %}
<h1>
2018-08-01 16:14:41 +00:00
Profilo di {{ ryg.username }} {% if session.get('user_id', '') == ryg.id %}<a href="{{ url_for('page_editprofile') }}" id="edit-css">Modifica</a>{% endif %}
2018-06-04 09:58:27 +00:00
</h1>
2018-09-07 16:58:19 +00:00
<div class="profile">
{% if css.bio %}
<div class="box bio">
<div class="upper-box">
Bio
</div>
<div class="lower-box">
{{ bio }}
</div>
2018-08-08 16:32:41 +00:00
</div>
2018-07-25 21:52:38 +00:00
{% endif %}
2018-09-07 16:58:19 +00:00
<div class="game-panels">
{% with record = ryg %}
{% include "minis/ryg.html" %}
2018-07-25 21:52:38 +00:00
{% endwith %}
2018-09-07 16:58:19 +00:00
{% if tg %}
{% with record = tg %}
{% include "minis/tg.html" %}
{% endwith %}
{% endif %}
{% if discord %}
{% with record = discord %}
{% include "minis/discord.html" %}
{% endwith %}
{% endif %}
{% if steam %}
{% with record = steam %}
{% include "minis/steam.html" %}
{% endwith %}
{% endif %}
{% if dota %}
{% with record = dota %}
{% include "minis/dota.html" %}
{% endwith %}
{% endif %}
{% if osu %}
{% with record = osu %}
{% include "minis/osu.html" %}
{% endwith %}
{% endif %}
{% if lol %}
{% with record = lol %}
{% include "minis/lol.html" %}
{% endwith %}
{% endif %}
{% if ow %}
{% with record = ow %}
{% include "minis/ow.html" %}
{% endwith %}
{% endif %}
</div>
</div>
2018-06-04 09:58:27 +00:00
{% endblock %}