1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-28 18:28:21 +01:00
antd-web-apps/info/views/default/user/index.ls

36 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-01-05 20:12:35 +01:00
<div class="header_container">
2021-04-21 18:16:05 +02:00
<?lua if data.photo and data.photo ~= "" and data.user ~= "mrsang" then ?>
2021-01-05 20:12:35 +01:00
<img src="/<?=data.user?>/user/photo"></img>
<?lua end ?>
<h1>
<span class="name"><?=data.fullname?></span>
<span class="cv">Curriculum Vitae</span>
</h1>
<p class="coordination">
<span class="fa fa-home"></span><?=data.address?></p>
<p class="coordination">
<span class="fa fa-phone"></span>
<span class="text"><?=data.Phone?></span>
<span class="fa fa-envelope-o"></span>
<span class="text"><?=data.email?></span>
<br/>
<span class="fa fa-globe"></span>
<span class="text"><a href ="<?=data.url?>"><?=data.url?></a></span>
<?lua
if not preview then
?>
<span class="fa fa-file-pdf-o"></span>
<span class="text"><a href ="<?=HTTP_ROOT?>/<?=data.user?>/index/pdf" target="_blank">Download</a></span>
<?lua
end
?>
</p>
<p class="shortbio">
<span class="fa fa-quote-left"></span>
<span><?=data.shortbiblio?></span>
<span class="fa fa-quote-right"></span>
</p>
2021-02-26 19:10:06 +01:00
</div>
2021-04-04 20:13:50 +02:00
<?lua if not HEADER.mobile and data.user == "mrsang" then ?>
2021-04-21 18:16:05 +02:00
<!--iframe width="770" height="330" src="https://mars.nasa.gov/layout/embed/send-your-name/future/certificate/?cn=792789419260" frameborder="0"></iframe-->
2021-02-26 19:10:06 +01:00
<?lua end ?>