Subversion Repositories eFlore/Applications.del

Rev

Rev 993 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <title>Votez !</title>
                
                <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
                <meta http-equiv="Content-style-type" content="text/css" />
                <meta http-equiv="Content-script-type" content="text/javascript" />
                <meta http-equiv="Content-language" content="fr" />
                
                <meta name="revisit-after" content="15 days" />
        <meta name="robots" content="index,follow" />
        <meta name="author" content="Delphine Cauquil, Aurélien Peronnet" />
        <meta name="keywords" content="Tela Botanica, photographie, DEL" />
        <meta name="description" content="Widget de vote sur les dernières images proposées dans DEL" />

                <!-- Spécial mobile -->
                <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
                
                <!-- Favicones -->
                <link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
                <link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
                
                <!-- Feuilles de styles -->
                <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
                <link rel="stylesheet" type="text/css" href="<?=$url_css?>vote.css" media="screen" />
                
                <!-- Javascript : bibliothèques -->
                <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
                <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
        </head>
        <body>
                <!-- WIDGET:DEL:VOTE - DEBUT -->
                <div class="del-vote-contenu">
                        <img id="image_principale" src="<?= $donnees['url']; ?>" alt="image" />
                        <?php foreach($donnees['images'] as $image) : ?>
                                <img class="image_secondaire" src="<?= $donnees['url']; ?>" alt="image" />
                        <?php endforeach ?>
                        <div class="info_observation">
                                <?= $donnees['titre']; ?>
                        </div>
                        <ul class="ui-listview" data-role="listview">
                        <?php foreach($donnees['liste_votes_determination'] as $vote_determination) : ?>
                                <li class="ui-li ui-li-static ui-body-c">
                                        <div class="intitule_determination">
                                                <div><?= $vote_determination['nom_sel']; ?></div>
                                                <div class="auteur_determination">Proposé par : <?= $vote_determination['auteur.prenom']; ?> <?= $vote_determination['auteur.nom']; ?></div>
                                        </div>
                                        <div class="votes_determination">
                                                <a class="bouton_vote_oui" href="#" data-role="button" data-mini="true" data-inline="true"> oui</a><?= $vote_determination['votes']['oui']; ?>
                                                <a class="bouton_vote_non" href="#" data-role="button" data-mini="true" data-inline="true"> non</a><?= $vote_determination['votes']['non']; ?>
                                        </div>
                                        <hr style="visibility:hidden;clear:both" />
                                </li>
                        <?php endforeach ?>
                        </ul>
                </div>
                <!-- WIDGET:DEL:VOTE - FIN -->
        </body>
</html>