ussr-hubzilla-themes/ussrbasicpub/tpl/theme_settings.tpl

37 lines
1.7 KiB
Smarty
Raw Normal View History

2024-02-17 16:00:05 +00:00
{{include file="field_checkbox.tpl" field=$dark_mode}}
2018-11-05 08:26:24 +00:00
{{include file="field_checkbox.tpl" field=$narrow_navbar}}
{{include file="field_input.tpl" field=$converse_width}}
{{include file="field_input.tpl" field=$font_size}}
{{include file="field_checkbox.tpl" field=$advanced_theming}}
2024-02-17 16:00:05 +00:00
2018-11-05 08:26:24 +00:00
{{if $expert}}
2024-02-17 16:00:05 +00:00
<h3>{{$light}}</h3>
{{include file="field_checkbox.tpl" field=$navbar_dark_mode}}
2018-11-05 08:26:24 +00:00
{{include file="field_colorinput.tpl" field=$nav_bg}}
2024-02-17 16:00:05 +00:00
{{include file="field_colorinput.tpl" field=$bgcolor}}
2018-11-05 08:26:24 +00:00
{{include file="field_colorinput.tpl" field=$background_image}}
2024-02-17 16:00:05 +00:00
{{include file="field_colorinput.tpl" field=$link_color}}
{{include file="field_colorinput.tpl" field=$link_hover_color}}
<h3>{{$dark}}</h3>
{{include file="field_colorinput.tpl" field=$nav_bg_dark}}
{{include file="field_colorinput.tpl" field=$bgcolor_dark}}
{{include file="field_colorinput.tpl" field=$background_image_dark}}
{{include file="field_colorinput.tpl" field=$link_color_dark}}
{{include file="field_colorinput.tpl" field=$link_hover_color_dark}}
<h3>{{$common}}</h3>
2018-11-05 08:26:24 +00:00
{{include file="field_input.tpl" field=$radius}}
{{include file="field_input.tpl" field=$top_photo}}
{{include file="field_input.tpl" field=$reply_photo}}
<script>
$(function(){
2024-02-17 16:00:05 +00:00
$('#id_ussrbasicpub_link_color, #id_ussrbasicpub_link_color_dark, #id_ussrbasicpub_link_hover_color, #id_ussrbasicpub_link_hover_color_dark, #id_ussrbasicpub_background_color, #id_ussrbasicpub_background_color_dark, #id_ussrbasicpub_nav_bg, #id_ussrbasicpub_nav_bg_dark').colorpicker({format: 'rgba'});
2018-11-05 08:26:24 +00:00
});
</script>
{{/if}}
<div class="settings-submit-wrapper" >
<button type="submit" name="ussrbasicpub-settings-submit" class="btn btn-primary">{{$submit}}</button>
</div>