-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.html
106 lines (92 loc) · 4.21 KB
/
base.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- imports -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- selectpicker -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
<!-- Loading static -->
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles.css') }}">
<title>Europeana Search</title>
</head>
<body>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
{{message}}
</div>
{% endfor %}
{% endif %}
{% endwith %}
<header>
<div class="container">
<div class="jumbotron conrainer">
<br />
<script>
window.onload = function() {
var a = document.getElementById("homeLink");
a.onclick = function() {
if ( "{{ dir }}" != "" ) {
$.ajax({
type: 'POST',
url: '/cleaning/{{ dir }}'
});
}};}
</script>
<a class="cust" href="/" id="homeLink"><h1>Europeana Search API</h1></a>
<br />
<br />
<hr class="my-4">
<br />
<h4 align="center">
Europeana Search API est une application web simple permettant de constituer des corpus <br />à partir des collections disponibles sur <a href="https://www.europeana.eu/portal/fr">le portail d'Europeana</a>.
<br /><b>Cette application utilise sur l'<a href="https://pro.europeana.eu/resources/apis">API d'Europeana</a> et nécessite une clé publique.</b>
</h4>
<div id="tuto">
<br />
<br />
<h3>Clé publique :</h3>
<ul>
<li><h4>Une clé publique est nécessaire pour vous authentifier auprès d'Europeana.</li>
<li><h4>Pour récupérer une clé, rendez-vous sur <a href="https://pro.europeana.eu/get-api">cette page</a>.</h4></li>
</ul>
<br />
<h3>Conseils d'utilisation :</h3>
<ul>
<li><h4>Entrez un mot clés,</h4></li>
<li><h4>Choisissez une période limite pour filtrer les résulats,</h4></li>
<li><h4>Pour une recherche plus précise : compléter les champs "auteur", "date de création", "provider" ou<br>
encore le "type" de document</h4></li>
</ul>
</div>
</div>
</div>
</header>
{% block content %} {% endblock %}
<script type="text/javascript" src="{{ url_for('static', filename='main.js') }}"></script>
</body>
<footer>
<div class="container">
<div class="jumbotron">
<h4>Credits</h4>
<hr class="my-4">
<br />
<h4>
Aidez-nous sur <a href=" https://github.com/Humanistica/ArtDesignDH">Github</a>
<br />
Version : alpha
</p>
</div>
</div>
</footer>
</html>