欢迎图片

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 20.16
edited by Stone Wu
on 2022/08/24 10:08
Change comment: There is no comment for this version

Summary

Details

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