diff options
| author | 2013-03-13 20:20:03 +0100 | |
|---|---|---|
| committer | 2013-03-13 20:20:03 +0100 | |
| commit | f597b8d1c9a97776f64c573157d04fc9832734d6 (patch) | |
| tree | effaa76bfe3e40af72ae1d4a153d8e1d505422a1 /app/views | |
| parent | 8c72acbacb8fd4da39d505e8ac52e7e0cceed418 (diff) | |
Amélioration design navigation en liste + diverses ajouts design
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/configure/categorize.phtml | 2 | ||||
| -rw-r--r-- | app/views/configure/display.phtml | 2 | ||||
| -rw-r--r-- | app/views/configure/feed.phtml | 6 | ||||
| -rw-r--r-- | app/views/configure/importExport.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/shortcut.phtml | 2 | ||||
| -rw-r--r-- | app/views/index/index.phtml | 14 |
6 files changed, 13 insertions, 17 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index 3e6bbdc47..567859ea5 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -13,6 +13,6 @@ <label for="new_category">Ajouter une catégorie</label> <input type="text" id="new_category" name="new_category" placeholder="Nouvelle catégorie" /> - <input type="submit" value="Valider" /> + <button class="btn btn-important">Sauvegarder</button> </form> </div> diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 188499a61..5e27aa01a 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -42,6 +42,6 @@ <label for="radio_no">Non<noscript> - <strong>nécessite que javascript soit activé</strong></noscript></label> </div> - <input type="submit" value="Valider" /> + <button class="btn btn-important">Valider</button> </form> </div> diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 53b4d7939..3e49ece99 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -21,11 +21,11 @@ <?php } ?> </div> - <input type="submit" value="Valider" /> + <button class="btn btn-important">Valider</button> <?php } ?> - <button formaction="<?php echo Url::display (array ('c' => 'feed', 'a' => 'delete', 'params' => array ('id' => $this->flux->id ()))); ?>">Supprimer</button> + <button class="btn" formaction="<?php echo Url::display (array ('c' => 'feed', 'a' => 'delete', 'params' => array ('id' => $this->flux->id ()))); ?>">Supprimer</button> </form> <?php } else { ?> -<div class="nothing">Aucun flux sélectionné</div> +<div class="alert"><span class="alert-head">Aucun flux sélectionné.</span> Pensez à en ajouter !</div> <?php } ?> diff --git a/app/views/configure/importExport.phtml b/app/views/configure/importExport.phtml index ff5f7ca5a..d7a84df78 100644 --- a/app/views/configure/importExport.phtml +++ b/app/views/configure/importExport.phtml @@ -16,12 +16,12 @@ <div> <form method="post" action="<?php echo Url::display (array ('c' => 'configure', 'a' => 'importExport', 'params' => array ('q' => 'import'))); ?>" enctype="multipart/form-data"> <h1>Exporter au format OPML</h1> - <button formaction="<?php echo Url::display (array ('c' => 'configure', 'a' => 'importExport', 'params' => array ('q' => 'export'))); ?>">Exporter</button> + <button class="btn btn-important" formaction="<?php echo Url::display (array ('c' => 'configure', 'a' => 'importExport', 'params' => array ('q' => 'export'))); ?>">Exporter</button> <h1>Importer au format OPML</h1> <label for="file">Fichier</label> <input type="file" name="file" id="file" /> - <input type="submit" value="Charger" /> + <button class="btn btn-important">Importer</button> </form> </div> <?php } ?> diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml index 4058f6bca..dd29b5f99 100644 --- a/app/views/configure/shortcut.phtml +++ b/app/views/configure/shortcut.phtml @@ -40,6 +40,6 @@ <input type="text" id="prev_page" name="shortcuts[prev_page]" list="keys" value="<?php echo $s['prev_page']; ?>" /> <p>+ <code>shift</code> pour passer à la première page</p> - <input type="submit" value="Valider" /> + <button class="btn btn-important">Sauvegarder</button> </form> </div> diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index 22cc84828..995e6738a 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -52,14 +52,10 @@ <?php $this->entryPaginator->render ('pagination.phtml', 'page'); ?> </div> <?php } else { ?> -<div class="table"> - <div class="nothing"> - <p> - Il n'y a aucun flux à afficher. - <?php if (Session::param ('mode', 'all') == 'not_read') { ?> - <a class="print_all" href="<?php echo Url::display (array ('a' => 'changeMode', 'params' => array ('mode' => 'all'))); ?>">Afficher tous les articles ?</a> - <?php } ?> - </p> - </div> +<div class="alert"> + <span class="alert-head">Il n'y a aucun flux à afficher.</span> + <?php if (Session::param ('mode', 'all') == 'not_read') { ?> + <a class="print_all" href="<?php echo Url::display (array ('a' => 'changeMode', 'params' => array ('mode' => 'all'))); ?>">Afficher tous les articles ?</a> + <?php } ?> </div> <?php } ?> |
