Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 1: | Regel 1: | ||
<div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!-- | <div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!-- | ||
− | -->{{#ifeq:{{#urlget:mode}}|edit|<div class="d-flex justify-content-end">Layout {{#tag:html|<select name="Layout" id="multi-select3" onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" > | + | -->{{#ifeq:{{#urlget:mode}}|edit|<div class="d-flex justify-content-end align-items-center">Layout {{#tag:html|<select name="Layout" id="multi-select3" onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" > |
{{#arraymap:layout1, layout2|,|@@@|<option value="@@@">@@@</option>|}} | {{#arraymap:layout1, layout2|,|@@@|<option value="@@@">@@@</option>|}} | ||
</select>}} Auteur <wsfield type="text" name="Auteur" value="{{#if:{{{Auteur|}}}|{{{Auteur|}}}|{{CURRENTLOGGEDUSER}}}}" /> <wsfield type="text" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein" class="form-control d-none" /> {{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}</div>|{{#widget:link|type=a|class=btn float-right|text={{fa|edit}}|href={{fullurl:{{FULLPAGENAME}}|mode=edit}} }} }}<!-- | </select>}} Auteur <wsfield type="text" name="Auteur" value="{{#if:{{{Auteur|}}}|{{{Auteur|}}}|{{CURRENTLOGGEDUSER}}}}" /> <wsfield type="text" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein" class="form-control d-none" /> {{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}</div>|{{#widget:link|type=a|class=btn float-right|text={{fa|edit}}|href={{fullurl:{{FULLPAGENAME}}|mode=edit}} }} }}<!-- |