more backend work on poco rating

This commit is contained in:
friendica
2015-01-15 14:05:18 -08:00
parent 56bc3bcdce
commit 1c9299ed42
8 changed files with 40 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
<div id="rating-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="rating-range" type="text" name="fake-rating" value="{{$val}}" /></div>
<script>
$("#rating-range").jRange({ from: {{$min|default:'-10'}}, to: 10, step: 1, width:'100%', showLabels: false, onstatechange: function(v) { $("#contact-rating-mirror").val(v); } });
</script>