(init wikifab pages)
Line 31: Line 31:
 
<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>
 
<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>
 
<div class="WfFormLabel">{{int:dokit-formgroup-fieldname-categories}}</div>
 
<div class="WfFormLabel">{{int:dokit-formgroup-fieldname-categories}}</div>
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Categories|height=86|width=100%|hideroot|list}}}</div>
+
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Categories|height=58|width=100%|hideroot|list}}}</div>
<!-- START CHECKBOX ADMIN PROPERTY LIST --><!--END CHECKBOX ADMIN PROPERTY LIST -->
+
<!-- START CHECKBOXES ADMIN PROPERTY LIST --><!--END CHECKBOXES ADMIN PROPERTY LIST -->
 
</div>
 
</div>
 
</div>
 
</div>
Line 42: Line 42:
 
{{#if: {{#ask: [[Dokit:PropertiesList]] [[PropertyDuration::yes]] }} |<div class="col-md-6 col-xs-12">
 
{{#if: {{#ask: [[Dokit:PropertiesList]] [[PropertyDuration::yes]] }} |<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>
 
<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-}}}  
+
{{{field|Duration|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Duration-type|mandatory|input type=dropdown|default=minute(s)|class=WfFormDropdown WfFormDropdownCombine|mapping using translate=wf-propertyvalue-durationtype-}}}  
 
</div>|}}
 
</div>|}}
 
<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
 
<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
 +
<!-- START TEXT ADMIN PROPERTY LIST --><!--END TEXT ADMIN PROPERTY LIST -->
 
</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="WfFormLabel"><span>{{int:wf-formtutorial-tags-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-tags-popup}}|}}</span></div>
Line 58: Line 59:
 
{{{end template}}}
 
{{{end template}}}
 
</div>
 
</div>
<div class="row hide-mobile-view">
+
<div class="hide-mobile-view multipleTemplateHideButton multipleTemplateSingleEntry">
<div class="col-md-12">
 
 
{{{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 WfFormDropdownAutoWidth 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-radio">{{{field|VideoType|input type=dropdown|default=Youtube|mandatory|class=WfFormDropdown WfFormDropdownAutoWidth 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">
 
<div class="dokit-video-url" id="dokit-video-youtube">
{{{field|VideoURLYoutube|mandatory|placeholder={{int:dokit-video-youtube-placeholder}}|class=dokit-video-url-field}}}</div>
+
{{{field|VideoURLYoutube|mandatory|placeholder={{int:dokit-video-youtube-placeholder}}|class=dokit-video-url-field}}}
 
</div>
 
</div>
 
<div class="dokit-video-url" id="dokit-video-vimeo">
 
<div class="dokit-video-url" id="dokit-video-vimeo">
{{{field|VideoURLVimeo|mandatory|placeholder={{int:dokit-video-vimeo-placeholder}}|class=dokit-video-url-field}}}</div>
+
{{{field|VideoURLVimeo|mandatory|placeholder={{int:dokit-video-vimeo-placeholder}}|class=dokit-video-url-field}}}
 
</div>
 
</div>
 
<div class="dokit-video-url" id="dokit-video-dailymotion">
 
<div class="dokit-video-url" id="dokit-video-dailymotion">
{{{field|VideoURLDailymotion|placeholder={{int:dokit-video-dailymotion-placeholder}}|mandatory|class=dokit-video-url-field}}}</div>
+
{{{field|VideoURLDailymotion|placeholder={{int:dokit-video-dailymotion-placeholder}}|mandatory|class=dokit-video-url-field}}}
 
</div>
 
</div>
 
<div class="dokit-video-url" id="dokit-video-mp4">
 
<div class="dokit-video-url" id="dokit-video-mp4">
Line 75: Line 75:
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
</div>
 
 
</div>
 
</div>
 
{{{for template|Materials}}}
 
{{{for template|Materials}}}
Line 101: Line 100:
 
{{{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}}}
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|<div class="bg-halfsquare-separator-2 hide-mobile-view"></div>
+
<div class="hide-mobile-view multipleTemplateHideButton multipleTemplateSingleEntry dokit-form-EPI">
{{{for template|Separator}}}<br>{{{end template}}}
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|{{{for template|Separator}}}<br>{{{end template}}}<h2>{{int:dokit-epi-title}}</h2>
<h2>{{int:dokit-epi-title}}</h2>
+
{{{for template|EPI|multiple|maximum instances=1|add button text={{int:dokit-epi-btn}} }}}
{{{for template|EPI|multiple|maximum instances=80|add button text={{int:dokit-epi-btn}} }}}
+
{{{field|EPI|input type=checkboxes|class=WfFormCheckbox|hide select all|mapping using translate=epi-}}}
{{{field|EPI|input type=combobox|existing values only|placeholder={{int:dokit-epi-placeholder}}|values from namespace=EPI}}}
+
{{{end template}}}|}}
{{{end template}}}
+
</div>
<div class="bg-halfsquare-separator-2 hide-mobile-view"></div>|}}
 
 
{{{for template|Separator}}}<br>{{{end template}}}
 
