aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-08 14:11:39 -0800
committerfriendica <info@friendica.com>2014-01-08 14:11:39 -0800
commit29db2369811ba35515d285491ce089d937ed8d29 (patch)
tree961e460561b94f9a16c7fda4de965ec983649684 /view
parent73102f0c261be1ca54bf454264ea85fa266bfab8 (diff)
downloadvolse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.tar.gz
volse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.tar.bz2
volse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.zip
qr enhancements
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_directory.css5
-rwxr-xr-xview/tpl/direntry_large.tpl11
2 files changed, 13 insertions, 3 deletions
diff --git a/view/css/mod_directory.css b/view/css/mod_directory.css
index 578777054..bc8054937 100644
--- a/view/css/mod_directory.css
+++ b/view/css/mod_directory.css
@@ -37,3 +37,8 @@
div.dirtagblock.widget {
overflow: hidden;
}
+
+.dirpopup {
+ float: left;
+ width: 225px;
+}
diff --git a/view/tpl/direntry_large.tpl b/view/tpl/direntry_large.tpl
index a1800c994..befd2a27a 100755
--- a/view/tpl/direntry_large.tpl
+++ b/view/tpl/direntry_large.tpl
@@ -2,11 +2,16 @@
<div class="generic-content-wrapper">
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$id}}" >
-<div class="contact-photo" id="directory-photo-{{$id}}" >
-<a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" style="height:175px; width:175px;" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
-</div>
+ <div class="contact-photo dirpopup" id="directory-photo-{{$id}}" >
+ <a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" style="height:175px; width:175px;" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
+ </div>
+ <div class="contact-photo dirpopup" id="directory-qr-{{$id}}" >
+ <img class="directory-photo-img" style="height:175px; width:175px;" src="photo/qr?f=&qr={{$qrlink}}" alt="QR" title="{{$qrlink}}" />
+ </div>
</div>
+<div class="clear"></div>
+
<div class="contact-name" id="directory-name-{{$id}}" >{{$name}}</div>
{{if $connect}}
<div class="directory-connect"><a href="{{$connect}}">{{$conn_label}}</a></div>