aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/rating_slider.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
commite332d1074f1b663ec66d37b0f575df2e41d5535c (patch)
tree6309a232348eb70ed4db5fbb7ed898f98c5beee8 /view/tpl/rating_slider.tpl
parent42ed73ed4ac55ac62214301097f7d72cbcb37238 (diff)
downloadvolse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.gz
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.bz2
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.zip
move theme specific files to theme dir
Diffstat (limited to 'view/tpl/rating_slider.tpl')
-rw-r--r--view/tpl/rating_slider.tpl19
1 files changed, 0 insertions, 19 deletions
diff --git a/view/tpl/rating_slider.tpl b/view/tpl/rating_slider.tpl
deleted file mode 100644
index 4c36504e6..000000000
--- a/view/tpl/rating_slider.tpl
+++ /dev/null
@@ -1,19 +0,0 @@
-<div id="rating-slider" class="slider form-group"><input id="rating-range" type="text" name="fake-rating" value="{{$val}}" /></div>
-<script>
-$(document).ready(function() {
- // The slider does not render correct if width is given in % and
- // the slider container is hidden (display: none) during rendering.
- // So let's unhide it to render and hide again afterwards.
- if(!$("#rating-tool-collapse").hasClass("in")) {
- $("#rating-tool-collapse").addClass("in");
- makeRatingSlider();
- $("#rating-tool-collapse").removeClass("in");
- }
- else {
- makeRatingSlider();
- }
-});
-function makeRatingSlider() {
- $("#rating-range").jRange({ from: -10, to: 10, step: 1, width:'98%', showLabels: false, showScale: true, scale : [ '-10','-8','-6','-4','-2','0','2','4','6','8','10' ], onstatechange: function(v) { $("#contact-rating-mirror").val(v); } });
-}
-</script>