diff options
author | redmatrix <git@macgirvin.com> | 2016-06-21 19:25:14 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-21 19:25:14 -0700 |
commit | 2a840460dddb06c99b616b5adc666ee0f39588de (patch) | |
tree | 37daf593207828e5b09f927d5190af3e5a350523 /view | |
parent | 12f114c4bea5a48466da60d9f68f1f74a9671329 (diff) | |
download | volse-hubzilla-2a840460dddb06c99b616b5adc666ee0f39588de.tar.gz volse-hubzilla-2a840460dddb06c99b616b5adc666ee0f39588de.tar.bz2 volse-hubzilla-2a840460dddb06c99b616b5adc666ee0f39588de.zip |
vcard spec changes
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/diaspora_vcard.tpl | 26 | ||||
-rwxr-xr-x | view/tpl/profile_vcard.tpl | 22 | ||||
-rwxr-xr-x | view/tpl/xchan_vcard.tpl | 6 |
3 files changed, 30 insertions, 24 deletions
diff --git a/view/tpl/diaspora_vcard.tpl b/view/tpl/diaspora_vcard.tpl index f9dac9306..3812823da 100644 --- a/view/tpl/diaspora_vcard.tpl +++ b/view/tpl/diaspora_vcard.tpl @@ -1,51 +1,57 @@ <div style="display:none;"> + <dl class="entity_uid"> + <dt>Uid</dt> + <dd> + <span class="uid p-uid">{{$diaspora.guid}}</span> + </dd> + </dl> <dl class='entity_nickname'> <dt>Nickname</dt> <dd> - <a class="nickname url uid" href="{{$diaspora.podloc}}/" rel="me">{{$diaspora.fullname}}</a> + <a class="nickname p-nickname">{{$diaspora.nickname}}</a> </dd> </dl> - <dl class='entity_fn'> + <dl class='entity_full_name'> <dt>Full name</dt> <dd> - <span class='fn'>{{$diaspora.fullname}}</span> + <span class='fn p-name'>{{$diaspora.fullname}}</span> </dd> </dl> - <dl class='entity_given_name'> + <dl class='entity_first_name'> <dt>First name</dt> <dd> - <span class='given_name'>{{$diaspora.firstname}}</span> + <span class='given_name p-given-name'>{{$diaspora.firstname}}</span> </dd> </dl> <dl class='entity_family_name'> <dt>Family name</dt> <dd> - <span class='family_name'>{{$diaspora.lastname}}</span> + <span class='family_name p-family-name'>{{$diaspora.lastname}}</span> </dd> </dl> <dl class="entity_url"> <dt>URL</dt> <dd> - <a class="url" href="{{$diaspora.podloc}}/" id="pod_location" rel="me">{{$diaspora.podloc}}/</a> + <a href="{{$diaspora.podloc}}/" id="pod_location" >{{$diaspora.podloc}}/</a> </dd> </dl> <dl class="entity_photo"> <dt>Photo</dt> <dd> - <img class="photo avatar" height="300" width="300" src="{{$diaspora.photo300}}"> + <img class="photo u-photo avatar" height="300" width="300" src="{{$diaspora.photo300}}"> </dd> </dl> <dl class="entity_photo_medium"> <dt>Photo</dt> <dd> - <img class="photo avatar" height="100" width="100" src="{{$diaspora.photo100}}"> + <img class="photo u-photo avatar" height="100" width="100" src="{{$diaspora.photo100}}"> </dd> </dl> <dl class="entity_photo_small"> <dt>Photo</dt> <dd> - <img class="photo avatar" height="50" width="50" src="{{$diaspora.photo50}}"> + <img class="photo u-photo avatar" height="50" width="50" src="{{$diaspora.photo50}}"> </dd> </dl> <dl class="entity_searchable"> diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 7d7d2019a..626649784 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,6 +1,6 @@ -<div class="vcard"> +<div class="vcard h-card"> {{if ! $zcard}} - <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}"></div> + <div id="profile-photo-wrapper"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}"></div> {{/if}} {{if $connect}} <div class="connect-btn-wrapper"><a href="{{$connect_url}}" class="btn btn-block btn-success btn-sm"><i class="fa fa-plus"></i> {{$connect}}</a></div> @@ -25,29 +25,29 @@ {{/if}} {{if ! $zcard}} - <div class="fn">{{$profile.fullname}}{{if $profile.online}} <i class="fa fa-asterisk online-now" title="{{$profile.online}}"></i>{{/if}}</div> + <div class="fn p-name">{{$profile.fullname}}{{if $profile.online}} <i class="fa fa-asterisk online-now" title="{{$profile.online}}"></i>{{/if}}</div> {{if $reddress}}<div class="reddress" oncopy="return false;">{{$profile.reddress}}</div>{{/if}} {{/if}} {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}} {{if $location}} <dl class="location"><dt class="location-label">{{$location}}</dt> - <dd class="adr"> - {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}} + <dd class="adr h-adr"> + {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address}}</div>{{/if}} <span class="city-state-zip"> - <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}} - <span class="region">{{$profile.region}}</span> - <span class="postal-code">{{$profile.postal_code}}</span> + <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}} + <span class="region p-region">{{$profile.region}}</span> + <span class="postal-code p-postal-code">{{$profile.postal_code}}</span> </span> - {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}} + {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}} </dd> </dl> {{/if}} - {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}} + {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="p-gender">{{$profile.gender}}</dd></dl>{{/if}} {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart"><i class="fa fa-heart"></i> </span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}} - {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url">{{$profile.homepage}}</dd></dl>{{/if}} + {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url">{{$profile.homepage}}</dd></dl>{{/if}} {{if $diaspora}} {{include file="diaspora_vcard.tpl"}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 9a1e23beb..ac796cd47 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,9 +1,9 @@ -<div id="vcard" class="vcard"> -<div id="profile-photo-wrapper"><a href="{{$link}}"><img class="vcard-photo photo" src="{{$photo}}" alt="{{$name}}" /></a></div> +<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"><i class="fa fa-plus"></i> {{$connect}}</a></div> {{/if}} -<div class="fn">{{$name}}</div> +<div class="fn p-name">{{$name}}</div> </div> |