Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3318 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 Lichens Go!" />
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 Lichens Go!" />
22
		<meta property="og:site_name" content="Tela Botanica" />
23
		<meta property="og:description" content="Widgets de saisie du Carnet en Ligne pour Lichens Go!" />
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 Lichens Go! -->
41
		<link href="<?php echo $url_base; ?>css/lg.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/UtilsLg.js"></script>
69
		<!-- chargement des formulaires -->
70
		<script type="text/javascript" src="<?php echo $url_base; ?>js/WidgetLg.js"></script>
71
		<script type="text/javascript">
72
		//<![CDATA[
73
		$( document ).ready( function() {
74
			releve = null;
75
			widget = new WidgetLg();
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/ReleveLg.js"></script>
82
		<script type="text/javascript" src="<?php echo $url_base; ?>js/LichensLg.js"></script>
83
	</head>
84
 
85
	<body id="top" data-sq="<?php echo $url_base; ?>" data-obs-list="<?php echo $url_ws_obs_list; ?>" data-lang="<?php echo $langue; ?>">
86
		<?php
87
			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>': '';
88
		?>
89
		<div id="zone-appli" class="container" data-projet="<?php echo $widget['projet']; ?>" data-url-fichiers="<?php echo $widget['chemin_fichiers']; ?>">
90
			<div class="layout-wrapper page">
91
				<div class="row mb-3">
92
					<div class="col-md-2 col-sm-10">
93
						<img id="logo" class="mr-3" src="<?php echo htmlspecialchars( $widget['chemin_fichiers'] . 'logo.png' ); ?>" alt="logo <?php echo $widget['projet']; ?>" />
94
					</div>
95
					<div class="col-md-10 col-sm-12">
96
						<h1 id="titre-projet" class="mt-0"><?php echo $general['titre-page'];?></h1>
97
					</div>
98
				</div>
99
 
100
				<div class="row mb-3">
101
					<div class="col-md-6">
102
						<div id="description"><?php echo $widget['description']; ?></div>
103
					</div>
104
					<div class="col-md-6">
105
						<div id="aide" class="well well-lg hidden-sm-down">
106
							<h3><?php echo $aide['titre']; ?></h3>
107
							<div id="aide-txt" class="hiden-sm-down">
108
								<p><?php echo $aide['description']; ?></p>
109
							</div>
110
						</div>
111
					</div>
112
				</div>
113
 
114
<!-- zone observateur -->
115
				<div id="formulaire" class="row mb-3">
116
					<form id="form-observateur" role="form" autocomplete="on">
117
						<h2 class="mb-3"><?php echo $observateur['titre']; ?></h2>
118
						<div id="tb-observateur" class="row">
119
 
120
							<div class="control-group col-md-6 col-sm-8 mb-3">
121
								<div id="bloc-connexion">
122
									<h3><?php echo $observateur['compte']; ?></h3>
123
									<label for="courriel" class="col-sm-8 obligatoire">
124
										<i class="fa fa-envelope" aria-hidden="true"></i>
125
										<?php echo $observateur['courriel']; ?>
126
									</label>
127
									<div class="col-sm-8 mb-3">
128
										<input id="courriel" name="courriel" class="form-control has-tooltip" data-toggle="tooltip" type="email" title="<?php echo $observateur['courriel-title']; ?> ">
129
									</div>
130
 
131
									<label for="mdp" class="col-sm-8 obligatoire">
132
										<i class="fas fa-user-lock"></i>
133
										<?php echo $observateur['mdp']; ?>
134
									</label>
135
									<div class="col-sm-8 mb-3">
136
										<input id="mdp" name="mdp" class="form-control has-tooltip" data-toggle="tooltip" type="password" title="<?php echo $observateur['mdp-title']; ?> ">
137
									</div>
138
 
139
									<div id="boutons-connexion" class="col-sm-8 ml-3">
140
										<a id="inscription" href="" class="mb-1" taget="_blank"><?php echo $observateur['inscription']; ?></a>
141
										<a id="oublie" href="" class="float-right pr-3 mb-1" taget="_blank"><?php echo $observateur['oublie']; ?></a>
142
										<div class="mt-3">
143
											<a id="connexion" href="" class="float-right mr-3 btn btn-success" taget="_blank"><?php echo $observateur['connexion']; ?></a>
144
										</div>
145
									</div>
146
								</div>
147
								<div id="utilisateur-connecte" class="volet hidden">
148
									<label for="utilisateur-connecte"><?php echo $observateur['bienvenue']; ?></label>
149
									<a href="" class="list-tool btn btn-large btn-info volet-toggle" data-toggle="volet">
150
										<span id="nom-complet"></span> <!-- <i class="fas fa-caret-down"></i> -->
151
									</a>
152
									<div class="volet-menu hidden">
153
										<div id="profil-utilisateur">
154
											<a href="" taget="_blank"><?php echo $observateur['profil']; ?></a>
155
										</div>
156
										<div id="deconnexion"><a href=""><?php echo $observateur['deconnexion']; ?></a></div>
157
									</div>
158
								</div>
159
								<p id="nb-releves-bienvenue" class="hidden">
160
									<?php echo $observateur['releves-deb'];?>
161
									<span class="font-weight-bold nb-releves">0</span>
162
									<?php echo $observateur['releves-fin'];?>
163
								</p>
164
							</div>
165
							<div id="releves-utilisateur" class="col-md-6 col-sm-8 mt-3">
166
								<div id="bouton-list-releves" class="mb-3 btn btn-info hidden">
167
									<i class="fas fa-history"></i>&nbsp;<?php echo $observateur['reprendre-releve']; ?>
168
								</div>
169
								<div class="table-responsive mb-3">
170
									<table id="table-releves" class="table table-hover hidden">
171
										<tbody id="list-releves" class="border-0">
172
										</tbody>
173
									</table>
174
								</div>
175
								<div id="bouton-nouveau-releve" class="mb-3 btn btn-info hidden">
176
									<i class="far fa-plus-square"></i>&nbsp;<?php echo $observateur['creer-releve']; ?>
177
								</div>
178
							</div>
179
						</div>
180
					</form><!-- fin zone observateur -->
181
 
182
<!-- Messages d'erreur du formulaire observateur -->
183
					<div class="zone-alerte">
184
						<div id="dialogue-utilisateur-non-identifie" class="alert alert-warning alert-block hidden">
185
							<a class="close">×</a>
186
							<h4 class="alert-heading"><?php echo $observateur['alertni-title']; ?></h4>
187
							<p><?php echo $observateur['alertni']; ?></p>
188
						</div>
189
					</div>
190
<!-- zone relevé -->
191
 
192
					<!-- zone chargement arbres lichens -->
193
					<div id="charger-form" data-mode="<?php echo $conf_mode; ?>" data-load="arbres"></div>
194
					<!-- fin zone chargement formulaire -->
195
 
196
				</div><!-- fin formulaire -->
197
 
198
			</div><!-- fin Layout-wrapper page -->
199
		</div><!-- fin zone-appli -->
200
 
201
		<div id="help-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="help-modal-label" style="display: none;" aria-hidden="true">
202
			<div class="modal-dialog modal-dialog-centered" role="document">
203
				<div class="modal-content">
204
					<div class="modal-header">
205
						<h5 class="modal-title" id="help-modal-label"></h5>
206
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
207
							<span aria-hidden="true">&times;</span>
208
						</button>
209
					</div>
210
					<div class="modal-body" id="print_content"></div>
211
					<div class="modal-footer">
212
						<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
213
					</div>
214
				</div>
215
			</div>
216
		</div>
217
		<input id="id_utilisateur" name="id_utilisateur" type="hidden">
218
		<input id="prenom" name="prenom" type="hidden">
219
		<input id="nom" name="nom" type="hidden">
220
		<input id="lg-obs" type="hidden" value="">
221
		<input id="releve-data" type="hidden" value="">
222
		<input id="dates-rues-communes" type="hidden" value="">
223
		<input id="img-releve-data" type="hidden" value="">
224
	</body>
225
</html>