summaryrefslogtreecommitdiff
path: root/app/layout/aside_flux.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-16 17:43:42 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-16 17:43:42 +0100
commit870ff2fa07dbe7dafc5c816ab6e74d2f9815296a (patch)
treef15008330265f73dabee50c211a1c59c499af960 /app/layout/aside_flux.phtml
parentdd628faaded8e6feb990c2eb76cc15460e7a631f (diff)
Gestion des boutons dropdown (uniquement du CSS)
Diffstat (limited to 'app/layout/aside_flux.phtml')
-rw-r--r--app/layout/aside_flux.phtml13
1 files changed, 11 insertions, 2 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(); ?>