Subversion Repositories eFlore/Applications.cel

Rev

Rev 3312 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3312 idir 1
<!DOCTYPE html>
2
<html xmlns="https://www.w3.org/1999/xhtml">
3
	<head>
4
		<title><?php echo $widget['titre']; ?></title>
5
 
6
		<meta charset="utf-8" />
7
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
		<meta http-equiv="Content-style-type" content="text/css" />
9
		<meta http-equiv="Content-script-type" content="text/javascript" />
10
		<meta http-equiv="Content-language" content="fr" />
11
 
12
		<meta name="revisit-after" content="15 days" />
13
		<meta name="robots" content="index,follow" />
14
		<meta name="author" content="Tela Botanica" />
15
		<meta name="keywords" content="Tela Botanica, CEL" />
16
		<meta name="description" content="Widgets de saisie du carnet en ligne pour APA" />
17
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />
18
 
19
		<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
20
		<meta property="og:type" content="website" />
21
		<meta property="og:title" content="Widgets de saisie du CeL pour APA" />
22
		<meta property="og:site_name" content="Tela Botanica" />
23
		<meta property="og:description" content="Widgets de saisie du Carnet en Ligne pour APA" />
24
		<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
25
		<meta property="og:image:type" content="image/png" />
26
		<meta property="og:image:width" content="256" />
27
		<meta property="og:image:height" content="256" />
28
		<meta property="og:locale" content="fr_FR" />
29
 
30
		<!-- Favicone -->
31
		<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
32
		<!-- Jquery-ui custom css-->
33
		<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
34
		<!-- Bootstrap CSS -->
35
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
36
		<!-- Fontawesome -->
37
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
38
		<!-- Carto -->
39
		<link href="<?php echo $url_base; ?>js/tb-geoloc/styles.css" rel="stylesheet" type="text/css" media="screen" />
40
		<!-- STYLE APA -->
41
		<link href="<?php echo $url_base; ?>css/apa.css" rel="stylesheet" type="text/css" media="screen" />
42
 
43
		<!--  Google Analytics -->
44
		<?php if( $prod ): ?>
45
			<?php include "analytics.html"; ?>
46
		<?php endif; ?>
47
		<!-- <link rel="icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" /> -->
48
		<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
49
		<!-- carto -->
50
		<script type="text/javascript" src="<?php echo $url_base; ?>js/tb-geoloc/tb-geoloc-lib-app.js"></script>
51
 
52
		<!-- Jquery -->
53
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
54
 
55
		<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
56
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
57
		<!-- <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/datepicker-fr.js"></script> -->
58
		<!-- Jquery Plugins -->
59
		<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
60
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
61
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
62
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
63
		<!-- Jquery Form :nécessaire pour l'upload des images -->
64
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
65
		<!-- Bootstrap -->
66
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
67
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
68
		<script type="text/javascript" src="<?php echo $url_base; ?>js/UtilsApa.js"></script>
69
		<!-- chargement des formulaires -->
70
		<script type="text/javascript" src="<?php echo $url_base; ?>js/WidgetApa.js"></script>
71
		<script type="text/javascript">
72
		//<![CDATA[
73
		$( document ).ready( function() {
74
			releve = null;
75
			widget = new WidgetApa();
76
			widget.mode = "<?php echo $conf_mode; ?>";
77
			widget.init();
78
		});
79
		//]]>
80
		</script>
81
		<script type="text/javascript" src="<?php echo $url_base; ?>js/ReleveApa.js"></script>
82
		<script type="text/javascript" src="<?php echo $url_base; ?>js/PlantesApa.js"></script>
83
		<script type="text/javascript" src="<?php echo $url_base; ?>js/LichensApa.js"></script>
84
	</head>
85
 
86
	<body id="top" data-sq="<?php echo $url_base; ?>" data-obs-list="<?php echo $url_ws_obs_list; ?>" data-lang="<?php echo $langue; ?>">
87
		<?php
88
			echo ( $widget['image_fond'] ) ? '<div id="image-fond" style="' . htmlspecialchars( 'background:url("' . $widget['chemin_fichiers'] . 'image_fond.' . preg_replace( '/(?:imag)?e\/?/','',$widget['image_fond']) . '") no-repeat center center;background-size:cover') . '"></div>': '';
89
		?>
90
		<div id="zone-appli" class="container" data-projet="<?php echo $widget['projet']; ?>" data-url-fichiers="<?php echo $widget['chemin_fichiers']; ?>">
91
			<div class="layout-wrapper page">
92
				<div class="row mb-3">
93
					<div class="col-md-2 col-sm-10">
94
						<img id="logo" class="mr-3" src="<?php echo htmlspecialchars( $widget['chemin_fichiers'] . 'logo.png' ); ?>" alt="logo <?php echo $widget['projet']; ?>" />
95
					</div>
96
					<div class="col-md-10 col-sm-12">
97
						<h1 id="titre-projet" class="mt-0"><?php echo $general['titre-page'];?></h1>
98
					</div>
99
				</div>
100
 
101
				<div class="row mb-3">
102
					<div class="col-md-6">
103
						<div id="description"><?php echo $widget['description']; ?></div>
104
					</div>
105
					<div class="col-md-6">
106
						<div id="aide" class="well well-lg hidden-sm-down">
107
							<h3><?php echo $aide['titre']; ?></h3>
108
							<div id="aide-txt" class="hiden-sm-down">
109
								<p><?php echo $aide['description']; ?></p>
110
							</div>
111
						</div>
112
					</div>
113
				</div>
114
 
115
<!-- zone observateur -->
116
				<div id="formulaire" class="row mb-3">
