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  }} }}<!--  
+
   -->{{#vardefine:@color-value|{{#expr:{{#caprint:@domeininfo[0][Color]}} / 360 * 100  }} }}{{#var:@color-value}}<!--  
 
--><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><!--  
 
  --><!--  
 
  --><!--  
Regel 24: Regel 24:
 
  --><!-- {{#tag:wslabel|@@@{{#tag:wsfield||type=radio|name=Thema|class=form-control|value=@@@}}| }} --><!--  
 
  --><!-- {{#tag:wslabel|@@@{{#tag:wsfield||type=radio|name=Thema|class=form-control|value=@@@}}| }} --><!--  
 
  --><!-- |}} --><!--  
 
  --><!-- |}} --><!--  
 
+
-->{{#Widget:Color_input}}<!--
 
   --><div><b>Logo</b></div><!--  
 
   --><div><b>Logo</b></div><!--  
 
  --><div class="d-flex">[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|300px|Logo.png]]<!--  
 
  --><div class="d-flex">[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|300px|Logo.png]]<!--  

Versie van 11 mrt 2021 17:05