-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·172 lines (148 loc) · 12.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>Demo HAL</title>
<link rel="icon" type="image/x-icon" href="data/images/favicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="data/images/favicon.ico"/>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<!--
<link rel="stylesheet" href="bower_components/bootstrap-multiselect/dist/css/bootstrap-multiselect.css" type="text/css"/>-->
<link rel="stylesheet" href="bower_components/components-font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="bower_components/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css"/>
<link rel="stylesheet" href="bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css">
<link rel="stylesheet" href="css/anhalytics.css"/>
<link rel="stylesheet" href="css/annotations.css"/>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="bower_components/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- <script type="text/javascript" src="bower_components/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script>-->
<script type="text/javascript" src="lib/linkify/1.0/jquery.linkify-1.0-min.js"></script>
<script type="text/javascript" src="bower_components/d3/d3.min.js "></script>
<script type="text/javascript" src="bower_components/d3-cloud/build/d3.layout.cloud.js "></script>
<script type="text/javascript" src="bower_components/protovis/protovis-r3.2.js"></script>
<script type="text/javascript" src="lib/Porter-Stemmer/stemmer.js"></script>
<!-- for nicer rendering of wikipedia abstracts -->
<script type="text/javascript" src="lib/wiki/wiki2html.js"></script>
<link href="lib/wiki/wiky.css" rel="stylesheet" type="text/css"/>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]},
TeX: {
extensions: ["mediawiki-texvc.js"]
}
});
</script>
<script type="text/javascript" src="bower_components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="js/resource/config.js"></script>
<script type="text/javascript" src="js/utilities.js"></script>
<script type="text/javascript" src="js/elasticsearchquery.js"></script>
<script type="text/javascript" src="js/parsers.js"></script>
<script type="text/javascript" src="js/recordBuild.js"></script>
<script type="text/javascript" src="js/extension.js"></script>
<script type="text/javascript" src="js/modals.js"></script>
<script type="text/javascript" src="data/units.json"></script>
<script type="text/javascript" src="js/quantities.js"></script>
<!--script type="text/javascript" src="js/disambiguation.js"></script-->
<script type="text/javascript">
var options = $.extend(defaults, {
aggs: [
{'field': '$teiCorpus.$teiHeader.$fileDesc.$sourceDesc.$biblStruct.$monogr.$imprint.$date.$type_published', 'display': 'publication_date', 'type': 'date', 'view': 'graphic'},
{'field': '$teiCorpus.$teiHeader.$profileDesc.$textClass.$classCode.$scheme_domain_abbrev', 'display': 'subject-domains', 'size': 20, 'type': 'taxonomy', 'view': 'graphic'},
{'field': '$teiCorpus.$teiHeader.$profileDesc.$textClass.$keywords.$type_author.$term.notAnalyzed', 'display': 'keywords', 'size': 10, 'type': 'cloud', 'view': 'graphic'},
{'field': '$teiCorpus.$teiHeader.$profileDesc.$langUsage.$language', 'display': 'language', 'size': 6, 'type': 'country', 'view': 'graphic'},
{'field': '$teiCorpus.$teiHeader.$fileDesc.$sourceDesc.$biblStruct.$analytic.$author.$affiliation.$org.$desc.$address.key', 'display': 'country', 'size': 6, 'type': 'country', 'view': 'graphic'},
{'field': '$teiCorpus.$teiHeader.$fileDesc.$sourceDesc.$biblStruct.$analytic.$author.$affiliation.$org.$orgName', 'display': 'Organisation', 'size': 6, 'type': 'entity', 'view': 'textual'},
{'field': '$teiCorpus.$teiHeader.$fileDesc.$sourceDesc.$biblStruct.$analytic.$author.$persName.$fullName.notAnalyzed', 'display': 'Author', 'size': 10, 'type': 'entity', 'view': 'textual'},
{'field': '$teiCorpus.$standoff.$category.category', 'display': 'wikipedia_categories', 'size': 10, 'type': 'entity', 'view': 'textual'},
{'field': '$teiCorpus.$standoff.$keyterm.preferredTerm', 'display': 'keyterms', 'size': 10, 'type': 'entity', 'view': 'textual'},
{'field': '$teiCorpus.$teiHeader.$profileDesc.$textClass.$classCode.$scheme_typology', 'display': 'document_types', 'size': 20, 'type': 'class', 'view': 'graphic'},
]
});
var doc_types = {"COMM": "Conference papers", "ART": "Journal articles", "POSTER": "Poster communications", "OUV": "Books", "COUV": "Book section", "DOUV": "Directions of work or proceedings", "REPORT": "Reports", "THESE": "Theses", "HDR": "Accreditation to supervise research", "LECTURE": "Lectures", "UNDEFINED": "Preprints, Working Papers", "OTHER": "Other publications"};
</script>
<script type="text/javascript" src="search/hal.facetview.js"></script>
<script type="text/javascript" src="js/nerd.js"></script>
<script type="text/javascript" src="js/annotations.js"></script>
<script type="text/javascript">
$(function () {
});
$(function () {
$('#facet-view-simple').facetview(options, record_metadata);
// set up form
$('.demo-form').submit(function (e) {
e.preventDefault();
var $form = $(e.target);
var _data = {};
$.each($form.serializeArray(), function (idx, item) {
_data[item.name] = item.value;
});
$('.facet-view-here').facetview(_data);
});
});
</script>
</head>
<body>
<header>
<div class="header-container">
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="index.html?mode_query=simple"><img src="data/images/LogoAnhalitycs.png" style="padding-left:5px;padding-top:17px;width:1000px;"></a></div>
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="https://www.inria.fr" target="_blank"><img src="data/images/logo_INRIA_fr.png" style="padding-left:40px;padding-top:10px;width:190px;"></a></div>
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="https://hal.archives-ouvertes.fr/" target="_blank"><img src="data/images/hal.logo.png" style="padding-left:40px;padding-top:12px;width:135px;"></a></div>
<div class="col-md-2 col-sm-3 col-xs-3 no-padding"><a href="http://www.istex.fr/" target="_blank"><img src="data/images/logo-istex.png" style="padding-left:0px;padding-top:22px;width:120px;"/></a></div>
<div class="col-lg-4 col-md-5 col-sm-5 col-xs-4 no-padding"></div>
<div class="col-lg-4 col-md-4 col-sm-3 col-xs-4 pull-right no-padding">
<small><span style="padding-left:40px;color:#AE0C0C;position:relative; float:right;">
<!--a href="">Documentation</a>
<a href="index.html?mode_query=simple">simple</a>
<a href="dashboard.html">dashboard</a-->
</span></small>
</div>
</div>
</header>
<div class="content-container container">
<div id="facet-view-simple">
<div id="facetview">
<div class="row">
<div class="col-md-3 ">
<div id="facetview_filters"></div>
</div>
<div class="col-md-9" id="facetview_rightcol" style="position:relative;" >
<!--div class="row" id="facetview_presentation" style="margin-bottom: 150px;"></div-->
<div id="facetview_searchbars">
<!--div id="facetview_searchbar1" style="width:900px" class="row input-group clonedDiv">
<div class="btn-group">
<button id="selected-tei-field1" class=" btn btn-default dropdown-toggle" style="width:80px" data-toggle="dropdown" >all fields <span class="caret"></span></button><ul class="dropdown-menu tei-fields"><li><a href="#">all fields</a></li><li><a href="#">author</a></li><li><a href="#">title</a></li><li><a href="#">abstract</a></li><li><a href="#">keyword</a></li></ul>
</div>
<div class="btn-group">
<button id="selected-lang-field1" class=" selected-lang-field btn btn-default dropdown-toggle" style="width:75px" data-toggle="dropdown">all lang <span class="caret"></span></button><ul class="dropdown-menu lang-fields"><li><a href="#">all lang</a></li><li><a href="#">en</a></li><li><a href="#">fr</a></li><li><a href="#">de</a></li></ul>
</div>
<div class="btn-group"> <button id="selected-bool-field1" class="selected-bool-field btn btn-default dropdown-toggle" style="width:80px" data-toggle="dropdown">must <span class="caret"></span></button><ul class="dropdown-menu bool-fields"><li><a href="#">should</a></li><li><a href="#">must</a></li><li><a href="#">must_not</a></li></ul>
</div>
<div style="min-width: 300px;" class="btn-group">
<input type="text" class="form-control" id="facetview_freetext1" name="q" value="" aria-describedby="sizing-addon1" placeholder="search term" autofocus />
</div>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-cog"></span><span class="caret"></span></button><ul class="dropdown-menu"><li><a id="facetview_partial_match" href="">partial match</a></li><li><a id="facetview_exact_match" href="">exact match</a></li><li><a id="facetview_fuzzy_match" href="">fuzzy match</a></li><li><a id="facetview_match_all" href="">match all</a></li><li><a id="facetview_match_any" href="">match any</a></li><li><a href="#">clear all</a></li><li class="divider"></li><li><a target="_blank" href="http://lucene.apache.org/java/2_9_1/queryparsersyntax.html">query syntax doc.</a></li><li class="divider"></li><li><a id="facetview_howmany" href="#">results per page ({{HOW_MANY}})</a></li></ul>
<button type="button" id="disambiguate1" class="btn btn-default" disabled="true">Disambiguate</button>
<button class="btn btn-default" id="facetview_fieldbuttons" href="" type="button"><i class="glyphicon glyphicon-plus"></i></button>
</div>
<div class="btn-group" style="margin-left:10px;"><a id="close-searchbar1" style="display:none; color:black;" onclick='$("#facetview_searchbar1").remove()'><span class="glyphicon glyphicon-remove"></span></a></div>
</div-->
</div>
<div style="clear:both;margin-left:-20px;" id="facetview_selectedfilters"></div>
<div class="row" id="results_summary"></div>
<div class="row well" id="quantities_panel" style="background-color:#F7EDDC;display:none;"></div>
<div class="row" id="disambiguation_panel"></div>
<table class="row table" style="margin-bottom:0px; border-radius:25px;-moz-border-radius:25px;" id="facetview_results"></table>
<div class="row table" id="facetview_metadata"></div>
</div>
</div>
<!--div class="note">Our corpus currently includes only HAL-inria papers.</div-->
</div>
</div>
</div>
<footer>
<p class="small text-muted">© The contributors - 2017 </p>
</footer>
</body>
</html>