blob: f66134668380890f32ba5346bf4fe54fc7fb1e3d (
plain)
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
74
75
76
77
|
<%inherit file="jm2l:templates/layout.mako"/>
<style>
.borderbox {
border: 1px solid #e1e4e5;
margin: 1px 0 24px;
color: #404040;
line-height: 1.5;
margin: 0;
overflow: auto;
padding: 12px;
background: none repeat scroll 0 0 #fcfcfc;
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
}
.titleborderbox {
background: none repeat scroll 0 0 #ffffff;
border: 1px solid #eee;
display: inline;
left: 16px;
padding: 2px 7px;
position: relative;
top: 10px;
}
.borderboxtime {
float:right;
padding:1px 15px;
border: 1px solid #eee;
}
</style>
% if request.user and DispUser.uid==request.user.uid or request.user.uid==1:
<a style="float:right;" href="/MesJM2L?user=${DispUser.uid}">Editer</a>
% endif
<h2>${DispUser.prenom} ${DispUser.nom}</h2>
<div style="display: inline-block;">
<p>
% if DispUser.PhotosLinks or DispUser.bio or DispUser.website:
<div class="titleborderbox">
<strong>Son profil</strong>.
% if DispUser.pseudo:
(${DispUser.pseudo})
%endif
</div>
% if DispUser.PhotosLinks:
<br />
<div style="float:right;padding:5px;border:1px solid #eee;background-color:white;">
% for img_path in DispUser.PhotosLinks:
<img src="${img_path}" alt="logo" />
% endfor
</div>
% endif
<div>
<div style="float:right;">
</div>
<div class="borderbox">
% if DispUser.bio:
${DispUser.bio | n}
% endif
<br />
% if DispUser.website:
<div style="float:right;">
<a href="http://${DispUser.website}">${DispUser.website}</a>
</div>
% endif
</div>
</div>
% else:
<i>Pas d'information</i>
% endif
</p>
</div>
<br/>
<hr/>
<p style="float:right;">Créé le ${DispUser.created.strftime('%d %b %Y').decode('utf-8')}</p>
|