1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
royalnet/templates/profile.html

45 lines
No EOL
1.4 KiB
HTML

{% extends 'base.html' %}
{% block prehead %}
<meta name="description" content="Profilo Royalnet di {{ ryg.username }}">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
{% endblock %}
{% block pagetitle %}
{{ ryg.username }}
{% endblock %}
{% block posthead %}
{% if css %}
<style>
{% autoescape false %}
{{ css.css }}
{% endautoescape %}
</style>
{% endif %}
{% endblock %}
{% block body %}
<h1>
Profilo di {{ ryg.username }} {% if session.get('user_id', '') == ryg.id %}<a href="{{ url_for('page_editprofile') }}" id="edit-css">Modifica</a>{% endif %}
</h1>
<div class="profile">
{% if css.bio %}
<div class="box bio">
<div class="upper-box">
Bio
</div>
<div class="lower-box">
{{ bio }}
</div>
</div>
{% endif %}
<div class="game-panels">
{% for mini in mini_data %}
{% with record = mini["data"] %}
{% include "minis/" + mini["name"] + ".html" %}
{% endwith %}
{% endfor %}
</div>
</div>
{% endblock %}