(init wikifab pages)
(init wikifab pages)
Line 92: Line 92:
 
<div class="Input-tabs">
 
<div class="Input-tabs">
 
{{#tag:tabber|
 
{{#tag:tabber|
  {{int:dokit-item-tabs-title}} =
+
  {{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>
<div class="WfFormLabel"><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>
 
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
{{!}}-{{!}}
 
{{!}}-{{!}}
  {{int:wf-formtutorial-file-tabs-title}} =
+
{{int:wf-prerequisites-tabs-title}} =<h4>{{int:wf-prerequisites-tabs-subtitle}}</h4><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div>
<div class="row">
+
{{!}}-{{!}}
 +
  {{int:wf-formtutorial-file-tabs-title}}=<div class="row">
 
<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>
Line 108: Line 108:
 
</div>
 
</div>
 
{{{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 category=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|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=WfFormText}}}{{{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=WfFormText}}}{{{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}}}
Line 116: Line 117:
 
<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="row">
 
<div class="row">
<div class="col-md-6 col-sm-6 col-xs-12">
+
<div class="col-sm-6 col-xs-12 col-sm-push-6 WfFormTutoStepInstructions">
 +
<div>{{{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-pic-step msuploadContainer">
 
<div class="col-pic-step msuploadContainer">
 
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
Line 131: Line 136:
 
{{{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>
</div>
 
<div class="col-md-6 col-sm-6 col-xs-12">
 
<div>{{{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>
 
</div>
 
</div>
Line 147: Line 148:
 
<hr class="WfEndForm">
 
<hr class="WfEndForm">
 
<div class="saving-menu">
 
<div class="saving-menu">
{{{standard input|watch}}}<span class="status-checkbox">{{int:wf-completetooltip-label}} : {{{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><span class="display-none">{{{standard input|saveDraft}}}</span>{{{standard input|cancel}}}{{{standard input|save and continue}}}{{{standard input|save}}}
+
<span class="status-checkbox">{{int:wf-completetooltip-label}} : {{{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><span class="display-none">{{{standard input|watch}}} {{{standard input|saveDraft}}}</span>{{{standard input|cancel}}}{{{standard input|save and continue}}}{{{standard input|save}}}<span id="loaderSave"><i class="fa fa-spinner fa-pulse fa-2x fa-fw "></i></span>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
Line 171: Line 172:
 
</div>
 
</div>
 
</div>
 
</div>
</div>
 
</div>
 
</div>
 
</div>
 
 
<div class="modal fade wfform-2" id="ModalNom" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 
<div class="modal-dialog">
 
<div class="modal-content">
 
<div class="modal-header">
 
<h4 class="modal-title" id="myModalLabel">{{int:wf-formtutorial-popuptutoname-title}}</h4>
 
</div>
 
<div class="modal-body">
 
{{int:wf-formtutorial-popuptutoname-subtitle}}
 
 
<h4>1. {{int:wf-formtutorial-popuptutoname-option1}}</h4>
 
 
1.1 {{int:wf-formtutorial-popuptutoname-option1a}}
 
 
* {{int:wf-formtutorial-popuptutoname-option1b}}
 
* {{int:wf-formtutorial-popuptutoname-option1c}}
 
 
1.2 {{int:wf-formtutorial-popuptutoname-option1d}}
 
 
* {{int:wf-formtutorial-popuptutoname-option1b}}
 
* {{int:wf-formtutorial-popuptutoname-option1e}}
 
 
1.3 {{int:wf-formtutorial-popuptutoname-option1f}}
 
 
* {{int:wf-formtutorial-popuptutoname-option1g}}
 
* {{int:wf-formtutorial-popuptutoname-option1h}}
 
 
 
<h4>2. {{int:wf-formtutorial-popuptutoname-option2}}</h4>
 
 
2.1 {{int:wf-formtutorial-popuptutoname-option2a}}
 
 
2.2 {{int:wf-formtutorial-popuptutoname-option2b}}
 
 
* {{int:wf-formtutorial-popuptutoname-option2c}}
 
* {{int:wf-formtutorial-popuptutoname-option2d}}
 
 
{{Info|Text={{int:wf-formtutorial-popuptutoname-last}}|}}
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 13:51, 25 May 2018