George S. Baugh 4 年之前
父节点
当前提交
d67b678682
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      www/templates/index.tx
  2. 1 1
      www/templates/login.tx

+ 1 - 1
www/templates/index.tx

@@ -10,7 +10,7 @@
         : include "categories.tx";
         <a href="/sitemap" title="Sitemap" class="topbar">🗺️</a>
         <form action="<: $route :>" method="GET" class="ib">
-            <input required type="search" class="coolbutton topform" name="like"></input>
+            <input required type="search" class="coolbutton topform" name="like" autofocus></input>
             <input class="coolbutton topform" type="submit" value="🔎"></input>
             <a class="topbar" target="_blank" href="<: $search_help :>" title="<: $search_lang :>">❓</a>
         </form>

+ 1 - 1
www/templates/login.tx

@@ -10,7 +10,7 @@
       Username<br />
       <div class="input-group">
         <label for="username">😎</span></label>
-        <input required name="username" id="username" placeholder="AzureDiamond" value="" type="text"></input>
+        <input required name="username" id="username" placeholder="AzureDiamond" value="" type="text" autofocus></input>
       </div>
       <br />
       Password<br />