Ver Fonte

Réduit la place de la date

https://github.com/marienfressinaud/FreshRSS/issues/385
+ oublie formLogin d'un patch précédent
https://github.com/marienfressinaud/FreshRSS/commit/ae539f68395f9a09dbc04042fa281d97578f0d1e
https://github.com/marienfressinaud/FreshRSS/issues/380
Alexandre Alapetite há 12 anos atrás
pai
commit
451cae8d12

+ 1 - 1
app/i18n/en.php

@@ -295,5 +295,5 @@ return array (
 	'Dec'				=> '\D\e\c\e\m\b\e\r',
 	// format for date() function, %s allows to indicate month in letter
 	'format_date'			=> '%s j\<\s\u\p\>S\<\/\s\u\p\> Y',
-	'format_date_hour'		=> '%s j\<\s\u\p\>S\<\/\s\u\p\> Y \a\t H\.i',
+	'format_date_hour'		=> '%s j\<\s\u\p\>S\<\/\s\u\p\> Y \a\t H\:i',
 );

+ 1 - 1
app/i18n/fr.php

@@ -295,5 +295,5 @@ return array (
 	'Dec'				=> '\d\é\c\e\m\b\r\e',
 	// format pour la fonction date(), %s permet d'indiquer le mois en toutes lettres
 	'format_date'			=> 'j %s Y',
-	'format_date_hour'		=> '\l\e j %s Y \à H\:i',
+	'format_date_hour'		=> 'j %s Y \à H\:i',
 );

+ 2 - 22
app/views/index/formLogin.phtml

@@ -1,25 +1,4 @@
-<style>
-h1, div > p {
-	text-align:center;
-}
-p {
-	margin:1em auto;
-}
-form {
-	display:block;
-	margin:1em auto 3em auto;
-	padding:0;
-	width:10em;
-}
-input, button.btn {
-	display:block;
-	margin:.5em auto;
-}
-input {
-	width:99%;
-}
-</style>
-
+<div class="prompt">
 <?php
 if (Minz_Configuration::canLogIn()) {
 	?><h1><?php echo Minz_Translate::t('login'); ?></h1><?php
@@ -52,3 +31,4 @@ if (Minz_Configuration::canLogIn()) {
 ?>
 
 <p><a href="<?php echo _url('index', 'about'); ?>"><?php echo Minz_Translate::t('about_freshrss'); ?></a></p>
+</div>

+ 1 - 1
p/themes/Dark/freshrss.css

@@ -282,7 +282,7 @@
 				font-weight: bold;
 			}
 		.flux .item.date {
-			width: 200px;
+			width: 145px;
 			padding:0 5px 0 0;
 			text-align: right;
 			font-size: 10px;

+ 1 - 1
p/themes/Flat/freshrss.css

@@ -277,7 +277,7 @@ body {
 				font-weight: bold;
 			}
 		.flux .item.date {
-			width: 200px;
+			width: 145px;
 			padding:0 5px 0 0;
 			text-align: right;
 			font-size: 10px;

+ 1 - 1
p/themes/Origine/freshrss.css

@@ -291,7 +291,7 @@
 				font-weight: bold;
 			}
 		.flux .item.date {
-			width: 200px;
+			width: 145px;
 			padding:0 5px 0 0;
 			text-align: right;
 			font-size: 10px;