diff options
author | friendica <info@friendica.com> | 2015-01-27 16:51:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-27 16:51:13 -0800 |
commit | f0b900057a63a5c9efb8f35daa05b6c7e79d0adb (patch) | |
tree | b43637fa24bae1bb3f89971b735a25c6235a844e /view/tpl/direntry.tpl | |
parent | 2f4ef7660c82f7b8878a7c2d14c9e69a52b8fbc0 (diff) | |
download | volse-hubzilla-f0b900057a63a5c9efb8f35daa05b6c7e79d0adb.tar.gz volse-hubzilla-f0b900057a63a5c9efb8f35daa05b6c7e79d0adb.tar.bz2 volse-hubzilla-f0b900057a63a5c9efb8f35daa05b6c7e79d0adb.zip |
first cut at direntry template, right now just provide a mockup with a slider and rating count to look at.
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-x | view/tpl/direntry.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index cdc6f1f97..f51fd0908 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -15,6 +15,18 @@ <div class='contact-info'> <div class="contact-name" id="directory-name-{{$entry.id}}" ><a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}} <i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</div> +{{*if $entry.rateme*}} +<div id="dir-rating-wrapper-{{$entry.id}}" style="float:right; width: 20%;"> +62 ratings<br /> +<div id="dir-rating-slider-{{$entry.id}}" class="dir-slider" style="height: 32px; margin-right:10px;"> +<input id="dir-rating-range-{{$entry.id}}" type="text" value="0" name="fake-rating-{{$entry.id}}" style="display: none;"> +</div> +</div> +<div class="clear"></div> +<script> +$("#dir-rating-range-{{$entry.id}}").jRange({ from: -10, to: 10, step: 1, width:'100%', showLabels: false, showScale: true, scale : [ '-10','-5','0','5','10' ], onstatechange: function(v) { $("#contact-rating-mirror").val(v); } }); +</script> +{{*/if*}} {{if $entry.public_forum}} <div class="contact-forum"> {{$entry.forum_label}} @{{$entry.nickname}}+ |