-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (67 loc) · 2.83 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
<html>
<head>
<title>Crop data standards</title>
<link href="style.css" media="all" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<!--[if IE]>
<script src="json2.js"></script>
<![endif]-->
<!-- Use latest PDF.js build from Github -->
<script type="text/javascript" src="pdf.js"></script>
<script src="descriptors.js"></script>
<script src="mypdf.js"></script>
<script src="scraper.js"></script>
<script>
$(function() {
//scraperUrl = 'https://script.google.com/macros/s/AKfycbzxciv3O-4tIrS3J3dSlGtd5NRCaxowos__Vsu3j6q2qzX3EO94/exec';
scraperUrl = 'http://127.0.0.1:8001/';
all = 'http://www.bioversityinternational.org/index.php?id=4325';
base = 'http://www.bioversityinternational.org/';
$.getJSON('pdfs.json', function(data) {
pdfs = data;
descriptors.load();
});
// search
$('.search input').keyup(function(e) {
descriptors.load($(this).val());
});
});
</script>
</head>
<body>
<canvas id="the-canvas" style="display: none;border:1px solid black"></canvas>
<div class="container">
<div class="box">
<div style="float: right; text-align: right;">
To make changes to this site, submit a pull-request: <a href="https://github.com/bioversity/descriptors">GitHub</a>
</div>
Download as: <a href="#">JSON-LD</a>, <a href="#">RDF/XML</a>, <a href="#">N-Triples</a>
</div>
<hr class="space">
<hr class="space">
<h1 style="text-align:center;">Crop data standards</h1>
<hr class="space">
<div class="search">Search: <input type="text" /></div>
<br />
<ul class="product-list">
</ul>
<li class="simpleCart_shelfItem descriptor" style="display: none;">
<textarea style="display:none; width: 180px;height: 259px;"></textarea>
<a target="_blank" href="#" class='url'>
<img width="180px" height="256px" style="width:180px;height:256px;" alt="Browse" />
</a>
<a class="item_name itemtitle truncated" href="javascript:;" target="_blank" name="item1">iPhone 3GS</a>
<hr class="space" />
<span class="item_price right parse" style="display: none">
<a href="javascript:;" class="button positive" style="margin:0;">Parse</a>
</span>
<span class="item_add">
<span style="">
<a class="item_addtocart button json" href="javascript:;" style="margin: 0px;">View JSON</a>
</span>
</span>
</li>
<textarea class="dump" style="display: none"></textarea>
</div>
</body>
</html>