mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-09 17:45:47 +00:00
introduce djhtml as jinja+scss formater
This commit is contained in:
committed by
Bartuccio Antoine
parent
13d0d2a300
commit
b25805e0a1
@@ -1,30 +1,30 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Comment{% endtrans %}
|
||||
{% trans %}Comment{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% trans %}Comment{% endtrans %}</h2>
|
||||
<div style="width: 400px; margin: auto; border: solid 1px grey; text-align: center">
|
||||
<h2>{% trans %}Comment{% endtrans %}</h2>
|
||||
<div style="width: 400px; margin: auto; border: solid 1px grey; text-align: center">
|
||||
{% set file = None %}
|
||||
{% if target.profile_pict %}
|
||||
{% set file = target.profile_pict.url %}
|
||||
{% set file = target.profile_pict.url %}
|
||||
{% else %}
|
||||
{% set file = static('core/img/na.gif') %}
|
||||
{% set file = static('core/img/na.gif') %}
|
||||
{% endif %}
|
||||
<div style="max-width: 300px; margin: auto;">
|
||||
<img src="{{ file }}" alt="" style="max-width: 300px">
|
||||
<img src="{{ file }}" alt="" style="max-width: 300px">
|
||||
</div>
|
||||
<div>
|
||||
{{ target.user.get_display_name() }}
|
||||
{{ target.user.get_display_name() }}
|
||||
</div>
|
||||
</div>
|
||||
<form action="" method="post">
|
||||
</div>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
|
||||
</form>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user