Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 1: | Regel 1: | ||
− | <div class="main-wrapper">{{#ifeq:{{#urlget:mode}}|edit|{{#tag:html|<form>}} }}<!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!-- | + | <div class="main-wrapper">{{#ifeq:{{#urlget:mode}}|edit|{{#tag:html|<form>}}<wscreate mwtemplate="Bericht" mwwrite="{{FULLPAGENAME}}" /> }}<!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!-- |
--><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|<!-- | --><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|<!-- | ||
--><wsfield type="hidden" name="Pagename" value="{{FULLPAGENAME}}" /><!-- | --><wsfield type="hidden" name="Pagename" value="{{FULLPAGENAME}}" /><!-- | ||
Regel 8: | Regel 8: | ||
--><wsfield type="hidden" name="Prefix" value="{{#explode:{{FULLPAGENAME}}|/|0}}" /><!-- | --><wsfield type="hidden" name="Prefix" value="{{#explode:{{FULLPAGENAME}}|/|0}}" /><!-- | ||
--><wsfield type="hidden" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein" /><!-- | --><wsfield type="hidden" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein" /><!-- | ||
− | --><wsfield type="button" class="btn pull-right" onclick=" | + | --><wsfield type="button" class="btn pull-right" onclick="uploadFiles()" >Opslaan</wsfield><!-- |
− | --><wsfield type=" | + | --><wsfield type="submit" class="btn pull-right d-none" id="real-submit" value="save" /><!-- |
-->{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}<!-- | -->{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}<!-- | ||
-->|<!-- | -->|<!-- | ||
Regel 32: | Regel 32: | ||
{{{Bericht|}}} }}<!-- | {{{Bericht|}}} }}<!-- | ||
--></div><!-- | --></div><!-- | ||
− | -- | + | --><!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--><div class="grid-img"><!-- | --><div class="grid-img"><!-- | ||
--><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link=]]}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload | --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link=]]}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload |