Changes for page PLC Editor2 (LX5)
Last modified by Mora Zhou on 2024/12/05 16:06
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -39,32 +39,6 @@ 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 41 = Video = 42 - 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 68 {{html clean="false"}} 69 69 #set ($discard = $xwiki.ssx.use('Help.Videos.WebHome')) 70 70 <div class="row"> ... ... @@ -85,7 +85,6 @@ 85 85 86 86 [[$services.localization.render('help.videos.more')>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]] 87 87 {{/velocity}} 88 - 89 89 {{velocity output="false"}} 90 90 #set ($docextras = []) 91 91 #set ($videoCards = [ ... ... @@ -139,5 +139,50 @@ 139 139 } 140 140 141 141 ]) 115 +#macro (helpVideoCard $data) 116 + <div class="videoCard"> 117 + <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe> 118 + <div class="videoCard-body"> 119 + <div class="videoCard-title"> 120 + $escapetool.xml($data.title) 121 + </div> 122 + <ul> 123 + #foreach ($topic in $data.topics) 124 + <li>$topic</li> 125 + #end 126 + </ul> 127 + </div> 128 + <div class="videoCard-footer"> 129 + $services.icon.renderHTML('play') 130 + <a href="$data.url">$services.localization.render('help.videos.watch')</a> 131 + <span class="videoCard-duration"> 132 + $escapetool.xml($data.duration) 133 + </span> 134 + </div> 135 + </div> 136 +#end 137 +{{/velocity}} 142 142 139 +{{velocity}} 140 +{{html clean="false"}} 141 +#set ($discard = $xwiki.ssx.use('Help.Videos.WebHome')) 142 +<div class="row"> 143 + #foreach ($card in $videoCards) 144 + ## See http://getbootstrap.com/css/#grid-responsive-resets . 145 + #if ($foreach.index > 0 && $foreach.index % 2 == 0) 146 + <div class="clearfix visible-sm-block "></div> 147 + #end 148 + #if ($foreach.index > 0 && $foreach.index % 3 == 0) 149 + <div class="clearfix visible-md-block visible-lg-block"></div> 150 + #end 151 + <div class="col-xs-12 col-sm-6 col-md-4"> 152 + #helpVideoCard($card) 153 + </div> 154 + #end 155 +</div> 156 +{{/html}} 143 143 158 +[[$services.localization.render('help.videos.more')>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]] 159 +{{/velocity}} 160 + 161 +