diff --git a/view/templates/field/range_percent.tpl b/view/templates/field/range_percent.tpl new file mode 100644 index 0000000000..0336b616d3 --- /dev/null +++ b/view/templates/field/range_percent.tpl @@ -0,0 +1,20 @@ +
+{{if !isset($label) || $label != false }} + +{{/if}} +
+
+ +
+
+
+ + % +
+
+
+{{if $field.3}} + {{$field.3 nofilter}} +{{/if}} +
+
diff --git a/view/theme/frio/templates/theme_settings.tpl b/view/theme/frio/templates/theme_settings.tpl index 505aa55c22..c9b350865e 100644 --- a/view/theme/frio/templates/theme_settings.tpl +++ b/view/theme/frio/templates/theme_settings.tpl @@ -56,27 +56,7 @@ {{if $background_color}}{{include file="field_colorinput.tpl" field=$background_color}}{{/if}} -{{* The slider for the content opacity - We use no template for this since it is only used at this page *}} -{{if $contentbg_transp}} -
- - -
-
- -
-
-
- - % -
-
-
- - {{$contentbg_transp.3}} -
-
-{{/if}} +{{if $contentbg_transp}}{{include file="field/range_percent.tpl" field=$contentbg_transp}}{{/if}} {{if $background_image}}{{include file="field_fileinput.tpl" field=$background_image}}{{/if}}