source: gs3-extensions/tabletop-dl/trunk/tabletop.html@ 37465

Last change on this file since 37465 was 37465, checked in by davidb, 14 months ago

Refactored filenames; removed comment out HTML syntax

File size: 2.4 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no">
6
7 <title>Greenstone Tabletop DL</title>
8
9 <script src="https://code.jquery.com/jquery-3.6.4.js" integrity="sha256-a9jBBRygX1Bh5lt8GZjXDzyOB+bWve9EiO7tROUtj/E=" crossorigin="anonymous"></script>
10
11
12 <!-- Import as bundled (All-in-one): -->
13 <!-- <script src="dist/winbox.bundle.min.js"></script> -->
14
15 <!-- Or import JS + CSS separately: -->
16 <!--
17 <link rel="stylesheet" href="winbox-dist/css/winbox.min.css">
18 <script src="winbox-dist/js/winbox.min.js"></script>
19 -->
20
21 <script src="interactjs-dist/interact.min.js"></script>
22 <script src="tabletop-interact.js"></script>
23
24
25 <link rel="stylesheet" href="tabletop.css">
26
27</head>
28
29<!--
30 To create a div that fills to the remaining available height see Approach 1 of:
31 https://www.w3docs.com/snippets/html/how-to-make-a-div-fill-the-height-of-the-remaining-space.html
32 -->
33
34 <body>
35
36 <div class="box">
37 <div id="gs-header" class="row header" style="display: none;">
38 <div style="padding-top: 0.6em;">Greenstone Tabletop Digital Library</div>
39 </div>
40 <div class="row content" style="margin: 0.5em;">
41
42 <div style="position: relative; width: 100%; height: 100%;">
43
44 <div id="gs-open-home" class="button"
45 style="position: absolute; left: 10px; bottom: 10px; background-color: #004000"
46 onclick="gsToggleHeader()">Open DL Home</div>
47
48
49 <div id="gesture-area" style="position: absolute; left: 700px; top: 30px; width: 576px; height: 384px;">
50 <img src="backgrounds/unsplash--matrix-like-binary.jpg"
51 style="width: 576px; height: 384px"
52 id="scale-element" />
53 </div>
54
55 <div id="info-window-id" class="info-window resize-drag">
56 <p> You can drag one element </p>
57 <p>Goto <a href="https://greenstone.org/">Greenstone3 Project Home Page</a></p>
58 <p>
59 <form>
60 <input type="text" />
61 </form>
62 </p>
63 </div>
64
65 </div>
66
67 </div>
68 <div class="row footer" style="display:none;">
69 <p>footer (fixed height)</p>
70 </div>
71 </div>
72
73
74 </body>
75 <script>
76 function gsToggleHeader()
77 {
78 $('#gs-header').slideToggle();
79 }
80 </script>
81</html>
Note: See TracBrowser for help on using the repository browser.