(init properties)
(init properties)
 
(3 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 33 : Ligne 33 :
 
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Categories|height=58|width=100%|hideroot|list}}}</div>
 
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Categories|height=58|width=100%|hideroot|list}}}</div>
 
<!-- START CHECKBOXES ADMIN PROPERTY LIST --><div class="WfFormLabel">{{int:dokit-autopropertyvalue-Public}}</div>
 
<!-- START CHECKBOXES ADMIN PROPERTY LIST --><div class="WfFormLabel">{{int:dokit-autopropertyvalue-Public}}</div>
{{{field|Public|mandatory|input type=checkboxes|class=WfFormCheckbox|hide select al|mapping using translate=dokit-autopropertyvalue-Public-}}}
+
{{{field|Public|input type=checkboxes|class=WfFormCheckbox|hide select al|mapping using translate=dokit-autopropertyvalue-Public-}}}
 +
<div class="WfFormLabel">{{int:dokit-autopropertyvalue-Type_de_contenu}}</div>
 +
{{{field|Type de contenu|input type=checkboxes|class=WfFormCheckbox|hide select al|mapping using translate=dokit-autopropertyvalue-Type_de_contenu-}}}
 
<!--END CHECKBOXES ADMIN PROPERTY LIST -->
 
<!--END CHECKBOXES ADMIN PROPERTY LIST -->
 
</div>
 
</div>
Ligne 75 : Ligne 77 :
 
</div>
 
</div>
 
<div class="dokit-video-url" id="dokit-video-mp4">
 
<div class="dokit-video-url" id="dokit-video-mp4">
{{{field|mp4video|uploadable|size=25|class=form-picture}}}
+
{{{field|mp4video|class=WfFormText|uploadable|mandatory|size=25}}}
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
Ligne 100 : Ligne 102 :
 
{{{end template}}}
 
{{{end template}}}
 
{{{for template|ItemList|multiple|maximum instances=100|add button text={{int:dokit-item-tabs-btnlink}}|embed in field=Materials[ItemList]}}}{{{field|Item|input type=combobox|existing values only|placeholder={{int:dokit-item-tabs-placeholder}}|values from namespace=Item}}}{{{end template}}}
 
{{{for template|ItemList|multiple|maximum instances=100|add button text={{int:dokit-item-tabs-btnlink}}|embed in field=Materials[ItemList]}}}{{{field|Item|input type=combobox|existing values only|placeholder={{int:dokit-item-tabs-placeholder}}|values from namespace=Item}}}{{{end template}}}
{{{for template|Prerequisites|multiple|maximum instances=20|add button text={{int:wf-prerequisites-tabs-btnlink}}|embed in field=Materials[Prerequisites]}}}{{{field|Prerequisites|input type=combobox|existing values only|placeholder={{int:wf-prerequisites-tabs-placeholder}}|values from category=Tutorials}}}{{{end template}}}
+
{{{for template|Prerequisites|multiple|maximum instances=20|add button text={{int:wf-prerequisites-tabs-btnlink}}|embed in field=Materials[Prerequisites]}}}{{{field|Prerequisites|input type=combobox|existing values only|placeholder={{int:wf-prerequisites-tabs-placeholder}}|values from concept=QueryTutorials}}}{{{end template}}}
 
{{{for template|ExternalAttachmentsLinks|multiple|maximum instances=10|add button text={{int:wf-formtutorial-file-tabs-btnlink}}|embed in field=Materials[ExternalAttachmentsLinks]}}}{{{field|ExternalAttachmentsLinks|input type=text|class=WfFormTextFullWidth}}}{{{end template}}}
 
{{{for template|ExternalAttachmentsLinks|multiple|maximum instances=10|add button text={{int:wf-formtutorial-file-tabs-btnlink}}|embed in field=Materials[ExternalAttachmentsLinks]}}}{{{field|ExternalAttachmentsLinks|input type=text|class=WfFormTextFullWidth}}}{{{end template}}}
 
{{{for template|Tuto_Attachments|multiple|maximum instances=30|add button text={{int:wf-formtutorial-file-tabs-btnfile}}|embed in field=Materials[Tuto_Attachments]}}}{{{field|Attachment|class=WfFormText|default=|uploadable}}}{{{end template}}}
 
{{{for template|Tuto_Attachments|multiple|maximum instances=30|add button text={{int:wf-formtutorial-file-tabs-btnfile}}|embed in field=Materials[Tuto_Attachments]}}}{{{field|Attachment|class=WfFormText|default=|uploadable}}}{{{end template}}}
Ligne 114 : Ligne 116 :
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
 
<div class="multipleTemplate-tutostep">{{{for template|Tuto Step|multiple|minimum instances=1|maximum instances=400|add button text={{int:wf-formtutorial-step-btnaddstep}} }}}
 
<div class="multipleTemplate-tutostep">{{{for template|Tuto Step|multiple|minimum instances=1|maximum instances=400|add button text={{int:wf-formtutorial-step-btnaddstep}} }}}
<div class="WfFormTutoStep">
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitReusableStepEnable::yes]] }}|<div class="dokit-custom-dropdown-topright">{{{field|StepType|input type=dropdown|class=WfFormDropdown WfFormDropdownAutoWidth|default=Normal|noempty|mapping using translate=dokit-propertyvalue-reusablestep-|mandatory|show on select=Normal=>TutoStepNormal;Transclude=>TutoStepTransclude;}}}</div>
 +
<div id="TutoStepTransclude">{{{field|embedstep|input type=combobox|existing values only|placeholder={{int:dokit-reusable-field-placeholder}}|values from concept=QueryStandAloneSteps}}}</div>
 +
