mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 06:09:50 +02:00
allow download pdf file
This commit is contained in:
@ -4,10 +4,24 @@
|
||||
<script type="text/javascript" src="<?=HTTP_ROOT?>/rst/gscripts/showdown.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/rst/font-awesome.css" />
|
||||
<?lua
|
||||
if not toc then
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/rst/ubuntu-regular.css" />
|
||||
<?lua
|
||||
end
|
||||
?>
|
||||
<title>Porfolio</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layout">
|
||||
<?lua
|
||||
local classname = "layout"
|
||||
if not toc then
|
||||
classname = "layoutprint"
|
||||
if user then user:set("preview", true) end
|
||||
end
|
||||
?>
|
||||
<div class="<?=classname?>">
|
||||
<div class = "cv-content">
|
||||
<?lua
|
||||
if user then
|
||||
|
@ -11,6 +11,14 @@
|
||||
<span class="text"><?=data.email?></span>
|
||||
<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?>/index/pdf">Download</a></span>
|
||||
<?lua
|
||||
end
|
||||
?>
|
||||
</p>
|
||||
<p class="shortbio">
|
||||
<span class="fa fa-quote-left"></span>
|
||||
|
Reference in New Issue
Block a user