sftpgo-mirror/templates/webclient/viewpdf.html

15 lines
404 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{.Title}}</title>
</head>
<body>
<script src="{{.StaticURL}}/vendor/pdfobject/pdfobject.min.js"></script>
<script type="text/javascript">
PDFObject.embed("{{.URL}}", document.body);
</script>
</body>
</html>