Subversion Repositories eFlore/Applications.del

Rev

Rev 983 | Rev 999 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 983 Rev 993
Line 1... Line -...
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 -->
1
		<!-- WIDGET:DEL:VOTE - DEBUT -->
-
 
2
		<div data-role="page">
-
 
3
			<!-- /navbar -->
-
 
4
			<div data-role="header" data-position="fixed">
-
 
5
				<div data-role="navbar" >
-
 
6
					<ul>
-
 
7
						<?php if($donnees['urls_navigation']['url_precedent'] != null) { ?>
-
 
8
							<li><a href="<?= $donnees['urls_navigation']['url_precedent']; ?>" class="ui-btn-active">Précédent</a></li>
-
 
9
						<?php } ?>
-
 
10
						<?php if($donnees['urls_navigation']['url_suivant'] != null) { ?>
-
 
11
							<li><a href="<?= $donnees['urls_navigation']['url_suivant']; ?>">Suivant</a></li>
-
 
12
						<?php } ?>
-
 
13
					</ul>
-
 
14
				</div>
-
 
15
			</div>
-
 
16
			<!-- /navbar -->
34
		<div class="del-vote-contenu">
17
			<div class="del-vote-contenu">
35
			<img id="image_principale" src="<?= $donnees['url']; ?>" alt="image" />
18
				<img id="image_principale" src="<?= str_replace('XL', 'CRS', $donnees['url']); ?>" alt="image" />
-
 
19
				<div class="conteneur_image_secondaire">
-
 
20
					<?php $premiere_image = true; ?>
36
			<?php foreach($donnees['images'] as $image) : ?>
21
					<?php foreach($donnees['images'] as $image) : ?>
37
				<img class="image_secondaire" src="<?= $donnees['url']; ?>" alt="image" />
22
						<img class="image_secondaire <?php if($premiere_image) { echo 'image_active';} ?>" src="<?= str_replace('XL', 'CRX2S', $image['binaire.href']); ?>" alt="image" />
-
 
23
						<?php $premiere_image = false; ?>
38
			<?php endforeach ?>
24
					<?php endforeach ?>
-
 
25
				</div>
39
			<div class="info_observation">
26
				<div class="info_observation">
40
				<?= $donnees['titre']; ?>
27
					<?= $donnees['titre']; ?>
41
			</div>
28
				</div>
42
			<ul class="ui-listview" data-role="listview">
29
				<ul class="ui-listview" data-role="listview">
43
			<?php foreach($donnees['liste_votes_determination'] as $vote_determination) : ?>
30
				<?php foreach($donnees['liste_votes_determination'] as $vote_determination) : ?>
44
				<li class="ui-li ui-li-static ui-body-c">
31
					<li class="ui-li ui-li-static ui-body-c">
45
					<div class="intitule_determination">
32
						<div class="intitule_determination">
46
						<div><?= $vote_determination['nom_sel']; ?></div>
33
							<div><?= $vote_determination['nom_sel']; ?></div>
47
						<div class="auteur_determination">Proposé par : <?= $vote_determination['auteur.prenom']; ?> <?= $vote_determination['auteur.nom']; ?></div>
34
							<div class="auteur_determination">Proposé par : <?= $vote_determination['auteur.prenom']; ?> <?= $vote_determination['auteur.nom']; ?></div>
48
					</div>
35
						</div>
49
					<div class="votes_determination">
36
						<div id="vote_determination_<?= $vote_determination['id_commentaire']; ?>" 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']; ?>
37
							<a href="#" class="bouton_vote bouton_vote_oui" data-role="button" data-mini="true" data-inline="true"> oui</a>
-
 
38
								<span class="nb_votes nb_votes_oui">
-
 
39
									<?= $vote_determination['votes']['oui']; ?>
-
 
40
								</span>
51
						<a class="bouton_vote_non" href="#" data-role="button" data-mini="true" data-inline="true"> non</a><?= $vote_determination['votes']['non']; ?>
41
							<a href="#" class="bouton_vote bouton_vote_non" data-role="button" data-mini="true" data-inline="true"> non</a>
-
 
42
								<span class="nb_votes nb_votes_non">
-
 
43
									<?= $vote_determination['votes']['non']; ?>
-
 
44
								</span>
52
					</div>
45
						</div>
53
					<hr style="visibility:hidden;clear:both" />
46
						<hr style="visibility:hidden;clear:both" />
54
				</li>
47
					</li>
55
			<?php endforeach ?>
48
				<?php endforeach ?>
56
			</ul>
49
				</ul>
57
		</div>
50
			</div>
-
 
51
			<div data-role="footer" data-theme="b" data-position="fixed"> 
-
 
52
			</div>
-
 
53
		</div>	
58
		<!-- WIDGET:DEL:VOTE - FIN -->
54
		<!-- WIDGET:DEL:VOTE - FIN -->
59
	</body>
-
 
60
</html>
-
 
61
55