<div class="WfFormTutoStep" id="TutoStepNormal">
 
<div class="col-sm-6 col-xs-12 col-sm-push-6 WfFormTutoStepInstructions">
 
<div class="col-sm-6 col-xs-12 col-sm-push-6 WfFormTutoStepInstructions">
 
<div class="step-title-numeroted">{{{field|Step_Title|input type=text|translatable|class=form-text form-step-title|placeholder={{int:wf-formtutorial-step-title-placeholder}}|size=50}}}</div>
 
<div class="step-title-numeroted">{{{field|Step_Title|input type=text|translatable|class=form-text form-step-title|placeholder={{int:wf-formtutorial-step-title-placeholder}}|size=50}}}</div>
 
<div>{{{field|Step_Content|input type=textarea|translatable|rows=16|class=form-textarea}}}</div>
 
<div>{{{field|Step_Content|input type=textarea|translatable|rows=16|class=form-textarea}}}</div>
</div>
+
</div>|<div class="WfFormTutoStep">
 +
<div class="col-sm-6 col-xs-12 col-sm-push-6 WfFormTutoStepInstructions">
 +
<div class="step-title-numeroted">{{{field|Step_Title|input type=text|translatable|class=form-text form-step-title|placeholder={{int:wf-formtutorial-step-title-placeholder}}|size=50}}}</div>
 +
<div>{{{field|Step_Content|input type=textarea|translatable|rows=16|class=form-textarea}}}</div>
 +
</div>}}
 
<div class="col-sm-6 col-xs-12 col-sm-pull-6">
 
<div class="col-sm-6 col-xs-12 col-sm-pull-6">
 
<div class="col-pic-step msuploadContainer">
 
<div class="col-pic-step msuploadContainer">
{{{field|Step_Picture_00|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_00_annotation|input type=editableImage|target=Step_Picture_00}}}
 
{{{field|Step_Picture_00_annotation|input type=editableImage|target=Step_Picture_00}}}
{{{field|Step_Picture_01|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_01|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_01_annotation|input type=editableImage|target=Step_Picture_01}}}
 
{{{field|Step_Picture_01_annotation|input type=editableImage|target=Step_Picture_01}}}
{{{field|Step_Picture_02|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_02|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_02_annotation|input type=editableImage|target=Step_Picture_02}}}
 
{{{field|Step_Picture_02_annotation|input type=editableImage|target=Step_Picture_02}}}
{{{field|Step_Picture_03|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_03|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_03_annotation|input type=editableImage|target=Step_Picture_03}}}
 
{{{field|Step_Picture_03_annotation|input type=editableImage|target=Step_Picture_03}}}
{{{field|Step_Picture_04|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_04|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_04_annotation|input type=editableImage|target=Step_Picture_04}}}
 
{{{field|Step_Picture_04_annotation|input type=editableImage|target=Step_Picture_04}}}
{{{field|Step_Picture_05|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_05|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_05_annotation|input type=editableImage|target=Step_Picture_05}}}
 
{{{field|Step_Picture_05_annotation|input type=editableImage|target=Step_Picture_05}}}
 
</div>
 
</div>
Ligne 139 : Ligne 147 :
 
{{{for template|Notes}}}{{{end template}}}
 
{{{for template|Notes}}}{{{end template}}}
 
{{{for template|PageLang}}}<div id="language-dropdown">{{{field|Language|input type=dropdown|hidden|class=language-value}}}</div>{{{end template}}}
 
{{{for template|PageLang}}}<div id="language-dropdown">{{{field|Language|input type=dropdown|hidden|class=language-value}}}</div>{{{end template}}}
<hr class="WfEndForm hide-mobile-view">
+
<hr class="WfEndForm">
 
<div class="saving-menu">{{{standard input|saveDraft}}}
 
<div class="saving-menu">{{{standard input|saveDraft}}}
 
<span class="display-none">{{{standard input|watch}}}</span>{{{standard input|save}}}<span id="loaderSave"><i class="fa fa-spinner fa-pulse fa-2x fa-fw "></i></span>{{{standard input|cancel}}}<div class="status-checkbox-container"><span class="status-checkbox-label">{{int:wf-completetooltip-label}}</span><span class="status-checkbox">{{{for template|Tuto_Status}}}{{{field|Complete|default=Draft|mandatory|input type=dropdown|class=WfFormDropdownLight|mapping using translate=wf-propertyvalue-complete-}}}{{{end template}}}</span><span class="custom-tooltip-light">{{#info:<p>'''{{int:wf-propertyvalue-complete-Published}} :''' {{int:wf-completetooltip-published-description}}</p><p>'''{{int:wf-propertyvalue-complete-Draft}} :''' {{int:wf-completetooltip-draft-description}}</p>}}</span></div>
 
<span class="display-none">{{{standard input|watch}}}</span>{{{standard input|save}}}<span id="loaderSave"><i class="fa fa-spinner fa-pulse fa-2x fa-fw "></i></span>{{{standard input|cancel}}}<div class="status-checkbox-container"><span class="status-checkbox-label">{{int:wf-completetooltip-label}}</span><span class="status-checkbox">{{{for template|Tuto_Status}}}{{{field|Complete|default=Draft|mandatory|input type=dropdown|class=WfFormDropdownLight|mapping using translate=wf-propertyvalue-complete-}}}{{{end template}}}</span><span class="custom-tooltip-light">{{#info:<p>'''{{int:wf-propertyvalue-complete-Published}} :''' {{int:wf-completetooltip-published-description}}</p><p>'''{{int:wf-propertyvalue-complete-Draft}} :''' {{int:wf-completetooltip-draft-description}}</p>}}</span></div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Version actuelle datée du 30 septembre 2024 à 15:14