aboutsummaryrefslogtreecommitdiffstats
path: root/view/main_slider.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-19 01:43:23 -0700
committerfriendica <info@friendica.com>2012-07-19 01:43:23 -0700
commit3b1c2ce0012eab78482e9695bb7f1ca60feca050 (patch)
tree2df212e5659e8eec4f6ccbd93dda45328fb721df /view/main_slider.tpl
parentf0fd22d01bbf57dd5d50e36f6b1e1a1cc7bd2af5 (diff)
downloadvolse-hubzilla-3b1c2ce0012eab78482e9695bb7f1ca60feca050.tar.gz
volse-hubzilla-3b1c2ce0012eab78482e9695bb7f1ca60feca050.tar.bz2
volse-hubzilla-3b1c2ce0012eab78482e9695bb7f1ca60feca050.zip
the main slider sort of works for testing now
Diffstat (limited to 'view/main_slider.tpl')
-rw-r--r--view/main_slider.tpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/view/main_slider.tpl b/view/main_slider.tpl
index 8792fe1dc..bc9a60ed1 100644
--- a/view/main_slider.tpl
+++ b/view/main_slider.tpl
@@ -1,10 +1,14 @@
-<div id="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="main-range" type="text" name="cminmax" value="0;99" /></div>
+<div id="main-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 80%;"><input id="main-range" type="text" name="cminmax" value="$val" /></div>
+<input id="slider-refresh" type="submit" name="submit" value="$refresh" onclick="networkRefresh();" /><div class="clear"></div>
<script>
$("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '$intimate', '|', '$friends', '|', '$coworkers', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) {
var carr = v.split(";");
network_cmin = carr[0];
network_cmax = carr[1];
- var newcmd = buildCmd();
- var f;
} });
+
+ function networkRefresh() {
+ window.location.href = buildCmd();
+ }
+
</script>