Subversion Repositories eFlore/Applications.del

Rev

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

Rev Author Line No. Line
983 aurelien 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
	<head>
4
		<title>Votez !</title>
5
 
6
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
7
		<meta http-equiv="Content-style-type" content="text/css" />
8
		<meta http-equiv="Content-script-type" content="text/javascript" />
9
		<meta http-equiv="Content-language" content="fr" />
10
 
11
		<meta name="revisit-after" content="15 days" />
12
        <meta name="robots" content="index,follow" />
13
        <meta name="author" content="Delphine Cauquil, Aurélien Peronnet" />
14
        <meta name="keywords" content="Tela Botanica, photographie, DEL" />
15
        <meta name="description" content="Widget de vote sur les dernières images proposées dans DEL" />
16
 
17
		<!-- Spécial mobile -->
18
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
19
 
20
		<!-- Favicones -->
21
		<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
22
		<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
23
 
24
		<!-- Feuilles de styles -->
25
		<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
26
		<link rel="stylesheet" type="text/css" href="<?=$url_css?>vote.css" media="screen" />
27
 
28
		<!-- Javascript : bibliothèques -->
29
		<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
30
		<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
31
	</head>
32
	<body>
33
		<!-- WIDGET:DEL:VOTE - DEBUT -->
34
		<div class="del-vote-contenu">
35
			<img id="image_principale" src="<?= $donnees['url']; ?>" alt="image" />
36
			<?php foreach($donnees['images'] as $image) : ?>
37
				<img class="image_secondaire" src="<?= $donnees['url']; ?>" alt="image" />
38
			<?php endforeach ?>
39
			<div class="info_observation">
40
				<?= $donnees['titre']; ?>
41
			</div>
42
			<ul class="ui-listview" data-role="listview">
43
			<?php foreach($donnees['liste_votes_determination'] as $vote_determination) : ?>
44
				<li class="ui-li ui-li-static ui-body-c">
45
					<div class="intitule_determination">
46
						<div><?= $vote_determination['nom_sel']; ?></div>
47
						<div class="auteur_determination">Proposé par : <?= $vote_determination['auteur.prenom']; ?> <?= $vote_determination['auteur.nom']; ?></div>
48
					</div>
49
					<div class="votes_determination">
50
						<a class="bouton_vote_oui" href="#" data-role="button" data-mini="true" data-inline="true"> oui</a><?= $vote_determination['votes']['oui']; ?>
51
						<a class="bouton_vote_non" href="#" data-role="button" data-mini="true" data-inline="true"> non</a><?= $vote_determination['votes']['non']; ?>
52
					</div>
53
					<hr style="visibility:hidden;clear:both" />
54
				</li>
55
			<?php endforeach ?>
56
			</ul>
57
		</div>
58
		<!-- WIDGET:DEL:VOTE - FIN -->
59
	</body>
60
</html>