欢迎图片

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 17.2
edited by Stone Wu
on 2022/08/02 13:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,9 +9,9 @@
9 9  (%class="download-options"%)(((
10 10  (%class="col-xs-12 download-container download-option version-option border-blue fa-icon fa-desktop"%)(((
11 11  = [[Manual>>PLC Editor2.01 Program execution.WebHome]] =
12 -Provides users with online viewing of LX5V Programming Manual combining with cases and Wecon PLC Editor2 Software Help.
12 +Provides users with online viewing of LX5V Programing Manual combining with cases and Wecocn PLC editor2 Software Help.
13 13  (%class="version-footer"%)(((
14 -[[Programming Manual>>PLC Editor2.01 Program execution.WebHome||class="btn btn-primary]] [[More>>PLC Editor2.2\.2PLC editor2 software help.WebHome||class="btn btn-primary]]
14 +[[Programming Manual>>PLC Editor2.01 Program execution.WebHome||class="btn btn-primary]] [[Software Help>>PLC Editor2.2\.2PLC editor2 software help.WebHome||class="btn btn-primary]]
15 15  )))
16 16  )))
17 17  (%class="col-xs-12 download-container download-option version-option border-cyan fa-icon fa-download"%)(((
... ... @@ -40,52 +40,6 @@
40 40  
41 41  = Video =
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}}
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 = [
... ... @@ -128,16 +128,52 @@
128 128   ],
129 129   'url': 'https://www.youtube.com/embed/9J1gDxq9gP8',
130 130   'duration': '4 mins'
131 -},
132 -{
133 - 'title': $services.localization.render('WECON 5V Training Video: Project Manager and Instruction List'),
134 - 'topics': [
135 - $services.localization.render('Components of Project Manager')
136 - ],
137 - 'url': 'https://www.youtube.com/embed/Br0ZxjQuIxs',
138 - 'duration': '5 mins'
139 139  }
140 140  
141 141  ])
142 142  
89 +#macro (helpVideoCard $data)
90 + <div class="videoCard">
91 + <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe>
92 + <div class="videoCard-body">
93 + <div class="videoCard-title">
94 + $escapetool.xml($data.title)
95 + </div>
96 + <ul>
97 + #foreach ($topic in $data.topics)
98 + <li>$topic</li>
99 + #end
100 + </ul>
101 + </div>
102 + <div class="videoCard-footer">
103 + $services.icon.renderHTML('play')
104 + <a href="$data.url">$services.localization.render('help.videos.watch')</a>
105 + <span class="videoCard-duration">
106 + $escapetool.xml($data.duration)
107 + </span>
108 + </div>
109 + </div>
110 +#end
111 +{{/velocity}}
143 143  
113 +{{velocity}}
114 +{{html clean="false"}}
115 +#set ($discard = $xwiki.ssx.use('Help.Videos.WebHome'))
116 +<div class="row">
117 + #foreach ($card in $videoCards)
118 + ## See http://getbootstrap.com/css/#grid-responsive-resets .
119 + #if ($foreach.index > 0 && $foreach.index % 2 == 0)
120 + <div class="clearfix visible-sm-block "></div>
121 + #end
122 + #if ($foreach.index > 0 && $foreach.index % 3 == 0)
123 + <div class="clearfix visible-md-block visible-lg-block"></div>
124 + #end
125 + <div class="col-xs-12 col-sm-6 col-md-4">
126 + #helpVideoCard($card)
127 + </div>
128 + #end
129 +</div>
130 +{{/html}}
131 +
132 +[[$services.localization.render('help.videos.more')>>https://www.youtube.com/watch?v=3MXQ-9EAsyw&list=PL_Bpnb2RgaktxcT6G9n1meunomIw3T81_]]
133 +{{/velocity}}