-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
144 lines (133 loc) · 4.8 KB
/
index.html
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Gallery of Glosses</title>
<link rel="stylesheet" href="css/gloss.css">
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<script src="js/auth.js" type="module"></script>
<script src="js/deer.js" type="module"></script>
<script src="js/layout.js" type="module"></script>
<script src="js/shared.js"></script>
<style>
a.button {
margin: 1em 0em;
display: block;
}
.button+.button {
margin-left: 0rem;
}
p {
position: relative;
z-index: 2;
}
.options {
text-align: center;
position: relative;
}
.alert {
border-left: 4px solid #E0CB52;
background: #FCFAEE;
padding-top: 5px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 24px;
}
.secondary {
cursor: not-allowed;
}
</style>
</head>
<body class="container">
<a href="/" class="brand is-vertical-align is-full-width is-center">
<img src="images/gog-logo.png" alt="Gallery of Glosses Logo">
{ data entry }
</a>
<div class="content">
<h3> Add Glosses to the Gallery </h3>
<div class="row">
<a href="./gloss-metadata.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-edit"></i>
<header>
<h4 class="text-white">Create a New Gloss</h4>
</header>
<p>
Propose a single Gloss to the Gallery. You might reference multiple manuscript witnesses to it.
</p>
</a>
<a href="./gloss-transcription.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-search"></i>
<header>
<h4 class="text-white">Detect T‑PEN Transcriptions</h4>
</header>
<p>
Import a T‑PEN transcription project and extract the instances of Glosses.
</p>
</a>
<a href="./gloss-witness.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-file-alt"></i>
<header>
<h4 class="text-white">Detect Glosses in Text</h4>
</header>
<p>
Identify and analyze glosses within textual witnesses.
</p>
</a>
</div>
<h3> Review Existing Glosses and Manuscript Witnesses </h3>
<div class="row">
<a href="./manage-glosses.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-cogs"></i>
<header>
<h4 class="text-white">Manage Glosses</h4>
</header>
<p>
Mark Glosses for review, update, or deletion. Connect them to Manuscript Witnesses.
</p>
</a>
<a href="./glosses.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-project-diagram"></i>
<header>
<h4 class="text-white">Browse Gloss Collection</h4>
</header>
<p>
Explore the Glosses contributed to the Gallery by tag and incipit.
</p>
</a>
<a href="./manuscripts.html" class="card col text-light bg-primary">
<i class="pull-right fa fa-3x fa-book"></i>
<header>
<h4 class="text-white">Browse Manuscripts</h4>
</header>
<p>
Explore manuscripts that contain glosses and their details.
</p>
</a>
</div>
<p class="alert">
This site is for data entry. To view the Gallery of Glosses, visit
<a href="https://galleryofglosses.org">GalleryOfGlosses.org</a>.
</p>
</div>
<gog-footer></gog-footer>
</body>
<script>
function redirectFromLogin(){
// From auth.js since we don't use it here
function b64toUrl(base64str) {
return window.atob(base64str.replace(/-/g, "+").replace(/_/g, "/"))
}
// From auth.js since we don't use it here
const getReferringPage = () => {
try {
return b64toUrl(location.hash.split("state=")[1].split("&")[0])
} catch (err) {
return ""
}
}
const ref = getReferringPage()
if (ref && ref !== location.href) { location.href = ref }
}
redirectFromLogin()
</script>
</html>