mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Form remember last entered values
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
{% from "core/macros.jinja" import user_mini_profile, paginate %}
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
@ -5,11 +6,33 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<style type="text/css">
|
||||
.matmat_user {
|
||||
/*position: absolute;*/
|
||||
display: inline-block;
|
||||
width: 240px;
|
||||
height: 191px;
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
overflow: hidden;
|
||||
border-width: 3px;
|
||||
border-style: solid;
|
||||
border-color: black;
|
||||
}
|
||||
</style>
|
||||
{% if object_list.exists() %}
|
||||
<h2>{% trans %}User found{% endtrans %}</h2>
|
||||
{% for user in object_list %}
|
||||
{{ user }}
|
||||
|
||||
<div class="matmat_user">
|
||||
<a href="{{ url("core:user_profile", user_id=user.id) }}">
|
||||
{{ user_mini_profile(user) }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
<br><br>
|
||||
{{ paginate(page_obj, paginator) }}
|
||||
{% endif %}
|
||||
<h2>{% trans %}Search user{% endtrans %}</h2>
|
||||
<h3>{% trans %}Search by profile{% endtrans %}</h3>
|
||||
|
Reference in New Issue
Block a user