diff options
author | tcit <tcit@tcit.fr> | 2014-10-04 18:51:43 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-10-04 18:51:43 +0200 |
commit | 1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d (patch) | |
tree | 6b97180706a0438bab4bb28e4d1234618722cb6d | |
parent | f183f72bf49d3faf6a3535683a58e0f55808038d (diff) | |
download | wallabag-1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d.tar.gz wallabag-1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d.tar.zst wallabag-1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d.zip |
autofocus on all themes
-rw-r--r-- | themes/baggy/_search-form.twig | 2 | ||||
-rwxr-xr-x | themes/default/_search-form.twig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index 073291f4..7b2c7082 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig | |||
@@ -1,7 +1,7 @@ | |||
1 | <div id="search-form" class="messages info"> | 1 | <div id="search-form" class="messages info"> |
2 | <form method="get" action="index.php"> | 2 | <form method="get" action="index.php"> |
3 | <input type="hidden" name="view" value="search"></input> | 3 | <input type="hidden" name="view" value="search"></input> |
4 | <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "something to search" %}" type="text" name="search" id="searchfield" /> | 4 | <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" /> |
5 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> | 5 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> |
6 | </form> | 6 | </form> |
7 | </div> \ No newline at end of file | 7 | </div> \ No newline at end of file |
diff --git a/themes/default/_search-form.twig b/themes/default/_search-form.twig index 33bea20d..0cf6097a 100755 --- a/themes/default/_search-form.twig +++ b/themes/default/_search-form.twig | |||
@@ -2,7 +2,7 @@ | |||
2 | <form method="get" action="index.php"> | 2 | <form method="get" action="index.php"> |
3 | <p> | 3 | <p> |
4 | <input type="hidden" name="view" value="search"></input> | 4 | <input type="hidden" name="view" value="search"></input> |
5 | <label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" /> | 5 | <label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" /> |
6 | <input type="submit" value="{% trans "Search" %} !"></input> | 6 | <input type="submit" value="{% trans "Search" %} !"></input> |
7 | </p> | 7 | </p> |
8 | </form> | 8 | </form> |