Explorar el Código

Curseur en forme de pointeur au dessus de titre et date de flux_header + ajout de liens de retour à l'accueil au niveau de la conf (fix temporaire du bug #36)

Marien Fressinaud hace 13 años
padre
commit
4b5c458a00

+ 2 - 0
app/controllers/entryController.php

@@ -98,6 +98,8 @@ class entryController extends ActionController {
 	}
 
 	public function noteAction () {
+		View::appendScript (Url::display (array ('c' => 'javascript', 'a' => 'main')));
+
 		$not_found = false;
 		$entryDAO = new EntryDAO ();
 		$catDAO = new CategoryDAO ();

+ 2 - 0
app/views/configure/categorize.phtml

@@ -1,6 +1,8 @@
 <?php $this->partial ('aside_configure'); ?>
 
 <div class="post">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<form method="post" action="<?php echo _url ('configure', 'categorize'); ?>">
 		<legend>Gestion des catégories - <a href="<?php echo _url ('configure', 'feed'); ?>">gestion des flux</a></legend>
 

+ 2 - 0
app/views/configure/display.phtml

@@ -1,6 +1,8 @@
 <?php $this->partial ('aside_configure'); ?>
 
 <div class="post">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<form method="post" action="<?php echo _url ('configure', 'display'); ?>">
 		<legend>Configuration générale</legend>
 

+ 2 - 0
app/views/configure/feed.phtml

@@ -2,6 +2,8 @@
 
 <?php if ($this->flux) { ?>
 <div class="post">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<h1><?php echo $this->flux->name (); ?></h1>
 	<?php echo $this->flux->description (); ?>
 

+ 2 - 0
app/views/configure/importExport.phtml

@@ -14,6 +14,8 @@
 <?php $this->partial ('aside_feed'); ?>
 
 <div class="post ">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<form method="post" action="<?php echo Url::display (array ('c' => 'configure', 'a' => 'importExport', 'params' => array ('q' => 'import'))); ?>" enctype="multipart/form-data">
 		<legend>Import / export au format OPML</legend>
 		<div class="form-group">

+ 2 - 0
app/views/configure/shortcut.phtml

@@ -1,6 +1,8 @@
 <?php $this->partial ('aside_configure'); ?>
 
 <div class="post">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<datalist id="keys">
 		<?php foreach ($this->list_keys as $key) { ?>
 		<option value="<?php echo $key; ?>">

+ 2 - 0
app/views/entry/note.phtml

@@ -1,6 +1,8 @@
 <?php $this->partial ('aside_flux'); ?>
 
 <div class="post">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<form method="post" action="<?php echo _url ('entry', 'note', 'id', $this->entry->id ()); ?>">
 		<legend>Note</legend>
 

+ 2 - 0
app/views/index/about.phtml

@@ -1,4 +1,6 @@
 <div class="post content">
+	<a href="<?php echo _url ('index', 'index'); ?>">← Retour à vos flux RSS</a>
+
 	<h1>À propos de FreshRSS</h1>
 
 	<dl class="infos">

+ 18 - 18
public/theme/base.css

@@ -546,25 +546,23 @@ input, select, textarea {
 		margin: 0 auto;
 		list-style: none;
 	}
-		.catefories .feeds .item {
+		.categories .feeds .item.active:after {
+			content: "⇢";
+			line-height: 35px;
+			float: right;
+		}
+		.categories .feeds .item .feed {
+			display: inline-block;
+			margin: 0;
+			width: 165px;
+			line-height: 35px;
+			font-size: 90%;
+			vertical-align: middle;
+			text-align: left;
+			overflow: hidden;
+			white-space: nowrap;
+			text-overflow: ellipsis;
 		}
-			.categories .feeds .item.active:after {
-				content: "⇢";
-				line-height: 35px;
-				float: right;
-			}
-			.categories .feeds .item .feed {
-				display: inline-block;
-				margin: 0;
-				width: 165px;
-				line-height: 35px;
-				font-size: 90%;
-				vertical-align: middle;
-				text-align: left;
-				overflow: hidden;
-				white-space: nowrap;
-				text-overflow: ellipsis;
-			}
 		.categories .feeds .dropdown .dropdown-menu {
 			left: 0;
 		}
@@ -695,6 +693,7 @@ input, select, textarea {
 				overflow: hidden;
 				white-space: nowrap;
 				text-overflow: ellipsis;
+				cursor: pointer;
 			}
 				.flux_header .item.title h1 {
 					font-size: 12px;
@@ -712,6 +711,7 @@ input, select, textarea {
 				text-align: right;
 				font-size: 10px;
 				color: #666;
+				cursor: pointer;
 			}
 			.flux_header .item.link {
 				width: 35px;