-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
123 lines (105 loc) · 4.69 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
<!DOCTYPE html>
<html>
<head>
<title>librAIry Explorer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://www.dropbox.com/s/48zeo61kdrgiggl/librairy-logo655x654.png?raw=1">
<!-- Bootstrap -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
<link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/solrstrap.css" rel="stylesheet" media="screen">
</head>
<body screen_capture_injected="true">
<!--actual visible HTML-->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="http://librairy.linkeddata.es" target="_blank"><img src="https://www.dropbox.com/s/n2cszs9smkypkwg/powered-by-librairy.png?raw=1" width="100" height="60" title="librAIry-explorer" opacity="1.0" alpha="1.0" alt="logo"></a>
<form class="navbar-search" style="float:right">
<div id="search-div">
<input type="text" class="search-query span8" placeholder="*" value="*" onfocus="this.value = this.value;" id="solrstrap-searchbox" name="q">
</div>
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div id="solrstrap-facets" class="span3"></div>
<div id="solrstrap-hits" class="span9"></div>
</div>
</div>
<!--Handlebars layout templates-->
<script type="text/x-handlebars-template" id="hit-template">
<tr>
<td>
<div class="entry">
{{#if link}}
<a href='#' title='{{link}}'>{{title}}</a>
{{{text}}}
{{else}}
{{{title}}}
{{{text}}}
{{/if}}
</div>
</td>
<td>
<div>
{{#if endpoint}}
<a href="{{endpoint}}" target="_blank"><img src="https://www.dropbox.com/s/0vz7goxk5oy2367/paper-documents-sheets-512.png?raw=1" width="120" title="document" alt="book"></a><br>
{{/if}}
</div>
</td>
</tr>
</script>
<!-- summary -->
<script type="text/x-handlebars-template" id="result-summary-template">
<div id="result-summary">
{{totalresults}} results for <strong><i>{{query}}</i></strong>
</div>
</script>
<!-- Facets -->
<script type="text/x-handlebars-template" id="nav-template">
<div class="facet">
<span class="nav-title" data-facetname="{{title}}">{{facet_displayname title}}</span><br>
{{#each navs}}
<!--<a href='#' title='{{@key}} ({{this}})'>{{@key}}</a> ({{@key}})<br/>-->
<a href='#' title='{{this.[0]}} ({{this.[1]}})'>{{this.[0]}}</a> ({{this.[1]}})<br/>
{{/each}}
</div>
</script>
<!-- Filters -->
<script type="text/x-handlebars-template" id="chosen-nav-template">
<div class="chosen-facet">
<span class="nav-title">Filters</span><br>
{{#each this}}
<a class="close" href="#">×</a>
<a href='#' class="selectedNav"
data-filter="{{name}}:{{value}}"
title="{{facet_displayname name}}:{{value}}">{{facet_displayname name}}:{{value}}</a><br>
{{/each}}
</div>
</script>
<!-- suggestions -->
<script type="text/x-handlebars-template" id="chosen-doc-template">
<div class="chosen-doc">
<span class="nav-title">Suggestions</span><br>
{{#each this}}
<a class="close" href="#">×</a>
<a href='#' class="selectedDoc"
data-filter="{{name}}:{{value}}"
title="{{name}}:{{value}}">{{name}}:{{value}}</a><br>
{{/each}}
</div>
</script>
<!--load scripts at the bottom-->
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/1.2.1/jquery-migrate.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.ba-bbq/1.2.1/jquery.ba-bbq.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script>
<script type='text/javascript' src="js/solrstrap.js"></script>
</body>
</html>