Sjabloon:Domein form: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 18: Regel 18:
 
   --><div><b>Intro text</b></div><!--  
 
   --><div><b>Intro text</b></div><!--  
 
--><wsfield type="textarea" name="Intro" class="form-control"  >{{#caprint:@domeininfo[0][Intro]}}</wsfield><!--  
 
--><wsfield type="textarea" name="Intro" class="form-control"  >{{#caprint:@domeininfo[0][Intro]}}</wsfield><!--  
   -->{{#vardefine:@color-value|{{#expr:{{#caprint:@domeininfo[0][Color]}} / 360 * 100  }} }}{{#var:@color-value}}<!--  
+
   -->{{#vardefine:@color-value|{{#expr:{{#caprint:@domeininfo[0][Color]}} / 360 * 100  }} }}<!--  
 
--><b class="red">KLEUR</b><div class="fake-slider-group">{{#tag:html|<div id="fake-slider" style="background:linear-gradient(90deg, var(--main-color) 0%, var(--main-color) calc((var(--color-input)/ 360 * 100)*1%), white calc((var(--color-input)/ 360 * 100)*1%), white 100%);"></div>}}<wsfield type="range" name="Color" class="form-control" id="change-color" value="{{#var:@color-value}}" /></div><!--  
 
--><b class="red">KLEUR</b><div class="fake-slider-group">{{#tag:html|<div id="fake-slider" style="background:linear-gradient(90deg, var(--main-color) 0%, var(--main-color) calc((var(--color-input)/ 360 * 100)*1%), white calc((var(--color-input)/ 360 * 100)*1%), white 100%);"></div>}}<wsfield type="range" name="Color" class="form-control" id="change-color" value="{{#var:@color-value}}" /></div><!--  
 
  --><!--  
 
  --><!--  

Versie van 11 mrt 2021 17:36