aboutsummaryrefslogtreecommitdiffstats
path: root/view/contact_slider.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-15 22:44:05 -0700
committerfriendica <info@friendica.com>2012-07-15 22:44:05 -0700
commit945ac38a7376926c54906a18382eaa1d4b983c03 (patch)
tree379e6a03ad7c5d6418b14936c9e1bd9d49784606 /view/contact_slider.tpl
parent92d4e6ebb393e964a4ac23aada09f04a965ce001 (diff)
downloadvolse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.tar.gz
volse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.tar.bz2
volse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.zip
contact edit slider
Diffstat (limited to 'view/contact_slider.tpl')
-rw-r--r--view/contact_slider.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/contact_slider.tpl b/view/contact_slider.tpl
new file mode 100644
index 000000000..9b8a52320
--- /dev/null
+++ b/view/contact_slider.tpl
@@ -0,0 +1,4 @@
+<div id="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="$val" /></div>
+<script>
+ $("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '$intimate', '|', '$friends', '|', '$coworkers', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } });
+</script>