m (A protégé « Formulaire:Tutorial » ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini))) |
|||
(10 révisions intermédiaires par 2 utilisateurs non affichées) | |||
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}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
Ligne 45 : | Ligne 19 : | ||
{{{for template|Tuto Details}}} | {{{for template|Tuto Details}}} | ||
<div class="row"> | <div class="row"> | ||
− | <div class="col-md- | + | <div class="col-md-4 col-sm-4 col-xs-12 col-pic-detail"> |
− | <div class=" | + | <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"> |
− | < | + | {{{field|Main_Picture|input type=text|uploadable|size=25|class=form-picture ratio4_3|image preview}}} |
− | {{#info: | + | {{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}} |
− | < | ||
</div> | </div> | ||
+ | <div class="Licences-group" id="accordion" role="tablist" aria-multiselectable="true"> | ||
+ | <div class="Licences"> | ||
+ | <div class="Licences-heading" role="tab" id="headingOne"> | ||
+ | <p class="Licences-title" data-toggle="collapse" data-target="#Licences">{{int:wf-formtutorial-edit-license-field}}</p> | ||
</div> | </div> | ||
− | <div class=" | + | <div id="Licences" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne"> |
− | + | <div class="Licences-body"> | |
− | <div class=" | + | {{{field|Licences|input type=dropdown|class=WfFormDropdown|default=Attribution (CC BY)}}} |
</div> | </div> | ||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
+ | <div class="col-md-8 col-sm-8 col-xs-12"> | ||
<div class="row"> | <div class="row"> | ||
− | <div class="col-md- | + | <div class="col-md-12"> |
− | <div | + | <div class="WfFormLabel">{{int:wf-formtutorial-description-field-title}}</div><div>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div> |
− | < | + | <p class="WfFormLabel">{{int:wf-formtutorial-area-field-title}}</p> |
− | + | {{{field|Area|mandatory|input type=checkboxes|class=WfFormCheckbox|hide select all|mapping using translate=wf-propertyvalue-area-}}} | |
</div> | </div> | ||
</div> | </div> | ||
− | <div class="col-md- | + | <div class="row"> |
− | <div class=" | + | <div class="col-md-6 col-xs-12"> |
− | {{{field| | + | <div class="WfFormLabel"><span>{{int:wf-formtutorial-type-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-type-creation}}''' : {{int:wf-formtutorial-type-popup-creation}}</p> <p>'''{{int:wf-formtutorial-type-technique}}''' : {{int:wf-formtutorial-type-popup-technique}}</p>}}</span></div> |
− | {{{field| | + | {{{field|Type|mandatory|class=WfFormDropdown}}} |
− | {{{ | + | <div class="WfFormLabel"><span>{{int:wf-formtutorial-difficulty-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-difficulty-popup-title1}}''' {{int:wf-formtutorial-difficulty-popup-text1}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title2}}''' {{int:wf-formtutorial-difficulty-popup-text2}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title3}}''' {{int:wf-formtutorial-difficulty-popup-text3}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title4}}''' {{int:wf-formtutorial-difficulty-popup-text4}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title5}}''' {{int:wf-formtutorial-difficulty-popup-text5}}</p>}}</span></div> |
+ | {{{field|Difficulty|input type=dropdown|mandatory|class=WfFormDropdown|mapping using translate=wf-propertyvalue-difficulty-}}} | ||
+ | </div> | ||
+ | <div class="col-md-6 col-xs-12"> | ||
+ | <div class="WfFormLabel"><span>{{int:wf-formtutorial-duration-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-duration-popup}}|}}</span></div> | ||
+ | {{{field|Duration|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Duration-type|mandatory|input type=dropdown|class=WfFormDropdown WfFormDropdownCombine|mapping using translate=wf-propertyvalue-durationtype-}}} | ||
+ | <div class="WfFormLabel"><span>{{int:wf-formtutorial-cost-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-cost-popup}}|}}</span></div> | ||
+ | {{{field|Cost|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Currency|mandatory|input type=dropdown|class=WfFormDropdown WfFormDropdownCombine}}} | ||
+ | </div> | ||
</div> | </div> | ||
+ | <div class="WfFormLabel"><span>{{int:wf-formtutorial-tags-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-tags-popup}}|}}</span></div> | ||
+ | <div class="WfFormTokensParent">{{{field|Tags|placeholder={{int:wf-formtutorial-tag-field-tooltip}}|class=WfFormTokens|input type=tokens|size=}}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | {{{end template}}} | ||
<div class="hrContentMinor-2"></div> | <div class="hrContentMinor-2"></div> | ||
+ | <div class="IntroductionFormTemplate hide-mobile-view"> | ||
{{{for template|Introduction}}} | {{{for template|Introduction}}} | ||
<div class="edit-step-title">{{int:wf-formtutorial-introduction-field-title}} <span>{{int:wf-formtutorial-introduction-field-info}}</span></div> | <div class="edit-step-title">{{int:wf-formtutorial-introduction-field-title}} <span>{{int:wf-formtutorial-introduction-field-info}}</span></div> | ||
{{{field|Introduction|input type=textarea|translatable|rows=5|maxlength=10000|class=form-textarea}}} | {{{field|Introduction|input type=textarea|translatable|rows=5|maxlength=10000|class=form-textarea}}} | ||
{{{end template}}} | {{{end template}}} | ||
− | <div class="multipleTemplateHideButton"> | + | </div> |
+ | <div class="hide-mobile-view multipleTemplateHideButton multipleTemplateSingleEntry"> | ||
{{{for template|TutoVideo|multiple|minimum=0|maximum instances=1|add button text={{int:wf-tuto-video-btnlink}} }}} | {{{for template|TutoVideo|multiple|minimum=0|maximum instances=1|add button text={{int:wf-tuto-video-btnlink}} }}} | ||
− | {{ | + | <div class="dokit-video-radio">{{{field|VideoType|input type=dropdown|default=Youtube|mandatory|class=WfFormDropdown WfFormDropdownFullWidth WfFormTextCombine|show on select=Youtube=>dokit-video-youtube;Vimeo=>dokit-video-vimeo;Dailymotion=>dokit-video-dailymotion;Mp4=>dokit-video-mp4}}}</div> |
+ | <div class="dokit-video-url" id="dokit-video-youtube"> | ||
+ | {{{field|VideoURLYoutube|mandatory|placeholder={{int:dokit-video-youtube-placeholder}}|class=dokit-video-url-field}}} | ||
+ | </div> | ||
+ | <div class="dokit-video-url" id="dokit-video-vimeo"> | ||
+ | {{{field|VideoURLVimeo|mandatory|placeholder={{int:dokit-video-vimeo-placeholder}}|class=dokit-video-url-field}}} | ||
+ | </div> | ||
+ | <div class="dokit-video-url" id="dokit-video-dailymotion"> | ||
+ | {{{field|VideoURLDailymotion|placeholder={{int:dokit-video-dailymotion-placeholder}}|mandatory|class=dokit-video-url-field}}} | ||
+ | </div> | ||
+ | <div class="dokit-video-url" id="dokit-video-mp4"> | ||
+ | {{{field|mp4video|uploadable|size=25|class=form-picture}}} | ||
+ | </div> | ||
{{{end template}}} | {{{end template}}} | ||
</div> | </div> | ||
{{{for template|Materials}}} | {{{for template|Materials}}} | ||
− | <div class="Input-tabs"> | + | <div class="Input-tabs hide-mobile-view"> |
{{#tag:tabber| | {{#tag:tabber| | ||
− | {{int:wf-formtutorial-tools-materials-tabs-title}} = | + | {{int:wf-formtutorial-tools-materials-tabs-title}} =<div class="material-tool-list row"> |
− | <div class="material-tool-list row"> | ||
<div class="col-md-6 col-sm-6 col-xs-12"> | <div class="col-md-6 col-sm-6 col-xs-12"> | ||
<div class="col-pic-materials msuploadContainer"> | <div class="col-pic-materials msuploadContainer"> | ||
Ligne 133 : | Ligne 124 : | ||
<div class="edit-step-title">{{int:wf-formtutorial-tools-tabs-title}}</div> | <div class="edit-step-title">{{int:wf-formtutorial-tools-tabs-title}}</div> | ||
{{{field|Tools|input type=textarea|class=form-textarea|translatable|rows=8}}} | {{{field|Tools|input type=textarea|class=form-textarea|translatable|rows=8}}} | ||
+ | </div> | ||
</div> | </div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
− | {{int:wf-prerequisites-tabs-title}} =< | + | {{int:wf-prerequisites-tabs-title}} =<div class="file-subtitle">{{int:wf-prerequisites-tabs-subtitle}}</div><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div> |
{{!}}-{{!}} | {{!}}-{{!}} | ||
− | {{int:wf-formtutorial-file-tabs-title}} = | + | {{int:wf-formtutorial-file-tabs-title}}=<div class="row"> |
− | <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 | + | <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 147 : | Ligne 138 : | ||
</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}}}{{{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|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> |
− | |||
− | |||
<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=" | + | <div class="WfFormTutoStep"> |
− | <div class="col- | + | <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-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}}} | ||
Ligne 173 : | Ligne 168 : | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | {{{end template}}}</div> | |
− | |||
− | |||
<div class="notes-ref"> | <div class="notes-ref"> | ||
<h2>{{int:wf-formtutorial-note-title}}</h2> | <h2>{{int:wf-formtutorial-note-title}}</h2> | ||
Ligne 185 : | Ligne 175 : | ||
{{{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> | ||
− | <div class="saving-menu"> | + | <hr class="WfEndForm hide-mobile-view"> |
− | {{{standard input| | + | <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| | ||
− | {{{standard input| | ||
− | {{{standard input| | ||
− | <span class="status-checkbox"> | ||
− | {{{for template|Tuto_Status}}}{{{field|Complete|mapping using translate=wf-propertyvalue-complete-}}}{{{end template}}} | ||
− | </span> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Ligne 218 : | Ligne 203 : | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> |
Version actuelle datée du 8 octobre 2024 à 10:19
Oups ! Vous n'avez pas la permission de créer une page car vous n'êtes pas connecté. Créez un compte ou connectez vous