Subversion Repositories eFlore/Applications.cel

Rev

Rev 3359 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3359 Rev 3376
Line 1... Line 1...
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
  <head>
3
  <head>
4
	<title>Gestion des widgets de saisie du CeL</title>
4
	<title>Gestion des widgets de saisie du CeL</title>
5
	
5
 
6
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
6
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
7
	<meta http-equiv="Content-style-type" content="text/css" />
7
	<meta http-equiv="Content-style-type" content="text/css" />
8
	<meta http-equiv="Content-script-type" content="text/javascript" />
8
	<meta http-equiv="Content-script-type" content="text/javascript" />
9
	<meta http-equiv="Content-language" content="fr" />
9
	<meta http-equiv="Content-language" content="fr" />
10
	
10
 
11
	<meta name="revisit-after" content="15 days" />
11
	<meta name="revisit-after" content="15 days" />
12
    <meta name="robots" content="index,follow" />
12
    <meta name="robots" content="index,follow" />
13
    <meta name="author" content="Tela Botanica" />
13
    <meta name="author" content="Tela Botanica" />
14
    <meta name="keywords" content="Tela Botanica, CEL" />
14
    <meta name="keywords" content="Tela Botanica, CEL" />
15
    <meta name="description" content="Gestion des widgets de saisie du carnet en ligne" />
15
    <meta name="description" content="Gestion des widgets de saisie du carnet en ligne" />
Line 19... Line 19...
19
	<meta property="og:type" content="website" />
19
	<meta property="og:type" content="website" />
20
	<meta property="og:title" content="Gestion des widgets de saisie du CeL" />
20
	<meta property="og:title" content="Gestion des widgets de saisie du CeL" />
21
	<meta property="og:site_name" content="Tela Botanica" />
21
	<meta property="og:site_name" content="Tela Botanica" />
22
	<meta property="og:description" content="Gestion des widgets de saisie du Carnet en Ligne" />
22
	<meta property="og:description" content="Gestion des widgets de saisie du Carnet en Ligne" />
23
	<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
23
	<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
24
	<meta property="og:image:type" content="image/png" /> 
24
	<meta property="og:image:type" content="image/png" />
25
	<meta property="og:image:width" content="256" /> 
25
	<meta property="og:image:width" content="256" />
26
	<meta property="og:image:height" content="256" />
26
	<meta property="og:image:height" content="256" />
27
	<meta property="og:locale" content="fr_FR" />
27
	<meta property="og:locale" content="fr_FR" />
Line 28... Line 28...
28
 
28
 
29
	<!-- Favicones -->
29
	<!-- Favicones -->
Line 36... Line 36...
36
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
36
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
37
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
37
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
38
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
38
    <script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
39
    <script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
39
    <script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
Line 40... Line -...
40
 
-
 
41
 
-
 
42
 
-
 
43
 
40
 
44
	<!-- Barre de navigation -->
41
	<!-- Barre de navigation -->
45
	<?php if ($bar !== false): ?>
42
	<?php if ($bar !== false) : ?>
46
		<script src="<?php echo $url_script_navigation; ?>"></script>
43
		<script src="<?php echo $url_script_navigation; ?>"></script>
Line 47... Line 44...
47
	<?php endif; ?>
44
	<?php endif; ?>
Line 68... Line 65...
68
        <?php endif; ?>
65
        <?php endif; ?>
Line 69... Line 66...
69
 
66
 
70
	<div id="zone-appli" class="container">
67
	<div id="zone-appli" class="container">
71
		<h1 id="widget-titre" class="widget-titre"> Gestion des widgets de saisie du CEL</h1>
68
		<h1 id="widget-titre" class="widget-titre"> Gestion des widgets de saisie du CEL</h1>
72
		<ul>
69
		<ul>
73
		<?php foreach ($donnees['widget'] as $donnee) { ?>
70
		<?php foreach ($donnees['widget'] as $donnee) : ?>
74
			<?php
71
			<?php
75
				$langue_projet_url = ( isset( $donnee['langue'] ) && $donnee['langue'] !== 'fr' ) ? '_' . $donnee['langue'] : '';
72
				$langue_projet_url = ( isset( $donnee['langue'] ) && $donnee['langue'] !== 'fr' ) ? '_' . $donnee['langue'] : '';
76
				$img_height        = ( isset( $donnee['logo'] ) ) ? 'height:auto;' : '';
73
				$img_height        = ( isset( $donnee['logo'] ) ) ? 'height:auto;' : '';
77
			?>
74
			?>
78
		 	<li class="component-tools-item">
75
		 	<li class="component-tools-item">
79
				<?php echo '<img class="component-tools-item-icon" src="'.htmlspecialchars($chemin_images.$donnee['projet'].$langue_projet_url.'/logo.'.preg_replace('/(?:imag)?e\/?/','',$donnee['logo'])).'" alt="'.$donnee['projet'].'" style="width:10rem;' . $img_height .'">';?>
76
				<?php echo '<img class="component-tools-item-icon" src="'.htmlspecialchars($chemin_images.$donnee['projet'].$langue_projet_url.'/logo.'.preg_replace('/(?:imag)?e\/?/','',$donnee['logo'])).'" alt="'.$donnee['projet'].'" style="width:10rem;' . $img_height .'">';?>
80
				<div style="">
77
				<div style="">
81
					<h4 class="component-tools-item-title">
78
					<h4 class="component-tools-item-title">
82
						<a href="https://www.tela-botanica.org/flore/" target=""><?= $donnee['projet']." : ".$donnee['titre']; ?></a>
79
						<a href="https://www.tela-botanica.org/flore/" target=""><?php echo $donnee['projet']." : ".$donnee['titre']; ?></a>
83
					</h4>
80
					</h4>
84
					<div class="component component-buttons as-seamless" style="float:right;">
81
					<div class="component component-buttons as-seamless" style="float:right;">
85
						<a class="button orange" href="<?php echo $widgetUrlTpl; ?>?mode=modification&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Espace projets">
82
						<a class="button orange" href="<?php echo $widgetUrlTpl; ?>?mode=modification&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Espace projets">
86
						<span class="button-text">Modifier le widget</span>
83
							<span class="button-text">Modifier le widget</span>
87
						</a>
84
						</a>
88
						<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Créer un projet">
85
						<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Créer un projet">
89
						<span class="button-text">Créer à partir</span>
86
							<span class="button-text">Créer à partir</span>
90
						</a>
87
						</a>
91
					</div>
88
					</div>
92
				</div>
89
				</div>
93
				<div class="component-tools-item-description"><?php echo $donnee['description']; ?></div>
90
				<div class="component-tools-item-description"><?php echo $donnee['description']; ?></div>
Line 113... Line 110...
113
					<a href="https://www.tela-botanica.org/appli:identiplante?projet=<?php echo $donnee['projet']; ?>" target="" style="color: #f25a52">
110
					<a href="https://www.tela-botanica.org/appli:identiplante?projet=<?php echo $donnee['projet']; ?>" target="" style="color: #f25a52">
114
						<span>IdentiPlante</span>
111
						<span>IdentiPlante</span>
115
					</a>
112
					</a>
116
				</div>
113
				</div>
117
			</li>
114
			</li>
118
		<?php } ?>
115
		<?php endforeach; ?>
119
		</ul>
116
		</ul>
120
		<div class="component component-buttons as-seamless">
117
		<div class="component component-buttons as-seamless">
121
			<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation" target="_blank" title="">
118
			<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation" target="_blank" title="">
122
				<span class="button-text">Créer un nouveau widget</span>
119
				<span class="button-text">Créer un nouveau widget</span>
123
			</a>
120
			</a>