diff options
Diffstat (limited to 'view/tpl/xchan_vcard.tpl')
-rwxr-xr-x | view/tpl/xchan_vcard.tpl | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 9c357bba8..447839167 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,10 +1,25 @@ -<div id="vcard" class="vcard h-card"> -<div id="profile-photo-wrapper"><a href="{{$link}}"><img class="vcard-photo photo u-photo" src="{{$photo}}" alt="{{$name}}" /></a></div> -{{if $connect}} -<div class="connect-btn-wrapper"><a href="follow?f=&url={{$follow}}" class="btn btn-block btn-success btn-sm" rel="nofollow"><i class="fa fa-plus"></i> {{$connect}}</a></div> -{{/if}} -<div class="fn p-name">{{$name}}</div> +<div class="card mb-3 h-card"> + <div class="row"> + <div class="col-4"> + <a href="{{$link}}" > + <img class="u-photo" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px"> + </a> + </div> + <div class="col m-1"> + <div class="row"> + <strong class="fn p-name">{{$name}}</strong> + </div> + <div class="row"> + <small class="text-muted p-adr">{{$addr}}</small> + </div> + {{if $connect}} + <div class="row mt-2"> + <a href="follow?f=&url={{$follow}}" class="btn btn-success btn-sm" rel="nofollow"> + <i class="fa fa-plus"></i> {{$connect}} + </a> + </div> + {{/if}} + </div> + </div> </div> - - |