aboutsummaryrefslogtreecommitdiff
path: root/index.html
blob: fa1ef21b19ab9353dbeb544033558896f6db1d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>

<!-- 
  index.html
  Part of Pointless Viewer, a Beamer presentation viewer
  Copyright 2018 Pacien TRAN-GIRARD
  License: GNU GPL v3
-->

<html>
  <head>
    <meta charset="utf-8">
    <link rel="icon" href="favicon.ico">
    <link rel="stylesheet" type="text/css" href="pointless/viewer/viewer.css">

    <noscript>
      <style type="text/css">#fileSelect { display: none; }</style>
    </noscript>

    <title>Pointless Viewer</title>
  </head>

  <body>
    <canvas id="screen" class="centered"></canvas>

    <div id="welcomeScreen" class="centered">
      <header>
        <h1>Pointless Viewer</h1>
        <span id="offlineCapable">(available offline)</span>
      </header>

      <div>
        <p>This viewer accepts double-width PDF presentations of the following shape:</p>
        <table>
          <tr>
            <td>SLIDES</td>
            <td>NOTES</td>
          </tr>
        </table>

        <p>
          (L<sup>A</sup>T<sub>E</sub>X-Beamer users may use
          <code>\setbeameroption{show notes on second screen=right}</code>)
        </p>

        <p class="warning">
          <noscript>A web browser with JavaScript support is required to use this application.</noscript>
        </p>

        <div id="fileSelect">
          <p>
            Please select a PDF file to load.
            Slides will be opened in a new window.
          </p>

          <input id="fileInput" type="file" multiple="false"/>
        </div>
      </div>

      <div>
        <ul>
          <li><a href="https://pacien.org">&copy; 2018 Pacien</a></li>
          <li><a href="https://github.com/pacien/pointless-viewer/issues">Bug tracker</a></li>
          <li><a href="https://cgit.pacien.net/public/apps/pointless-viewer/">Source repository</a></li>
          <li><a href="https://mozilla.github.io/pdf.js/">Powered by PDF.js</a></li>
        </ul>
      </div>
    </div>

    <div id="timer" class="notification"></div>
    <div id="message" class="notification"></div>

    <script type="text/javascript" src="pointless/pdfjs/pdf.js"></script>
    <script type="text/javascript" src="pointless/viewer/timer.js"></script>
    <script type="text/javascript" src="pointless/viewer/screen.js"></script>
    <script type="text/javascript" src="pointless/viewer/stage.js"></script>
    <script type="text/javascript" src="pointless/viewer/presentation.js"></script>
    <script type="text/javascript" src="pointless/viewer/viewer.js"></script>
    <script type="text/javascript" src="pointless/viewer/init.js"></script>
  </body>
</html>