欢迎图片

Changes for page PLC Editor2

Last modified by Mora Zhou on 2024/09/07 15:57

From version 20.3
edited by Stone Wu
on 2022/08/24 09:41
Change comment: There is no comment for this version
To version 28.1
edited by Jim
on 2022/09/06 09:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.Jim
Content
... ... @@ -38,54 +38,10 @@
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 =
41 += [[Video>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]] =
42 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}}
43 +[[view more videos>>https://www.youtube.com/playlist?list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]]
66 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 89  {{velocity output="false"}}
90 90  #set ($docextras = [])
91 91  #set ($videoCards = [
... ... @@ -139,5 +139,46 @@
139 139  }
140 140  
141 141  ])
98 +#macro (helpVideoCard $data)
99 + <div class="videoCard">
100 + <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe>
101 + <div class="videoCard-body">
102 + <div class="videoCard-title">
103 + $escapetool.xml($data.title)
104 + </div>
105 + <ul>
106 + #foreach ($topic in $data.topics)
107 + <li>$topic</li>
108 + #end
109 + </ul>
110 + </div>
111 + <div class="videoCard-footer">
112 + $services.icon.renderHTML('play')
113 + <a href="$data.url">$services.localization.render('help.videos.watch')</a>
114 + <span class="videoCard-duration">
115 + $escapetool.xml($data.duration)
116 + </span>
117 + </div>
118 + </div>
119 +#end
120 +{{/velocity}}
142 142  
143 -
122 +{{velocity}}
123 +{{html clean="false"}}
124 +#set ($discard = $xwiki.ssx.use('Help.Videos.WebHome'))
125 +<div class="row">
126 + #foreach ($card in $videoCards)
127 + ## See http://getbootstrap.com/css/#grid-responsive-resets .
128 + #if ($foreach.index > 0 && $foreach.index % 2 == 0)
129 + <div class="clearfix visible-sm-block "></div>
130 + #end
131 + #if ($foreach.index > 0 && $foreach.index % 3 == 0)
132 + <div class="clearfix visible-md-block visible-lg-block"></div>
133 + #end
134 + <div class="col-xs-12 col-sm-6 col-md-4">
135 + #helpVideoCard($card)
136 + </div>
137 + #end
138 +</div>
139 +{{/html}}
140 +{{/velocity}}