/trunk/modules/mobile/Mobile.php |
---|
62,7 → 62,7 |
public function executerFiche(){ |
$donnees = $this->parametres; |
$donnees['nom_retenu'] = $this->nom_retenu->get('nom_sci_html').' '.$this->nom_retenu->get('auteur'); |
$donnees['nom_retenu'] = $this->nom_retenu->get('nom_sci').' '.$this->nom_retenu->get('auteur'); |
$donnees['famille'] = $this->nom_retenu->getTaxonSupRang('180'); |
$donnees = array_merge($this->obtenirDonnees(), $donnees); |
$donnees['url_absolue'] = "http://".$_SERVER['SERVER_NAME'].'/'.$_SERVER['REQUEST_URI']; |
72,6 → 72,10 |
$donnees['lien'] = $this->url->obtenirUrlMobile($this->parametres['num_nom']); |
$donnees['lien_fiche'] = $this->url->obtenirUrlFiche($this->parametres['num_nom']); |
$tpl_edition = Config::get('smartFloreEditionFormulaireUrlTpl'); |
$url_edition = sprintf($tpl_edition, strtoupper($this->parametres['referentiel']), $this->nom_retenu->get('num_taxonomique')); |
$donnees['lien_edition'] = $url_edition; |
$this->setSortie(self::RENDU_CORPS, $this->getVue('smartflore', $donnees), true); |
} |
/trunk/modules/mobile/presentations/css/smartflore.css |
---|
120,7 → 120,7 |
#smartflore-partenaires { |
padding-left: 0px; |
padding-right: 0px; |
margin-top: 20px; |
margin-top: 15px; |
} |
#smartflore-footer #smartflore-partenaires #smartflore-accordeon-partenaires { |
133,11 → 133,12 |
} |
#smartflore-footer #collapse-partenaires { |
padding-bottom: 10px; |
padding-bottom: 5px; |
font-size: 0.8em; |
} |
#smartflore-footer #smartflore-partenaires #smartflore-accordeon-partenaires h4 { |
font-size: 1.2em; |
font-size: 0.8em; |
} |
#smartflore-footer .smartflore-footer-partenaires-logo { |
175,8 → 176,17 |
#smartflore-fiche .smartflore-titre-section a { |
font-size: 1.5em; |
} |
#smartflore-illustrations-galerie-carousel .carousel-caption { |
font-size: 0.83em; |
bottom: 0px; |
} |
#smartflore-illustrations-galerie-carousel .carousel-indicators { |
bottom: -10px; |
} |
} |
@media all and (orientation:portrait) { |
#smartflore-illustrations .carousel-inner { |
height: 40vh; |
204,4 → 214,13 |
margin-top: -10px; |
margin-bottom: -10px; |
} |
#smartflore-illustrations-galerie-carousel .carousel-caption { |
font-size: 0.9em; |
bottom: 2px; |
} |
#smartflore-illustrations-galerie-carousel .carousel-indicators { |
bottom: -10px; |
} |
} |
/trunk/modules/mobile/squelettes/smartflore.tpl.html |
---|
70,7 → 70,7 |
<!-- Indicators --> |
<ol class="carousel-indicators"> |
<? for($ill = 0; $ill < count($illustrations); $ill++) { ?> |
<li data-target="#smartflore-illustrations-galerie-carousel" data-slide-to="<?= $ill; ?>" class="active"></li> |
<li data-target="#smartflore-illustrations-galerie-carousel" data-slide-to="<?= $ill; ?>" class="<?= ($ill == 0) ? 'active' : ''; ?>"></li> |
<?php } ?> |
</ol> |
148,9 → 148,11 |
</div> |
<div class="col-md-4 col-xs-4 smartflore-footer-bouton"> |
<a href="<?= $lien_edition; ?>" target="_blank"> |
<button type="button" class="btn btn-default" aria-label="Left Align"> |
Modifier |
</button> |
</a> |
</div> |
</div> |