{{{for template|Separator}}}<br>{{{end template}}}
<h2>{{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">
 
<div class="WfFormTutoStep">
Line 134: Line 132:
 
</div>
 
</div>
 
{{{end template}}}</div>
 
{{{end template}}}</div>
<div class="bg-halfsquare-separator-3 hide-mobile-view"></div>
+
{{{for template|Notes}}}{{{end template}}}
<div class="notes-ref hide-mobile-view">
 
<h2>{{int:wf-formtutorial-note-title}}</h2>
 
{{{for template|Notes}}}
 
{{{field|Notes|input type=textarea|class=form-textarea|translatable|rows=5|maxlength=5000}}}
 
{{{end template}}}
 
</div>
 
 
<hr class="WfEndForm hide-mobile-view">
 
<hr class="WfEndForm hide-mobile-view">
 
<div class="saving-menu">{{{standard input|saveDraft}}}
 
<div class="saving-menu">{{{standard input|saveDraft}}}
Line 146: Line 138:
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
 
<div class="modal fade wfform" id="ModalCreativeCommons" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 
<div class="modal-dialog">
 
<div class="modal-content">
 
<div class="modal-header">
 
<span class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></span><h4 class="modal-title">{{int:wf-formtutorial-popuplicense-title}}</h4>
 
</div>
 
<div class="modal-body">
 
<div class="row">
 
<div class="col-md-12 col-sm-12 col-xs-12">
 
[[File:CC-BY.png]]<span class="cc-modal-subtitle">{{int:wf-formtutorial-popuplicense-licence1-title}} <span class="label label-success">{{int:wf-formtutorial-popuplicense-licence-recommended}}</span></span>
 
<p>{{int:wf-formtutorial-popuplicense-licence1-description}}</p>
 
<p>[http://creativecommons.org/licenses/by/4.0/ {{int:wf-formtutorial-popuplicense-licence-link1}}] | [http://creativecommons.org/licenses/by/4.0/legalcode {{int:wf-formtutorial-popuplicense-licence-link2}}]</p>
 
<br>
 
[[File:CC-BY-SA.png]]<span class="cc-modal-subtitle">{{int:wf-formtutorial-popuplicense-licence2-title}}</span>
 
<p>{{int:wf-formtutorial-popuplicense-licence2-description}}</p>
 
<p>[http://creativecommons.org/licenses/by-sa/4.0/ {{int:wf-formtutorial-popuplicense-licence-link1}}] | [http://creativecommons.org/licenses/by-sa/4.0/legalcode {{int:wf-formtutorial-popuplicense-licence-link2}}]</p>
 
<hr>
 
<p>{{int:wf-formtutorial-popuplicense-question}} [http://feedback.wikifab.org/t/under-which-open-license-can-i-publish-my-tutorial-on-wikifab/30 {{int:wf-formtutorial-popuplicense-question-link}}].</p>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 

Revision as of 12:19, 25 January 2019