(init properties)
(init wikifab pages)
 
(13 révisions intermédiaires par le même utilisateur non affichées)
Ligne 22 : Ligne 22 :
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-main-picture-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-main-picture-tooltip}}}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-main-picture-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-main-picture-tooltip}}}}</span></div>
 
<div class="msuploadContainer msuploadContainerTall">
 
<div class="msuploadContainer msuploadContainerTall">
{{{field|Main_Picture|input type=text|uploadable|size=25|class=form-picture|image preview}}}
+
{{{field|Main_Picture|input type=text|uploadable|size=25|class=form-picture ratio4_3|image preview}}}
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
</div>
 
</div>
Ligne 76 : Ligne 76 :
 
</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 83 : Ligne 83 :
 
<div class="Input-tabs hide-mobile-view">
 
<div class="Input-tabs hide-mobile-view">
 
{{#tag:tabber|
 
{{#tag:tabber|
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}| {{int:dokit-item-tabs-title}}=<div class="file-subtitle"><span>{{int:dokit-item-tabs-subtitle}}</span><span class="custom-tooltip">{{#info:{{int:dokit-item-tabs-subtitle-tooltip|[[Form:Item|{{int:dokit-item-tabs-subtitle-tooltip-link}}]]}}}}</span></div>
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}| {{int:dokit-item-tabs-title}}=<div class="file-subtitle"><span>{{int:dokit-item-tabs-subtitle-tooltip|<span class="newwin">[[Form:Item|{{int:dokit-item-tabs-subtitle-tooltip-link}}]]</span>}}</span></div>
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
{{!}}-{{!}}|}}
 
{{!}}-{{!}}|}}
Ligne 91 : Ligne 91 :
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option1}}</div>
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option1}}</div>
<div class="add-attachments add-attachments-upload">{{{field|Tuto_Attachments|holds template}}}</div></div>
+
<div class="add-attachments add-attachments-upload simplePMG">{{{field|Tuto_Attachments|holds template}}}</div></div>
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option2}}</div>
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option2}}</div>
Ligne 101 : Ligne 101 :
 
{{{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}}}
 
<div class="hide-mobile-view dokit-form-EPI">
 
<div class="hide-mobile-view dokit-form-EPI">
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|{{{for template|Separator}}}<br>{{{end template}}}<h2>{{int:dokit-epi-title}}</h2>
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|<h2>{{int:dokit-epi-title}}</h2>
 
<div class="dokit-edit-epi-btn"><span data-toggle="collapse" data-target="#accordionEPI">{{int:dokit-epi-btn}}</span></div>
 
<div class="dokit-edit-epi-btn"><span data-toggle="collapse" data-target="#accordionEPI">{{int:dokit-epi-btn}}</span></div>
 
<div id="accordionEPI" class="collapse">
 
<div id="accordionEPI" class="collapse">
Ligne 113 : Ligne 113 :
 
</div>
 
</div>
 
</div>
 
</div>
{{{for template|Separator}}}<br>{{{end template}}}
 
 
<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">
Ligne 141 : Ligne 146 :
 
{{{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 29 juillet 2020 à 10:47