1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 09:32:15 -05:00

Merge pull request #854 from wallabag/saveclick2search

Saveclick2search (fix for #831)
This commit is contained in:
Nicolas Lœuillet 2014-10-04 20:13:10 +02:00
commit 29e95769b5
8 changed files with 14 additions and 5 deletions

View File

@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: wallabag\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-02-25 15:17+0300\n"
"PO-Revision-Date: \n"
@ -10,7 +10,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.4\n"
"X-Generator: Poedit 1.6.9\n"
"X-Poedit-Basepath: .\n"
msgid "wallabag, a read it later open source system"
@ -568,6 +568,9 @@ msgstr ""
"To completely remove wallabag, delete the wallabag folder on your web server "
"(and eventual databases)."
msgid "Enter your search here"
msgstr "Enter your search here"
#~ msgid "poche it!"
#~ msgstr "poche it!"

View File

@ -12,7 +12,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 1.6.4\n"
"X-Generator: Poedit 1.6.9\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "wallabag, a read it later open source system"

View File

@ -1,7 +1,7 @@
<div id="search-form" class="messages info">
<form method="get" action="index.php">
<input type="hidden" name="view" value="search"></input>
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" />
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" />
<input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
</form>
</div>

View File

@ -2,7 +2,7 @@
<form method="get" action="index.php">
<p>
<input type="hidden" name="view" value="search"></input>
<label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" />
<label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" />
<input type="submit" value="{% trans "Search" %} !"></input>
</p>
</form>

View File

@ -8,6 +8,11 @@
border-radius: 4px;
}
/* Search form message needs a little more width, depending on translations */
#search-form {
width: 420px;
}
.messages a.closeMessage {
display: none;
float: right;

View File

@ -10,6 +10,7 @@ $(document).ready(function() {
$("#search").click(function(){
closeSearch();
$('#searchfield').focus();
});
$("#search-form-close").click(function(){