forked from withanage/UBHD-OMPPortal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·70 lines (57 loc) · 2.51 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
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>{{=myconf.take("web.application")}} {{=authors}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic -->
<link href="{{=URL('static','css/fonts.css')}}" rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" media="all"
href="{{=URL('static','css/font-awesome.min.css')}}"/>
<link rel="stylesheet" href="{{=URL('static','css/lens.css')}}"/>
<script src="https://www.ub.uni-heidelberg.de/cdn/jquery/3.2.1/jquery.js"></script>
<!-- MathJax Configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["input/TeX", "input/MathML","output/HTML-CSS"],
extensions: ["MathMenu.js","MathZoom.js", "CHTML-preview.js"],
"HTML-CSS": { linebreaks: { automatic: true }, EqnChunk: 9999 },
SVG: { linebreaks: { automatic: true }, EqnChunk: 9999 },
TeX: {
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
},
"displayAlign": "left",
styles: {".MathJax_Display": {padding: "0em 0em 0em 3em" },".MathJax_SVG_Display": {padding: "0em 0em 0em 3em" },}
});
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=MML_HTMLorMML-full"></script>
<!--script type="text/javascript" src="{{=URL('static','js/MathJax.js')}}"/-->
<script type="text/javascript">
let locales = {
'Author': 'Author',
'Back': 'Back',
'Contents': 'Contents',
'CopyRightAndLicenses': 'Copyright & License',
'Figures': 'Figures',
'Focus': 'Focus',
'Reference': '',
'References': 'Footnotes',
};
var qs = {};
qs.url = [window.location.origin,'{{=myconf.take("web.application")}}',
'reader','download',
'{{=request.args[0]}}','{{=request.args[1]}}'].join('/');
var documentURL = "data/example.xml";
$(function() {
var app = new window.Lens({
document_url: qs.url ? decodeURIComponent(qs.url) : documentURL
});
app.start();
window.app = app;
});
</script>
<script src="{{=URL('static','js/lens2.js')}}"></script>
</head>
<body class="loading" data-submission-id="{{=request.args[0]}}">
</body>
</html>