mirror of
https://github.com/NotXia/unibo-ai-notes.git
synced 2025-12-16 03:21:48 +01:00
Add web viewer workflow
This commit is contained in:
23
.github/web-viewer/view.html
vendored
Normal file
23
.github/web-viewer/view.html
vendored
Normal 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>
|
||||
Reference in New Issue
Block a user