]> git.mxchange.org Git - friendica.git/commitdiff
frio: follow & peoplefind widget template
authorrabuzarus <>
Mon, 6 Jun 2016 22:38:39 +0000 (00:38 +0200)
committerrabuzarus <>
Mon, 6 Jun 2016 22:38:39 +0000 (00:38 +0200)
view/theme/frio/css/style.css
view/theme/frio/templates/follow.tpl [new file with mode: 0644]
view/theme/frio/templates/peoplefind.tpl [new file with mode: 0644]

index 11f85ae93f8829e5c964dfd98cb73e888be6b279..f09cdbf1fc7e60d24dbead2d70edb5d10d4ac67d 100644 (file)
@@ -929,6 +929,16 @@ aside .vcard #wallmessage-link {
     width: 100%;
 }
 
+aside #peoplefind-sidebar input,
+aside #follow-sidebar input {
+    height: 30px;
+    background-position: 10px 5px;
+}
+aside #peoplefind-sidebar .form-group-search .form-button-search,
+aside #follow-sidebar .form-group-search .form-button-search {
+    padding: 2px 8px;
+}
+
 /* contact block widget */
 #contact-block .contact-block-content {
     clear: both;
diff --git a/view/theme/frio/templates/follow.tpl b/view/theme/frio/templates/follow.tpl
new file mode 100644 (file)
index 0000000..8100f85
--- /dev/null
@@ -0,0 +1,12 @@
+
+<div id="follow-sidebar" class="widget">
+       <h3>{{$connect}}</h3>
+       <div id="connect-desc">{{$desc}}</div>
+       <form action="follow" method="get" >
+               <div class="form-group form-group-search">
+                       <input id="side-follow-url" class="search-input form-control form-search" type="text" name="url" value="{{$value|escape:'html'}}" placeholder="{{$hint|escape:'html'}}" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
+                       <button id="side-follow-submit" class="btn btn-default btn-sm form-button-search" type="submit" name="submit" value="{{$follow|escape:'html'}}">{{$follow}}</button>
+               </div>
+       </form>
+</div>
+
diff --git a/view/theme/frio/templates/peoplefind.tpl b/view/theme/frio/templates/peoplefind.tpl
new file mode 100644 (file)
index 0000000..941fd1a
--- /dev/null
@@ -0,0 +1,18 @@
+
+<div id="peoplefind-sidebar" class="widget">
+       <h3>{{$findpeople}}</h3>
+       <div id="peoplefind-desc">{{$desc}}</div>
+       <form action="dirfind" method="get" />
+               <div class="form-group form-group-search">
+                       <input id="side-peoplefind-url" class="search-input form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
+                       <button id="side-peoplefind-submit" class="btn btn-default btn-sm form-button-search" type="submit" name="submit" value="{{$findthem|escape:'html'}}">{{$findthem}}</button>
+               </div>
+       </form>
+       <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div>
+       <div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div>
+
+       {{if $inv}} 
+       <div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div>
+       {{/if}}
+</div>
+