From fca236dc6d6ff6e09182c560f3566904cbc7a70a Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 23 Oct 2012 18:29:43 +0200 Subject: affichage par catégories + meilleur exportation opml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/configure/importExport.phtml | 4 ++-- app/views/index/index.phtml | 4 ++-- app/views/javascript/main.phtml | 17 ++++------------- 3 files changed, 8 insertions(+), 17 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/importExport.phtml b/app/views/configure/importExport.phtml index 634800157..7f2fbd7c5 100644 --- a/app/views/configure/importExport.phtml +++ b/app/views/configure/importExport.phtml @@ -7,12 +7,12 @@ -feeds); ?> +categories); ?> -
+

Exporter au format OPML

Exporter diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index af01f3fd2..c3f4242c4 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -16,10 +16,10 @@
author (); ?>
+ feed (true); ?> le date (); ?> - feed (true); ?> - sur name (); ?>, + sur name (); ?> ,

title (); ?>

diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index 87b53ca9a..f5682d1f0 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -68,18 +68,9 @@ $(document).ready (function () { } }); }); - shortcut.add("space", function () { - // On plie / déplie l'article - active = $(".post.flux.active"); - active.children (".content").slideToggle (200, function () { - $.smoothScroll({ - offset: active.position ().top + 25 - }); - }); - }); // Touches de navigation - shortcut.add("up", function () { + /*shortcut.add("up", function () { old_active = $(".post.flux.active"); last_active = $(".post.flux:last"); new_active = old_active.prev (); @@ -89,15 +80,15 @@ $(document).ready (function () { } else { slide (last_active, old_active); } - }); - shortcut.add("down", function () { + });*/ + shortcut.add("space", function () { old_active = $(".post.flux.active"); first_active = $(".post.flux:first"); new_active = old_active.next (); if (new_active[0] instanceof HTMLDivElement) { slide (new_active, old_active); - } else { + } else if (new_active[0] === undefined) { slide (first_active, old_active); } }); -- cgit v1.2.3