]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/searchform.tmpl
wip bootstrap theme
[git.ikiwiki.info.git] / templates / searchform.tmpl
index 8cdf745f9a9e1d6b53a19be2780fd76fcae9fbf9..8b0c625abc5112113da3bda33c1e5c20810de86c 100644 (file)
@@ -1,6 +1,10 @@
-<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
-<div>
-<input type="text" id="searchbox" name="P" value="" size="16"
-  placeholder="search" />
-</div>
+<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform" class="form-inline input-group input-group-sm pull-xs-right">
+<TMPL_UNLESS THEME_BOOTSTRAP><div></TMPL_UNLESS>
+<input type="text" id="searchbox" name="P" value="" size="12" placeholder="search" class="form-control" />
+<TMPL_IF THEME_BOOTSTRAP>
+<span class="input-group-btn">
+<button class="btn btn-secondary" type="submit"><i class="fa fa-search"></i></button>
+</span>
+</TMPL_IF>
+<TMPL_UNLESS THEME_BOOTSTRAP></div></TMPL_UNLESS>
 </form>