2016-05-09 23:30:09 +02:00
|
|
|
|
2016-03-28 16:29:05 +02:00
|
|
|
<link rel="stylesheet" href="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.css" type="text/css" media="screen" />
|
|
|
|
<script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script>
|
|
|
|
<script src="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.js"></script>
|
2018-01-28 22:17:36 +01:00
|
|
|
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2018-04-25 02:26:14 +02:00
|
|
|
{{include file="field_select.tpl" field=$scheme}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2019-02-21 18:07:31 +01:00
|
|
|
{{if $nav_bg}}{{include file="field_input.tpl" field=$share_string}}{{/if}}
|
2016-04-29 01:49:09 +02:00
|
|
|
{{if $nav_bg}}{{include file="field_colorinput.tpl" field=$nav_bg}}{{/if}}
|
|
|
|
{{if $nav_icon_color}}{{include file="field_colorinput.tpl" field=$nav_icon_color}}{{/if}}
|
|
|
|
{{if $link_color}}{{include file="field_colorinput.tpl" field=$link_color}}{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2018-04-25 02:37:04 +02:00
|
|
|
{{if $background_color}}{{include file="field_colorinput.tpl" field=$background_color}}{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
{{* The slider for the content opacity - We use no template for this since it is only used at this page *}}
|
2016-04-29 01:49:09 +02:00
|
|
|
{{if $contentbg_transp}}
|
2016-03-28 16:29:05 +02:00
|
|
|
<div class="form-group field input color">
|
|
|
|
<label for="id_{{$contentbg_transp.0}}" id="label_{{$contentbg_transp.0}}">{{$contentbg_transp.1}}</label>
|
2017-01-03 17:38:08 +01:00
|
|
|
<input type="hidden" class="form-control color slider-input" name="{{$contentbg_transp.0}}" id="{{$contentbg_transp.0}}" type="text" value="{{$contentbg_transp.2}}" aria-describedby="{{$contentbg_transp.0}}_tip">
|
|
|
|
<span id="{{$contentbg_transp.0}}_tip" class="help-block" role="tooltip">{{$contentbg_transp.3}}</span>
|
2016-03-28 16:29:05 +02:00
|
|
|
<div id="end_{{$contentbg_transp.0}}" class="field_end"></div>
|
|
|
|
</div>
|
2016-04-29 01:49:09 +02:00
|
|
|
{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2016-05-09 23:30:09 +02:00
|
|
|
{{if $background_image}}{{include file="field_fileinput.tpl" field=$background_image}}{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
<div id="frio_bg_image_options" style="display: none;">
|
2018-12-14 04:28:12 +01:00
|
|
|
<label>{{$bg_image_options_title}}:</label>
|
2016-03-28 16:29:05 +02:00
|
|
|
{{foreach $bg_image_options as $options}}
|
|
|
|
{{include file="field_radio.tpl" field=$options}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
|
2018-01-14 19:19:24 +01:00
|
|
|
{{if $login_bg_image}}{{include file="field_fileinput.tpl" field=$login_bg_image}}{{/if}}
|
2018-01-17 16:33:27 +01:00
|
|
|
{{if $login_bg_color}}{{include file="field_colorinput.tpl" field=$login_bg_color}}{{/if}}
|
2018-01-14 19:19:24 +01:00
|
|
|
|
2017-10-20 15:21:42 +02:00
|
|
|
<script type="text/javascript">
|
2017-10-23 15:16:23 +02:00
|
|
|
$(document).ready(function() {
|
2018-01-17 16:33:27 +01:00
|
|
|
$("#frio_nav_bg, #frio_nav_icon_color, #frio_background_color, #frio_link_color, #frio_login_bg_color").colorpicker({format: 'hex', align: 'left'});
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
// show image options when user user starts to type the address of the image
|
2016-04-28 23:20:54 +02:00
|
|
|
$("#id_frio_background_image").keyup(function(){
|
|
|
|
var elText = $(this).val();
|
|
|
|
if(elText.length !== 0) {
|
2016-03-28 16:29:05 +02:00
|
|
|
$("#frio_bg_image_options").show();
|
2016-04-28 23:20:54 +02:00
|
|
|
} else {
|
|
|
|
$("#frio_bg_image_options").hide();
|
|
|
|
}
|
|
|
|
});
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
// show the image options is there is allready an image
|
|
|
|
if($("#id_frio_background_image").val().length != 0) {
|
|
|
|
$("#frio_bg_image_options").show();
|
|
|
|
}
|
|
|
|
|
|
|
|
$('.slider-input').jRange({
|
|
|
|
from: 0,
|
|
|
|
to: 100,
|
|
|
|
step: 1,
|
|
|
|
scale: [0,10,20,30,40,50,60,70,80,90,100],
|
|
|
|
format: '%s',
|
2016-04-14 03:14:12 +02:00
|
|
|
width: '100%',
|
2016-03-28 16:29:05 +02:00
|
|
|
showLabels: true,
|
2016-04-14 03:14:12 +02:00
|
|
|
theme: 'theme-frio',
|
2016-03-28 16:29:05 +02:00
|
|
|
});
|
|
|
|
|
2017-10-23 21:15:46 +02:00
|
|
|
// The position of the slider is wrong calculated on hidden elements.
|
|
|
|
// So set an event listener toggle and update the jRange value.
|
|
|
|
$(document).on('click', '#custom-settings-title a', function() {
|
|
|
|
var bgTransp = $('#frio_contentbg_transp').val();
|
|
|
|
$('.slider-input').jRange('setValue', bgTransp);
|
|
|
|
});
|
|
|
|
|
2016-03-28 16:29:05 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2016-06-13 10:57:42 +02:00
|
|
|
<div class="settings-submit-wrapper form-group pull-right">
|
|
|
|
<button type="submit" value="{{$submit}}" class="settings-submit btn btn-primary" name="frio-settings-submit">{{$submit}}</button>
|
2016-03-28 16:29:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
2017-10-20 15:21:42 +02:00
|
|
|
<script type="text/javascript">
|
2016-03-28 16:29:05 +02:00
|
|
|
$(".inputRange").rangeinput();
|
|
|
|
</script>
|