friendica-github/view/theme/quattro/templates/theme_settings.tpl
2024-08-24 20:23:27 +02:00

38 lines
1.1 KiB
Smarty

{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
<script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></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>