Add web viewer workflow

This commit is contained in:
2024-05-30 08:44:30 +02:00
parent c18948b59c
commit 7847605153
4 changed files with 138 additions and 3 deletions

23
.github/web-viewer/view.html vendored Normal file
View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{course-name}}</title>
<style>
html, body {
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body style="height: 100vh; width: 100vw;">
<object data="{{pdf-path}}" type="application/pdf" width="100%" height="100%">
<p>
There has been an error. View the pdf <a href="{{pdf-path}}">here</a>
</p>
</object>
</body>
</html>