Subversion Repositories eFlore/Applications.del

Rev

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

                <!-- WIDGET:DEL:VOTE - DEBUT -->
                <div data-role="page">
                        <!-- /navbar -->
                        <div data-role="header" data-position="fixed">
                                <div data-role="navbar" >
                                        <ul>
                                                <?php if($donnees['urls_navigation']['url_precedent'] != null) { ?>
                                                        <li><a href="<?= $donnees['urls_navigation']['url_precedent']; ?>" class="ui-btn-active">Précédent</a></li>
                                                <?php } ?>
                                                <?php if($donnees['urls_navigation']['url_suivant'] != null) { ?>
                                                        <li><a href="<?= $donnees['urls_navigation']['url_suivant']; ?>">Suivant</a></li>
                                                <?php } ?>
                                        </ul>
                                </div>
                        </div>
                        <!-- /navbar -->
                        <div class="del-vote-contenu">
                                <img id="image_principale" src="<?= str_replace('XL', 'CRS', $donnees['url']); ?>" alt="image" />
                                <div class="conteneur_image_secondaire">
                                        <?php $premiere_image = true; ?>
                                        <?php foreach($donnees['images'] as $image) : ?>
                                                <img class="image_secondaire <?php if($premiere_image) { echo 'image_active';} ?>" src="<?= str_replace('XL', 'CRX2S', $image['binaire.href']); ?>" alt="image" />
                                                <?php $premiere_image = false; ?>
                                        <?php endforeach ?>
                                </div>
                                <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 id="vote_determination_<?= $vote_determination['id_commentaire']; ?>" class="votes_determination">
                                                        <a href="#" class="bouton_vote bouton_vote_oui" data-role="button" data-mini="true" data-inline="true"> oui</a>
                                                                <span class="nb_votes nb_votes_oui">
                                                                        <?= $vote_determination['votes']['oui']; ?>
                                                                </span>
                                                        <a href="#" class="bouton_vote bouton_vote_non" data-role="button" data-mini="true" data-inline="true"> non</a>
                                                                <span class="nb_votes nb_votes_non">
                                                                        <?= $vote_determination['votes']['non']; ?>
                                                                </span>
                                                </div>
                                                <hr style="visibility:hidden;clear:both" />
                                        </li>
                                <?php endforeach ?>
                                </ul>
                        </div>
                        <div data-role="footer" data-theme="b" data-position="fixed"> 
                        </div>
                </div>  
                <!-- WIDGET:DEL:VOTE - FIN -->