Changes for page PLC Editor2 (LX5)
Last modified by Mora Zhou on 2024/12/05 16:06
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Jim1 +XWiki.Stone - Content
-
... ... @@ -38,9 +38,56 @@ 38 38 * [[What is the frequency about PLC high speed pulse output?>>url:https://docs.we-con.com.cn/bin/view/PLC%20Editor/FAQ/What%20is%20the%20frequency%20about%20PLC%20high%20speed%20pulse%20output]] 39 39 * [[Why does the pulse command not send out when using the pulse command in the STL step instruction?>>url:https://docs.we-con.com.cn/bin/view/PLC%20Editor/FAQ/Why%20does%20the%20pulse%20command%20not%20send%20out%20when%20using%20the%20pulse%20command%20in%20the%20STL%20step%20instruction]] 40 40 41 -= [[Video>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]]=41 += Video = 42 42 43 -{{velocity output="false"}}#set ($docextras = []) 43 +#macro (helpVideoCard $data) 44 + <div class="videoCard"> 45 + <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe> 46 + <div class="videoCard-body"> 47 + <div class="videoCard-title"> 48 + $escapetool.xml($data.title) 49 + </div> 50 + <ul> 51 + #foreach ($topic in $data.topics) 52 + <li>$topic</li> 53 + #end 54 + </ul> 55 + </div> 56 + <div class="videoCard-footer"> 57 + $services.icon.renderHTML('play') 58 + <a href="$data.url">$services.localization.render('help.videos.watch')</a> 59 + <span class="videoCard-duration"> 60 + $escapetool.xml($data.duration) 61 + </span> 62 + </div> 63 + </div> 64 +#end 65 +{{/velocity}} 66 + 67 +{{velocity}} 68 +{{html clean="false"}} 69 +#set ($discard = $xwiki.ssx.use('Help.Videos.WebHome')) 70 +<div class="row"> 71 + #foreach ($card in $videoCards) 72 + ## See http://getbootstrap.com/css/#grid-responsive-resets . 73 + #if ($foreach.index > 0 && $foreach.index % 2 == 0) 74 + <div class="clearfix visible-sm-block "></div> 75 + #end 76 + #if ($foreach.index > 0 && $foreach.index % 3 == 0) 77 + <div class="clearfix visible-md-block visible-lg-block"></div> 78 + #end 79 + <div class="col-xs-12 col-sm-6 col-md-4"> 80 + #helpVideoCard($card) 81 + </div> 82 + #end 83 +</div> 84 +{{/html}} 85 + 86 +[[$services.localization.render('help.videos.more')>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]] 87 +{{/velocity}} 88 + 89 +{{velocity output="false"}} 90 +#set ($docextras = []) 44 44 #set ($videoCards = [ 45 45 { 46 46 'title': $services.localization.render('WECON 5V Training Video: 5V/5S PLC Software Download & Installation'), ... ... @@ -92,48 +92,5 @@ 92 92 } 93 93 94 94 ]) 95 -#macro (helpVideoCard $data) 96 - <div class="videoCard"> 97 - <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe> 98 - <div class="videoCard-body"> 99 - <div class="videoCard-title"> 100 - $escapetool.xml($data.title) 101 - </div> 102 - <ul> 103 - #foreach ($topic in $data.topics) 104 - <li>$topic</li> 105 - #end 106 - </ul> 107 - </div> 108 - <div class="videoCard-footer"> 109 - $services.icon.renderHTML('play') 110 - <a href="$data.url">$services.localization.render('help.videos.watch')</a> 111 - <span class="videoCard-duration"> 112 - $escapetool.xml($data.duration) 113 - </span> 114 - </div> 115 - </div> 116 -#end{{/velocity}} 117 117 118 -{{velocity}} 119 -{{html clean="false"}} 120 -#set ($discard = $xwiki.ssx.use('Help.Videos.WebHome')) 121 -<div class="row"> 122 - #foreach ($card in $videoCards) 123 - ## See http://getbootstrap.com/css/#grid-responsive-resets . 124 - #if ($foreach.index > 0 && $foreach.index % 2 == 0) 125 - <div class="clearfix visible-sm-block "></div> 126 - #end 127 - #if ($foreach.index > 0 && $foreach.index % 3 == 0) 128 - <div class="clearfix visible-md-block visible-lg-block"></div> 129 - #end 130 - <div class="col-xs-12 col-sm-6 col-md-4"> 131 - #helpVideoCard($card) 132 - </div> 133 - #end 134 -</div> 135 -{{/html}} 136 -{{/velocity}} 137 137 138 -[[$services.localization.render('help.videos.more')>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]] 139 -~{~{/velocity}}