From 97ebf9021c5297a7ab2e3685bf920458d4bd3181 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 21 Jan 2016 10:42:20 +0100 Subject: bootstrapify rating and connect buttons. position the connect button more prominent right under the profile image --- view/theme/redbasic/css/style.css | 5 +++++ view/tpl/profile_vcard.tpl | 11 ++++------- view/tpl/xchan_vcard.tpl | 9 ++++----- 3 files changed, 13 insertions(+), 12 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 5fcf901fb..d596fa332 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -310,6 +310,11 @@ footer { margin-bottom: 0px; } +.connect-btn-wrapper { + margin-bottom: 10px; + +} + .profile-edit-side-link { padding: 3px 0px; opacity: 0; diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index c52c2cd81..bfd8ff042 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,5 +1,8 @@
{{$profile.name}}
+ {{if $connect}} + + {{/if}} {{if $profile.edit}}
+{{$rating}} {{$chanmenu}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 2acbb24e4..ad409d75b 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,11 +1,10 @@
{{$name}}
+{{if $connect}} + +{{/if}}
{{$name}}
-{{if $mode != 'mail'}} -{{if $connect}} - {{$connect}} -{{/if}} -{{/if}} + -- cgit v1.2.3