aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/connections.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
commite332d1074f1b663ec66d37b0f575df2e41d5535c (patch)
tree6309a232348eb70ed4db5fbb7ed898f98c5beee8 /view/theme/redbasic/tpl/connections.tpl
parent42ed73ed4ac55ac62214301097f7d72cbcb37238 (diff)
downloadvolse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.gz
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.bz2
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.zip
move theme specific files to theme dir
Diffstat (limited to 'view/theme/redbasic/tpl/connections.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/connections.tpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/connections.tpl b/view/theme/redbasic/tpl/connections.tpl
new file mode 100755
index 000000000..13261965a
--- /dev/null
+++ b/view/theme/redbasic/tpl/connections.tpl
@@ -0,0 +1,36 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper clearfix">
+ <div class="dropdown pull-right">
+ <button type="button" class="btn btn-primary btn-sm" onclick="openClose('contacts-search-form'); $('#contacts-search').focus()">
+ <i class="fa fa-search"></i>&nbsp;{{$label}}
+ </button>
+ <button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{$sort}}">
+ <i class="fa fa-sort"></i>
+ </button>
+ <div class="dropdown-menu dropdown-menu-right">
+ {{foreach $tabs as $menu}}
+ <a class="dropdown-item" href="{{$menu.url}}">{{$menu.label}}</a>
+ {{/foreach}}
+ </div>
+ </div>
+ {{if $finding}}<h2>{{$finding}}</h2>{{else}}<h2>{{$header}}{{if $total}} ({{$total}}){{/if}}</h2>{{/if}}
+ </div>
+ <div id="contacts-search-form" class="section-content-tools-wrapper">
+ <form action="{{$cmd}}" method="get" >
+ <div class="input-group form-group">
+ <input type="text" name="search" id="contacts-search" class="form-control" onfocus="this.select();" value="{{$search}}" placeholder="{{$desc}}" />
+ <div class="input-group-btn">
+ <button id="contacts-search-submit" class="btn btn-outline-secondary" type="submit" name="submit" value="{{$submit}}"><i class="fa fa-fw fa-search"></i></button>
+ </div>
+ </div>
+ </form>
+ </div>
+ <div id="connections-wrapper clearfix">
+ {{foreach $contacts as $contact}}
+ {{include file="connection_template.tpl"}}
+ {{/foreach}}
+ <div id="page-end"></div>
+ </div>
+</div>
+<script>$(document).ready(function() { loadingPage = false;});</script>
+<div id="page-spinner"></div>