@@ -131,31 +131,31 @@ <h2>Workflow: <span th:text="${workflow.label}">Workflow Name</span></h2>
131
131
< img th:if ="${workflow.retrievedFrom.getType().name() == 'GITHUB'} " id ="gitLogo " src ="../static/img/GitHub-Mark-32px.png " th:src ="@{/img/GitHub-Mark-32px.png} " width ="24 " height ="24 " />
132
132
< img th:unless ="${workflow.retrievedFrom.getType().name() == 'GITHUB'} " id ="gitLogo " src ="../static/img/gitlogo.png " th:src ="@{/img/gitlogo.png} " width ="30 " height ="30 " />
133
133
</ a >
134
- < i > Fetched < span th:text ="${{workflow.retrievedOn}} "> 01/12/16 at 21:00 </ span > </ i >
134
+ < i > Fetched < span th:text ="${{workflow.retrievedOn}} "> 2017-09-14 22:30:37 GMT </ span > </ i >
135
135
< span class ="hidden-print hidden-sm hidden-xs ">
136
136
< span th:if ="${workflow.roBundlePath == null} " id ="ajaxRequired "> </ span >
137
137
< span th:class ="${workflow.roBundlePath != null} ? hide : '' " id ="generating "> - Generating download link < img alt ="loading " src ="../static/img/loading.svg " th:src ="@{/img/loading.svg} " width ="20 " height ="20 " /> </ span >
138
138
< span th:class ="${workflow.roBundlePath == null} ? hide : '' " id ="generated ">
139
139
- < a th:href ="@{${workflow.getRoBundleLink()}} " id ="download " href ="# " download ="bundle.zip "> Download as Research Object Bundle</ a >
140
- < a href ="http://www.researchobject.org/ " rel ="noopener " class ="help " target ="_blank "> [?]</ a >
140
+ < a href ="http://www.researchobject.org/ " rel ="noopener " class ="help " target ="_blank " > [?]</ a >
141
141
</ span >
142
142
</ span >
143
143
</ div >
144
144
< div class ="col-md-6 text-right hidden-xs ">
145
- < img class ="verification_icon " src ="../static/img/tick.svg " th:src ="@{/img/tick.svg} " width ="20 " height ="22 " /> Verified with cwltool version < span th:text ="${workflow.cwltoolVersion} "> 1.0.20170622090721</ span >
145
+ < img class ="verification_icon " src ="../static/img/tick.svg " th:src ="@{/img/tick.svg} " width ="20 " height ="22 " /> Verified with cwltool version < samp th:text ="${workflow.cwltoolVersion} "> 1.0.20170622090721</ samp >
146
146
</ div >
147
147
148
148
< div class ="col-md-12 " style ="margin-top:5px; " th:if ="${workflow.doc != null} ">
149
- < p th:text ="${workflow.doc} "> Workflow Doc </ p >
149
+ < p id =" workflow-doc " th:text ="${workflow.doc} "> This workflow documentation explains the purpose of the workflow and the main techniques used. Steps are documented individually further down. This is just an example documentation for the template, real documentation might be even longer than this! </ p >
150
150
</ div >
151
151
</ div >
152
152
< div class ="row ">
153
153
< div class ="col-lg-9 col-md-8 col-sm-6 ">
154
- < div class ="permalink hidden-sm hidden-xs hidden-print " th:unless =" ${workflow.packed} " >
154
+ < div class ="permalink hidden-sm hidden-xs hidden-print ">
155
155
Permalink:
156
156
< a href ="https://w3id.org/cwl/view/ " rel ="noopener " class ="help " target ="_blank "> [?]</ a >
157
- < code > < a id ="permalink " th:href ="${workflow.permalink} " th:text ="${workflow.permalink} "
158
- href ="# "> https://w3id.org/cwl/view/git/933bf2a1a1cce32d88f88f136275535da9df0954/workflows/larger/test-hello.cwl</ a > </ code >
157
+ < a id ="permalink " th:href ="${workflow.permalink} " th:text ="${workflow.permalink} "
158
+ href ="# "> https://w3id.org/cwl/view/git/933bf2a1a1cce32d88f88f136275535da9df0954/workflows/larger/test-hello.cwl</ a >
159
159
</ div >
160
160
161
161
</ div >
@@ -204,7 +204,7 @@ <h2>Inputs</h2>
204
204
</ div >
205
205
< div th:unless ="${workflow.inputs.isEmpty()} ">
206
206
< div class ="table-responsive ">
207
- < table class ="table table-striped table-hover ">
207
+ < table class ="table table-striped table-hover input ">
208
208
< thead >
209
209
< th > ID</ th >
210
210
< th > Type</ th >
@@ -213,14 +213,14 @@ <h2>Inputs</h2>
213
213
</ thead >
214
214
< tbody >
215
215
< tr th:each ="input : ${workflow.inputs} ">
216
- < td th:text ="${input.key} "> ID</ td >
217
- < td >
216
+ < td class =" id " th:text ="${input.key} "> ID</ td >
217
+ < td class =" type " >
218
218
< a th:if ="${input.value.format != null} " th:href ="@{${input.value.format}} " th:text ="${input.value.type} " target ="_blank " rel ="noopener "> Type</ a >
219
219
< span th:if ="${input.value.format == null} " th:text ="${input.value.type} "> </ span >
220
220
</ td >
221
- < td th:text ="${input.value.label} "> Label</ td >
222
- < td >
223
- < p th:if ="${input.value.doc != null} " th:utext ="${#strings.replace( #strings.escapeXml(input.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description</ p >
221
+ < td class =" label " th:text ="${input.value.label} "> Label</ td >
222
+ < td class =" doc " >
223
+ < p th:if ="${input.value.doc != null} " th:utext ="${#strings.replace( #strings.escapeXml(input.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description might be a bit longer </ p >
224
224
</ td >
225
225
</ tr >
226
226
</ tbody >
@@ -233,17 +233,17 @@ <h2>Steps</h2>
233
233
</ div >
234
234
< div th:unless ="${workflow.steps.isEmpty()} ">
235
235
< div class ="table-responsive ">
236
- < table class ="table table-striped table-hover ">
236
+ < table class ="table table-striped table-hover steps ">
237
237
< thead >
238
- < th > ID</ th >
239
- < th > Runs</ th >
240
- < th > Label</ th >
241
- < th > Doc</ th >
238
+ < th > ID</ th >
239
+ < th > Runs</ th >
240
+ < th > Label</ th >
241
+ < th > Doc</ th >
242
242
</ thead >
243
243
< tbody >
244
244
< tr th:each ="step : ${workflow.steps} " th:with ="workflowURL=@{${workflow.retrievedFrom.getUrl()}} ">
245
- < td th:text ="${step.key} "> ID</ td >
246
- < td >
245
+ < td class =" id " th:text ="${step.key} "> ID</ td >
246
+ < td class =" run " >
247
247
< div th:if ="${step.value.runType != null} ">
248
248
< a th:if ="${step.value.runType.name() == 'WORKFLOW'} " th:href ="@{${step.value.run.replace('#', '%23')}} " th:text ="${step.value.run} " class ="subworkflow "> workflow.cwl</ a >
249
249
< span th:unless ="${step.value.runType.name() == 'WORKFLOW'} " th:text ="${step.value.run} "> cmdlinetool.cwl</ span >
@@ -253,9 +253,9 @@ <h2>Steps</h2>
253
253
< span th:text ="${step.value.run} + ' (?)' " class ="notFound " data-tooltip ="true " title ="Not Found - Must be somewhere within this repository "> workflow.cwl (?)</ span >
254
254
</ div >
255
255
</ td >
256
- < td th:text ="${step.value.label} "> Label</ td >
257
- < td >
258
- < p th:if ="${step.value.doc != null} " th:utext ="${#strings.replace( #strings.escapeXml(step.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description</ p >
256
+ < td class =" label " th:text ="${step.value.label} "> Label</ td >
257
+ < td class =" doc " >
258
+ < p th:if ="${step.value.doc != null} " th:utext ="${#strings.replace( #strings.escapeXml(step.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description might be a bit longer </ p >
259
259
</ td >
260
260
</ tr >
261
261
</ tbody >
@@ -268,7 +268,7 @@ <h2>Outputs</h2>
268
268
</ div >
269
269
< div th:unless ="${workflow.outputs.isEmpty()} ">
270
270
< div class ="table-responsive ">
271
- < table class ="table table-striped table-hover ">
271
+ < table class ="table table-striped table-hover output ">
272
272
< thead >
273
273
< th > ID</ th >
274
274
< th > Type</ th >
@@ -277,14 +277,14 @@ <h2>Outputs</h2>
277
277
</ thead >
278
278
< tbody >
279
279
< tr th:each ="output : ${workflow.outputs} ">
280
- < td th:text ="${output.key} "> ID</ td >
281
- < td >
280
+ < td class =" id " th:text ="${output.key} "> ID</ td >
281
+ < td class =" type " >
282
282
< a th:if ="${output.value.format != null} " th:href ="@{${output.value.format}} " th:text ="${output.value.type} " target ="_blank " rel ="noopener "> Type</ a >
283
283
< span th:if ="${output.value.format == null} " th:text ="${output.value.type} "> </ span >
284
284
</ td >
285
- < td th:text ="${output.value.label} "> Label</ td >
286
- < td >
287
- < p th:if ="${output.value.doc != null} " th:utext ="${#strings.replace(#strings.escapeXml(output.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description</ p >
285
+ < td class =" label " th:text ="${output.value.label} "> Label</ td >
286
+ < td class =" doc " >
287
+ < p th:if ="${output.value.doc != null} " th:utext ="${#strings.replace(#strings.escapeXml(output.value.doc),T(java.lang.System).getProperty('line.separator')+T(java.lang.System).getProperty('line.separator'),'<br /><br />')} "> Description might be a bit longer </ p >
288
288
</ td >
289
289
</ tr >
290
290
</ tbody >
@@ -293,15 +293,15 @@ <h2>Outputs</h2>
293
293
</ div >
294
294
</ div >
295
295
</ div >
296
- < div class ="row hidden-print " th:unless =" ${workflow.packed} " >
296
+ < div class ="row hidden-print ">
297
297
< div class ="col-md-12 text-center " id ="formats ">
298
298
< span th:each ="format : ${formats} ">
299
299
< a th:id ="|format-${format}| " role ="button " class ="btn btn-default btn-sm " th:href ="${workflow.getPermalink(format.name())} " th:text ="${format} "
300
300
href ="# "> html</ a >
301
301
</ span >
302
302
</ div >
303
303
</ div >
304
- < div class ="visible-print-block " th:unless =" ${workflow.packed} " >
304
+ < div class ="visible-print-block ">
305
305
< address > Permalink:
306
306
< code th:text ="${workflow.permalink} "> https://w3id.org/cwl/view/git/933bf2a1a1cce32d88f88f136275535da9df0954/workflows/larger/test-hello.cwl</ code >
307
307
</ address >
0 commit comments