diff options
| author | 2013-03-16 17:43:42 +0100 | |
|---|---|---|
| committer | 2013-03-16 17:43:42 +0100 | |
| commit | 870ff2fa07dbe7dafc5c816ab6e74d2f9815296a (patch) | |
| tree | f15008330265f73dabee50c211a1c59c499af960 /app/layout | |
| parent | dd628faaded8e6feb990c2eb76cc15460e7a631f (diff) | |
Gestion des boutons dropdown (uniquement du CSS)
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_flux.phtml | 13 | ||||
| -rw-r--r-- | app/layout/header.phtml | 15 |
2 files changed, 25 insertions, 3 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index f6d8b3887..43728bc6c 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -31,8 +31,17 @@ <?php if (!empty ($feeds)) { ?> <ul class="feeds"> <?php foreach ($feeds as $feed) { ?> - <li> - <a class="website" href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>"><i class="icon configure"></i></a> + <li class="item"> + <div class="dropdown"> + <div id="dropdown-<?php echo $feed->id(); ?>" class="dropdown-target"></div> + <a class="dropdown-toggle" href="#dropdown-<?php echo $feed->id(); ?>"><i class="icon configure"></i></a> + <ul class="dropdown-menu"> + <li class="dropdown-close"><a href="#close"><i class="icon close"></i></a></li> + <li class="item"><a href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>">Gestion</a></li> + <li class="item"><a href="<?php echo $feed->website (); ?>">Voir le site</a></li> + </ul> + </div> + <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="" /> <a class="feed" href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>"> <?php echo $feed->name(); ?> diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 36c53654c..811c2b4f1 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -25,7 +25,20 @@ <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?> <div class="item configure"> - <a class="btn" href="<?php echo _url ('configure', 'display'); ?>"><i class="icon configure"></i></a> + <div class="dropdown"> + <div id="dropdown-configure" class="dropdown-target"></div> + + <a class="btn dropdown-toggle" href="#dropdown-configure"><i class="icon configure"></i></a> + <ul class="dropdown-menu"> + <li class="dropdown-close"><a href="#close"><i class="icon close"></i></a></li> + <li class="item"><a href="<?php echo _url ('configure', 'display'); ?>">Général et affichage</a></li> + <li class="item"><a href="<?php echo _url ('configure', 'categorize'); ?>">Catégories</a></li> + <li class="item"><a href="<?php echo _url ('configure', 'shortcut'); ?>">Raccourcis</a></li> + <li class="item"><a href="<?php echo _url ('configure', 'importExport'); ?>">Import / Export OPML</a></li> + <li class="separator"></li> + <li class="item"><a href="<?php echo _url ('index', 'about'); ?>">À propos</a></li> + </ul> + </div> </div> <?php } ?> </div> |
