]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/searchbox.tpl
frio:implement comment highlighting with jquery.color
[friendica.git] / view / theme / frio / templates / searchbox.tpl
index cc39ba6dc56ecf512a91c7202df97a0e533ccb53..95673698b4c022b814fef94e2fd604d440b3c12a 100644 (file)
@@ -1,4 +1,7 @@
 
+{{* important notes: The frio theme hides under certain conditions some parts of the templates through css.
+Some parts of this template will be moved by js to other places (see theme.js) - E.g. the save-search button *}}
+
 <div id="{{$id}}" {{* class="input-group" *}}>
        <div id="search-wrapper">
                <form action="{{$action_url}}" method="get" >
@@ -15,7 +18,7 @@
                                        <div class="col-md-8">
                                                {{* The button to save searches *}}
                                                {{if $savedsearch}}
-                                               <button class="btn btn-primary btn-small pull-right" type="submit" name="save" id="search-save" value="{{$save_label}}">{{$save_label}}</button>
+                                               <button class="btn btn-primary btn-small pull-right" type="submit" name="save" value="{{$save_label}}">{{$save_label}}</button>
                                                {{/if}}
 
                                                {{* The select popup menu to select what kind of results the user would like to search for *}}
@@ -43,4 +46,9 @@
                        
                </form>
        </div>
+       {{* This form is inserted as experiment to move the search-save button to the second navbar with js *}}
+       <form id="search-save-form" action="{{$action_url}}" method="get" >
+               <input type="hidden" name="search" value="{{$s}}" />
+               <button class="btn btn-primary btn-sm btn-main pull-right" type="submit" name="save" id="search-save" value="{{$save_label}}"><i class="fa fa-floppy-o fa-2x" aria-hidden="true"></i></button>
+       </form>
 </div>