Difference between revisions of "Form:Item"

(Annulation des modifications 1618 de DavidOkit (discussion))
(init wikifab pages)
Line 2: Line 2:
 
{{#ifanon:<div class="alert alert-warning" role="alert"><strong>Oups !</strong> Vous n'avez pas la permission de créer une page car vous n'êtes pas connecté. [[Special:UserLogin/signup|Créer un compte]] ou [[Special:UserLogin|connectez-vous]].</div>|
 
{{#ifanon:<div class="alert alert-warning" role="alert"><strong>Oups !</strong> Vous n'avez pas la permission de créer une page car vous n'êtes pas connecté. [[Special:UserLogin/signup|Créer un compte]] ou [[Special:UserLogin|connectez-vous]].</div>|
 
<h1>Ajouter un article</h1>
 
<h1>Ajouter un article</h1>
{{#forminput:form=Item|button text=Créer l'article|placeholder=Entrez ici le nom de l'article que vous souhaitez créer}}
+
{{#forminput:form=Item|button text=Créer l'article|namespace=Item|placeholder=Entrez ici le nom de l'article que vous souhaitez créer}}
 
}}
 
}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 9: Line 9:
 
<div class="col-md-4 col-sm-4 col-xs-12 col-pic-detail">
 
<div class="col-md-4 col-sm-4 col-xs-12 col-pic-detail">
 
<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 msuploadContainerMedium">
 
{{{field|Main_Picture|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Main_Picture|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Main_Picture_02|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Main_Picture_02|size=32|class=form-picture|default=|uploadable|image preview}}}
Line 19: Line 19:
 
<div>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div>
 
<div>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div>
 
<div class="row">
 
<div class="row">
<div class="col-md-6 col-xs-12">
+
<div class="col-md-4 col-xs-12">
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-type-field-title}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-type-field-title}}</span></div>
{{{field|ItemType|input type=dropdown|mandatory|class=WfFormDropdown|default=Part}}}
+
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Item|height=117|width=100%|hideroot|list}}}</div>
 
</div>
 
</div>
<div class="col-md-6 col-xs-12">
+
<div class="col-md-8 col-xs-12">
 +
<div class="row">
 +
<div class="col-md-12">
 
<div class="WfFormLabel"><span>SKU</span></div>
 
<div class="WfFormLabel"><span>SKU</span></div>
 
{{{field|ItemSku|input type=text|class=WfFormTextFullWidth}}}
 
{{{field|ItemSku|input type=text|class=WfFormTextFullWidth}}}
Line 36: Line 38:
 
<div class="WfFormLabel"><span>URL</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-URL-tooltip}}}}</span></div>
 
<div class="WfFormLabel"><span>URL</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-URL-tooltip}}}}</span></div>
 
{{{field|ItemURL|input type=text|class=WfFormTextFullWidth}}}
 
{{{field|ItemURL|input type=text|class=WfFormTextFullWidth}}}
 +
</div>
 +
</div>
 
</div>
 
</div>
 
</div>
 
</div>
Line 47: Line 51:
 
<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>

Revision as of 13:51, 25 May 2018