aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/peoplefind.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-11-11 23:09:55 +0100
committermarijus <mario@mariovavti.com>2014-11-11 23:09:55 +0100
commitd145ef2021da845e257681f1dc93d274d814e90f (patch)
tree54799126634d8682ebfe914557b0434a56d3bbe6 /view/tpl/peoplefind.tpl
parentf72035ec93c51356e9f6810fe62b4f77be09bebf (diff)
downloadvolse-hubzilla-d145ef2021da845e257681f1dc93d274d814e90f.tar.gz
volse-hubzilla-d145ef2021da845e257681f1dc93d274d814e90f.tar.bz2
volse-hubzilla-d145ef2021da845e257681f1dc93d274d814e90f.zip
some work on directory widgets
Diffstat (limited to 'view/tpl/peoplefind.tpl')
-rwxr-xr-xview/tpl/peoplefind.tpl41
1 files changed, 24 insertions, 17 deletions
diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl
index 55bf1575f..6ec37539b 100755
--- a/view/tpl/peoplefind.tpl
+++ b/view/tpl/peoplefind.tpl
@@ -1,22 +1,29 @@
<div id="peoplefind-sidebar" class="widget">
<h3>{{$findpeople}}</h3>
- <div class="descriptive-text">{{$desc}}</div>
<form action="directory" method="post" />
- <input class="icon-search" id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" placeholder="&#xf002;"/>
- <input id="side-peoplefind-submit" class="btn btn-default" type="submit" name="submit" value="{{$findthem}}" />
- <br />
- {{if $advanced_search}}
- <a href="#" onclick="openClose('advanced-people-search-div'); return false;">{{$advanced_search}}</a>
- <div id="advanced-people-search-div" style="display: none;">
- <input class="icon-search" id="side-advanced-peoplefind-url" type="text" name="query" size="24" title="{{$advanced_hint}}" placeholder="&#xf002;"/>
- <input id="side-advanced-peoplefind-submit" class="btn btn-default" type="submit" name="submit" value="{{$find_advanced}}" />
+ <div class="form-group">
+ <div class="input-group">
+ <input class="widget-input" type="text" name="search" title="{{$hint}}" placeholder="{{$desc}}" />
+ <div class="input-group-btn">
+ <button class="btn btn-default btn-sm" type="submit" name="submit"><i class="icon-search"></i></button>
+ </div>
</div>
- <br />
- {{/if}}
- </form>
- {{if $similar}}<a href="match" >{{$similar}}</a><br />{{/if}}
- {{if $loggedin}}<a href="suggest" >{{$suggest}}</a><br />{{/if}}
- <a href="randprof" >{{$random}}</a><br />
- {{if $loggedin}}{{if $inv}}<a href="invite" >{{$inv}}</a>{{/if}}{{/if}}
+ </div>
+ {{if $advanced_search}}
+ <div class="form-group">
+ <div id="advanced-people-search-div" class="input-group">
+ <input class="widget-input" type="text" name="query" title="{{$advanced_hint}}" placeholder="{{$find_advanced}}" />
+ <div class="input-group-btn">
+ <button class="btn btn-default btn-sm" type="submit" name="submit"><i class="icon-search"></i></button>
+ </div>
+ </div>
+ </div>
+ {{/if}}
+</form>
+ <ul class="nav nav-pills nav-stacked">
+ {{if $similar}}<li><a href="match" >{{$similar}}</a></li>{{/if}}
+ {{if $loggedin}}<li><a href="suggest" >{{$suggest}}</a></li>{{/if}}
+ <li><a href="randprof" >{{$random}}</a></li>
+ {{if $loggedin}}{{if $inv}}<li><a href="invite" >{{$inv}}</a></li>{{/if}}{{/if}}
+ </ul>
</div>
-