mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
Recherche mobile
Implémente https://github.com/marienfressinaud/FreshRSS/issues/305
This commit is contained in:
1 parent
4038bc885c
commit
ab14fcd190
5 files changed
+52
No files matched your search
@@ -5,6 +5,7 @@ return array (
|
||||
'login' => 'Login',
|
||||
'logout' => 'Logout',
|
||||
'search' => 'Search words or #tags',
|
||||
'search_short' => 'Search',
|
||||
|
||||
'configuration' => 'Configuration',
|
||||
'general_and_reading' => 'General and reading',
|
||||
|
||||
@@ -5,6 +5,7 @@ return array (
|
||||
'login' => 'Connexion',
|
||||
'logout' => 'Déconnexion',
|
||||
'search' => 'Rechercher des mots ou des #tags',
|
||||
'search_short' => 'Rechercher',
|
||||
|
||||
'configuration' => 'Configuration',
|
||||
'general_and_reading' => 'Général et lecture',
|
||||
|
||||
@@ -175,4 +175,26 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="item search">
|
||||
<form action="<?php echo _url ('index', 'index'); ?>" method="get">
|
||||
<?php $search = Request::param ('search', ''); ?>
|
||||
<input type="search" name="search" value="<?php echo $search; ?>" placeholder="<?php echo Translate::t ('search_short'); ?>" />
|
||||
|
||||
<?php $get = Request::param ('get', ''); ?>
|
||||
<?php if($get != '') { ?>
|
||||
<input type="hidden" name="get" value="<?php echo $get; ?>" />
|
||||
<?php } ?>
|
||||
|
||||
<?php $order = Request::param ('order', ''); ?>
|
||||
<?php if($order != '') { ?>
|
||||
<input type="hidden" name="order" value="<?php echo $order; ?>" />
|
||||
<?php } ?>
|
||||
|
||||
<?php $state = Request::param ('state', ''); ?>
|
||||
<?php if($state != '') { ?>
|
||||
<input type="hidden" name="state" value="<?php echo $state; ?>" />
|
||||
<?php } ?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -87,6 +87,9 @@
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.nav_menu .search {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.favicon {
|
||||
height: 16px;
|
||||
@@ -736,6 +739,17 @@
|
||||
.nav_menu .stick .btn {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.nav_menu .search {
|
||||
display: inline-block;
|
||||
max-width: 97%;
|
||||
}
|
||||
.nav_menu .search input {
|
||||
max-width: 97%;
|
||||
width: 90px;
|
||||
}
|
||||
.nav_menu .search input:focus {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#panel {
|
||||
left: 5px; right: 5px;
|
||||
|
||||
@@ -85,6 +85,9 @@ body {
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.nav_menu .search {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.favicon {
|
||||
height: 16px;
|
||||
@@ -731,6 +734,17 @@ body {
|
||||
.nav_menu .stick .btn {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.nav_menu .search {
|
||||
display: inline-block;
|
||||
max-width: 97%;
|
||||
}
|
||||
.nav_menu .search input {
|
||||
max-width: 97%;
|
||||
width: 90px;
|
||||
}
|
||||
.nav_menu .search input:focus {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#panel {
|
||||
left: 5px; right: 5px;
|
||||
|
||||
Reference in new issue
Block a user