friendica_2021-01/view/theme/quattro/smarty3/theme_settings.tpl
2012-12-25 12:28:24 -07:00

32 lines
880 B
Smarty

<script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script>
{{include file="field_select.tpl" field=$color}}
{{include file="field_select.tpl" field=$align}}
<div class="field">
<label for="id_{{$pfs.0}}">{{$pfs.1}}</label>
<input type="range" class="inputRange" id="id_{{$pfs.0}}" name="{{$pfs.0}}" value="{{$pfs.2}}" min="10" max="22" step="1" />
<span class="field_help"></span>
</div>
<div class="field">
<label for="id_{{$tfs.0}}">{{$tfs.1}}</label>
<input type="range" class="inputRange" id="id_{{$tfs.0}}" name="{{$tfs.0}}" value="{{$tfs.2}}" min="10" max="22" step="1" />
<span class="field_help"></span>
</div>
<div class="settings-submit-wrapper">
<input type="submit" value="{{$submit}}" class="settings-submit" name="quattro-settings-submit" />
</div>
<script>
$(".inputRange").rangeinput();
</script>