This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
forked from ieeta-pt/GeoDropdown.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
63 lines (48 loc) · 2.82 KB
/
demo.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="bower_components/bootstrap-select/dist/css/bootstrap-select.min.css">
<script src="bower_components/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="./custom-elements/geo-dropdown.html">
<style>
.example p{
text-align: center;
color: #001f7f;
}
footer {
text-align: center;
}
</style>
</head>
<body>
<div class="example">
<!-- all identifiers defined (no aggregation) -->
<p>Example1 (no aggregation, reach level adm5):</p> <geo-dropdown id="ex1" continent="ex1_a" country="ex1_b" adm1="ex1_c" adm2="ex1_d" adm3="ex1_e" adm4="ex1_f" adm5="ex1_g" webservice="childrenJSON" answer='[{"continent":"Europe","country":"France","adm1":"Île-de-France","adm2":"Paris","adm3":"Paris","adm4":"Paris","adm5":"Paris 01"}]'></geo-dropdown>
</div>
<div class="example">
<!-- all identifiers by default (aggregation) -->
<p>Example2 (aggregation, reach level adm1):</p> <geo-dropdown url='https://emif-catalogue.eu/geodropdown/geodatabase/' d="ex2" reach="adm1"></geo-dropdown>
</div>
<div class="example">
<!-- all identifiers by default (aggregation) -->
<p>Example3 (no aggregation, reach level adm5, has answer):</p> <geo-dropdown url='https://emif-catalogue.eu/geodropdown/geodatabase/' id="ex3" continent="ex3_a" country = "ex3_b" adm1="ex3_c" adm2="ex3_d" adm3="ex3_e" adm4="ex3_f" adm5="ex3_g" answer='[{"continent":"Europe","country":"France","adm1":"Île-de-France","adm2":"Paris","adm3":"Paris","adm4":"Paris","adm5":"Paris 01"}]'></geo-dropdown>
</div>
<br /><br />
<footer class="footer">
<div class="container">
<div class="row">
<div class="span12">
<a class="footer-logo" href="http://bioinformatics.ua.pt" target="_blank"><img src="img/bioinformatics.png" title="Go to Bioinformatics.ua.pt's Website"></a>
<a class="footer-logo" href="http://www.ieeta.pt" target="_blank"><img src="http://bioinformatics.ua.pt/wp-content/themes/portal/images/logo-ieeta.png" title="Go to IEETA's Website"></a>
<a class="footer-logo" href="http://www.ua.pt" target="_blank"><img src="http://bioinformatics.ua.pt/wp-content/themes/portal/images/logo-ua.png" title="Go to UA's Website"></a>
</div>
</div>
</div>
</footer>
</body>
</html>