diff options
author | friendica <info@friendica.com> | 2013-12-06 21:40:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-06 21:40:01 -0800 |
commit | f45b06ffa004c6e6920214b64efe18e3cfe2d667 (patch) | |
tree | 83f0e15dedc9381448d95b02ee5968def3969085 /view | |
parent | 9354c33839359821111b57a2a3aea916819d9c4f (diff) | |
download | volse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.tar.gz volse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.tar.bz2 volse-hubzilla-f45b06ffa004c6e6920214b64efe18e3cfe2d667.zip |
suggestion widget
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 3 | ||||
-rwxr-xr-x | view/tpl/suggest_friends.tpl | 2 | ||||
-rw-r--r-- | view/tpl/suggest_widget.tpl | 10 |
3 files changed, 13 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0ddbe1b86..2e00fde41 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -932,7 +932,7 @@ tr.mceLast { .contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo { border-radius: $radiuspx; -moz-border-radius: $radiuspx; - box-shadow: 4px 4px 3px 0 #444444; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; } #sidebar-page-list .label { @@ -2979,3 +2979,4 @@ img.mail-list-sender-photo { .comment-edit-text-full { color: black; } +.suggest-widget-more { margin-top: 10px; }
\ No newline at end of file diff --git a/view/tpl/suggest_friends.tpl b/view/tpl/suggest_friends.tpl index 80a606912..baece361a 100755 --- a/view/tpl/suggest_friends.tpl +++ b/view/tpl/suggest_friends.tpl @@ -1,5 +1,5 @@ <div class="profile-match-wrapper"> - <a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="icon drophide smalldrop profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a> + <a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="profile-match-ignore" onclick="return confirmDelete();" ><i class="icon-remove drop-icons"></i></a> <div class="profile-match-photo"> <a href="{{$entry.url}}"> <img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.url}}]" /> diff --git a/view/tpl/suggest_widget.tpl b/view/tpl/suggest_widget.tpl new file mode 100644 index 000000000..eba8b496e --- /dev/null +++ b/view/tpl/suggest_widget.tpl @@ -0,0 +1,10 @@ +<div class="widget"> +<h3>{{$title}}</h3> +{{if $entries}} +{{foreach $entries as $child}} +{{include file="suggest_friends.tpl" entry=$child}} +{{/foreach}} +{{/if}} +<div class="clear"></div> +<div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div> +</div>
\ No newline at end of file |