117
					<form id="form-observateur" role="form" autocomplete="on">
118
						<h2 class="mb-3"><?php echo $observateur['titre']; ?></h2>
119
						<div id="tb-observateur" class="row">
120
 
121
							<div class="control-group col-md-6 col-sm-8 mb-3">
122
								<div id="bloc-connexion">
123
									<h3><?php echo $observateur['compte']; ?></h3>
124
									<label for="courriel" class="col-sm-8 obligatoire">
125
										<i class="fa fa-envelope" aria-hidden="true"></i>
126
										<?php echo $observateur['courriel']; ?>
127
									</label>
128
									<div class="col-sm-8 mb-3">
129
										<input id="courriel" name="courriel" class="form-control has-tooltip" data-toggle="tooltip" type="email" title="<?php echo $observateur['courriel-title']; ?> ">
130
									</div>
131
 
132
									<label for="mdp" class="col-sm-8 obligatoire">
133
										<i class="fas fa-user-lock"></i>
134
										<?php echo $observateur['mdp']; ?>
135
									</label>
136
									<div class="col-sm-8 mb-3">
137
										<input id="mdp" name="mdp" class="form-control has-tooltip" data-toggle="tooltip" type="password" title="<?php echo $observateur['mdp-title']; ?> ">
138
									</div>
139
 
140
									<div id="boutons-connexion" class="col-sm-8 ml-3">
141
										<a id="inscription" href="" class="mb-1" taget="_blank"><?php echo $observateur['inscription']; ?></a>
142
										<a id="oublie" href="" class="float-right pr-3 mb-1" taget="_blank"><?php echo $observateur['oublie']; ?></a>
143
										<div class="mt-3">
144
											<a id="connexion" href="" class="float-right mr-3 btn btn-success" taget="_blank"><?php echo $observateur['connexion']; ?></a>
145
										</div>
146
									</div>
147
								</div>
148
								<div id="utilisateur-connecte" class="volet hidden">
149
									<label for="utilisateur-connecte"><?php echo $observateur['bienvenue']; ?></label>
150
									<a href="" class="list-tool btn btn-large btn-info volet-toggle" data-toggle="volet">
151
										<span id="nom-complet"></span> <!-- <i class="fas fa-caret-down"></i> -->
152
									</a>
153
									<div class="volet-menu hidden">
154
										<div id="profil-utilisateur">
155
											<a href="" taget="_blank"><?php echo $observateur['profil']; ?></a>
156
										</div>
157
										<div id="deconnexion"><a href=""><?php echo $observateur['deconnexion']; ?></a></div>
158
									</div>
159
								</div>
160
								<p id="nb-releves-bienvenue" class="hidden">
161
									<?php echo $observateur['releves-deb'];?>
162
									<span class="font-weight-bold nb-releves">0</span>
163
									<?php echo $observateur['releves-fin'];?>
164
								</p>
165
							</div>
166
							<div id="releves-utilisateur" class="col-md-6 col-sm-8 mt-3">
167
								<div id="bouton-list-releves" class="mb-3 btn btn-info hidden">
168
									<i class="fas fa-history"></i>&nbsp;<?php echo $observateur['reprendre-releve']; ?>
169
								</div>
170
								<div class="table-responsive mb-3">
171
									<table id="table-releves" class="table table-hover hidden">
172
										<tbody id="list-releves" class="border-0">
173
										</tbody>
174
									</table>
175
								</div>
176
								<div id="bouton-nouveau-releve" class="mb-3 btn btn-info hidden">
177
									<i class="far fa-plus-square"></i>&nbsp;<?php echo $observateur['creer-releve']; ?>
178
								</div>
179
							</div>
180
						</div>
181
					</form><!-- fin zone observateur -->
182
 
183
<!-- Messages d'erreur du formulaire observateur -->
184
					<div class="zone-alerte">
185
						<div id="dialogue-utilisateur-non-identifie" class="alert alert-warning alert-block hidden">
186
							<a class="close">×</a>
187
							<h4 class="alert-heading"><?php echo $observateur['alertni-title']; ?></h4>
188
							<p><?php echo $observateur['alertni']; ?></p>
189
						</div>
190
					</div>
191
<!-- zone relevé -->
192
 
3313 idir 193
					<!-- zone chargement arbres lichens ou plantes -->
3312 idir 194
					<div id="charger-form" data-mode="<?php echo $conf_mode; ?>" data-load="arbres"></div>
195
					<!-- fin zone chargement formulaire -->
196
 
197
				</div><!-- fin formulaire -->
198
 
199
			</div><!-- fin Layout-wrapper page -->
200
		</div><!-- fin zone-appli -->
201
 
202
		<div id="help-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="help-modal-label" style="display: none;" aria-hidden="true">
203
			<div class="modal-dialog modal-dialog-centered" role="document">
204
				<div class="modal-content">
205
					<div class="modal-header">
206
						<h5 class="modal-title" id="help-modal-label"></h5>
207
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
208
							<span aria-hidden="true">&times;</span>
209
						</button>
210
					</div>
211
					<div class="modal-body" id="print_content"></div>
212
					<div class="modal-footer">
213
						<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
214
					</div>
215
				</div>
216
			</div>
217
		</div>
218
		<input id="id_utilisateur" name="id_utilisateur" type="hidden">
219
		<input id="prenom" name="prenom" type="hidden">
220
		<input id="nom" name="nom" type="hidden">
221
		<input id="apa-obs" type="hidden" value="">
222
		<input id="releve-data" type="hidden" value="">
223
		<input id="dates-rues-communes" type="hidden" value="">
224
		<input id="img-releve-data" type="hidden" value="">
225
	</body>
226
</html>