(init wikifab pages)
(init wikifab pages)
Ligne 10 : Ligne 10 :
 
</div>|
 
</div>|
 
<h1>{{int:wf-formtutorial-main-title}}</h1>
 
<h1>{{int:wf-formtutorial-main-title}}</h1>
{{#forminput:form=Tutorial|button text={{int:wf-formtutorial-main-btn}}|placeholder={{int:wf-formtutorial-main-placeholder}}|}}
+
{{#forminput:form=Tutorial|button text={{int:wf-formtutorial-main-btn}}|placeholder={{int:wf-formtutorial-main-placeholder}}|language selector}}
<p data-toggle="modal" data-target="#ModalNom"><span class="glyphicon glyphicon-info-sign"></span> {{int:wf-formtutorial-main-subtitle}}</p>
 
</div>
 
</div>
 
</div>
 
<div class="container">
 
<div class="row">
 
<div class="col-md-4 col-sm-4 col-xs-12">
 
[[Wikifab:Get_started|<span class="contribute-block">
 
<span class="glyphicon glyphicon-thumbs-up icon-contribute" aria-hidden="true"></span>
 
<span class="contribute-block-title">{{int:wf-contribute-getstart-title}}</span>
 
<span>{{int:wf-contribute-getstart-subtitle1}}</span>
 
</span>]]
 
</div>
 
<div class="col-md-4 col-sm-4 col-xs-12">
 
[[Wikifab:Taking_pictures|<span class="contribute-block">
 
<span class="glyphicon glyphicon-camera icon-contribute" aria-hidden="true"></span>
 
<span class="contribute-block-title">{{int:wf-contribute-takingpictures-title}}</span>
 
<span>{{int:wf-contribute-takingpictures-subtitle1}}</span>
 
</span>]]
 
</div>
 
<div class="col-md-4 col-sm-4 col-xs-12">
 
[[Wikifab:Help|<span class="contribute-block">
 
<span class="glyphicon glyphicon-book icon-contribute" aria-hidden="true"></span>
 
<span class="contribute-block-title">{{int:wf-contribute-help-title}}</span>
 
<span>{{int:wf-contribute-help-subtitle1}}</span>
 
</span>]]
 
 
</div>
 
</div>
 
</div>
 
</div>
Ligne 48 : 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|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 118 : Ligne 92 :
 
<div class="Input-tabs hide-mobile-view">
 
<div class="Input-tabs hide-mobile-view">
 
{{#tag:tabber|
 
{{#tag:tabber|
{{int:wf-formtutorial-tools-materials-tabs-title}} =<div class="material-tool-list row">
+
{{#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="col-md-6 col-sm-6 col-xs-12">
+
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
<div class="col-pic-materials msuploadContainer">
+
{{!}}-{{!}}|}}
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{int:wf-prerequisites-tabs-title}} =<div class="file-subtitle">{{int:wf-prerequisites-tabs-subtitle}}</div><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div>
{{{field|Step_Picture_00_annotation|input type=editableImage|target=Step_Picture_00}}}
 
<p class="upload-instructions">Votre image sera visible après l'enregistrement de la page.</p>
 
<div class="btn btn-primary" type="button" data-toggle="collapse-next"  aria-expanded="false" >+ Ajouter des photos </div>
 
<div class="collapse" id="collapseExample">
 
<div class="well add-more-pics">
 
<span>2ème photo : </span>{{{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}}}
 
 
 
<span>3ème photo : </span>{{{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}}}
 
 
 
<span>4ème photo : </span>{{{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}}}
 
 
 
<span>5ème photo : </span>{{{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}}}
 
 
 
<span>6ème photo : </span>{{{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}}}
 
</div>
 
</div>
 
</div>
 
</div>
 
<div class="col-md-6 col-sm-6 col-xs-12">
 
<div class="edit-step-title">{{int:wf-formtutorial-materials-tabs-title}}</div>
 
{{{field|Material|input type=textarea|class=form-textarea|translatable|rows=8}}}
 
<div class="edit-step-title">{{int:wf-formtutorial-tools-tabs-title}}</div>
 
{{{field|Tools|input type=textarea|class=form-textarea|translatable|rows=8}}}
 
</div>
 
</div>
 
 
{{!}}-{{!}}
 
{{!}}-{{!}}
{{int:wf-prerequisites-tabs-title}} =<h4>{{int:wf-prerequisites-tabs-subtitle}}</h4><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div>
+
  {{int:wf-formtutorial-file-tabs-title}}=<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>
<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 164 : Ligne 106 :
 
</div>
 
</div>
 
}}
 
}}
 +
</div>
 
</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 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 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=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}}}
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
Ligne 199 : Ligne 143 :
 
{{{field|Notes|input type=textarea|class=form-textarea|translatable|rows=5|maxlength=5000}}}
 
{{{field|Notes|input type=textarea|class=form-textarea|translatable|rows=5|maxlength=5000}}}
 
{{{end template}}}
 
{{{end template}}}
 +
{{{for template|PageLang}}}<div id="language-dropdown">{{{field|Language|input type=dropdown|hidden|class=language-value}}}</div>{{{end template}}}
 
</div>
 
</div>
 
<hr class="WfEndForm hide-mobile-view">
 
<hr class="WfEndForm hide-mobile-view">
Ligne 226 : Ligne 171 :
 
</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>

Version du 22 octobre 2019 à 14:55