@@ -44,31 +44,31 @@ <h1>Common Workflow Language Viewer</h1>
44
44
< div class ="alert alert-info ">
45
45
< p > Want to generate visualisations in build scripts or from another automated process? Find out about < a href ="/apidocs " alt ="API Documentation "> our API</ a > </ p >
46
46
</ div >
47
+ < div class ="alert alert-grey ">
48
+ < strong > Don't know what to view?</ strong > Try these from < i > common-workflow-language/workflows</ i > :
49
+ < a href ="/workflows/github.com/common-workflow-language/workflows/tree/master/workflows/compile/compile1.cwl "> compile</ a > ,
50
+ < a href ="/workflows/github.com/common-workflow-language/workflows/tree/master/workflows/make-to-cwl/dna.cwl "> make-to-cwl</ a > ,
51
+ < a href ="/workflows/github.com/common-workflow-language/workflows/tree/master/workflows/lobSTR/lobSTR-workflow.cwl "> lobSTR</ a > ,
52
+ < a href ="/workflows/github.com/common-workflow-language/workflows/tree/master/workflows/scidap/bam-genomecov-bigwig-rna-dutp.cwl "> scidap</ a >
53
+ or < a href ="/workflows "> explore the collection</ a >
54
+ </ div >
47
55
48
56
< hr />
49
57
50
- < h2 > Workflow from Github URL</ h2 >
51
- < p > Provide a Github link to the workflow here</ p >
58
+ < h2 > Workflow from Github/Gitlab URL</ h2 >
59
+ < p > Provide a Github or Gitlab link to the workflow here</ p >
52
60
< form id ="add " action ="# " th:action ="@{/workflows} " th:object ="${workflowForm} " method ="POST ">
53
61
< div class ="alert alert-danger " th:if ="${errors} != null and ${errors.hasErrors()} ">
54
62
< div th:each ="error : ${errors.getAllErrors()} ">
55
63
< strong > Error:</ strong > < span th:text ="${error.getDefaultMessage()} "> Error message here</ span >
56
64
</ div >
57
65
</ div >
58
- < div class ="alert alert-danger " th:if ="${#fields.hasErrors('githubURL')} ">
59
- < strong > Error:</ strong > < span th:errors ="*{githubURL} "> Error message here</ span >
60
- </ div >
61
- < div class ="alert alert-grey ">
62
- < strong > Don't know what to view?</ strong > Try these from < i > common-workflow-language/workflows</ i > :
63
- < a class ="example " href ="https://github.com/common-workflow-language/workflows/tree/master/workflows/compile/compile1.cwl "> compile</ a > ,
64
- < a class ="example " href ="https://github.com/common-workflow-language/workflows/tree/master/workflows/make-to-cwl/dna.cwl "> make-to-cwl</ a > ,
65
- < a class ="example " href ="https://github.com/common-workflow-language/workflows/tree/master/workflows/lobSTR/lobSTR-workflow.cwl "> lobSTR</ a > ,
66
- < a class ="example " href ="https://github.com/common-workflow-language/workflows/tree/master/workflows/scidap/bam-genomecov-bigwig-rna-dutp.cwl "> scidap</ a >
67
- or < a href ="/workflows "> explore the collection</ a >
66
+ < div class ="alert alert-danger " th:if ="${#fields.hasErrors('url')} ">
67
+ < strong > Error:</ strong > < span th:errors ="*{url} "> Error message here</ span >
68
68
</ div >
69
69
< div class ="input-group ">
70
- < label for ="githubURL " class ="sr-only "> Github URL</ label >
71
- < input type ="text " class ="form-control " placeholder ="Github URL " id ="githubURL " name ="githubURL " th:field ="*{githubURL } " th:value ="${formURL} " required ="true " />
70
+ < label for ="url " class ="sr-only "> Github or Gitlab URL</ label >
71
+ < input type ="text " class ="form-control " placeholder ="Github or Gitlab URL " id ="url " name ="url " th:field ="*{url } " th:value ="${formURL} " required ="true " />
72
72
< span class ="input-group-btn ">
73
73
< button class ="btn btn-primary " type ="submit "> Parse Workflow</ button >
74
74
</ span >
@@ -85,11 +85,11 @@ <h2>Workflow from Git Details</h2>
85
85
< strong > Error:</ strong > < span th:text ="${error.getDefaultMessage()} "> Error message here</ span >
86
86
</ div >
87
87
</ div >
88
- < div class ="alert alert-danger " th:if ="${#fields.hasErrors('githubURL ')} ">
89
- < strong > Error:</ strong > < span th:errors ="*{githubURL } "> Error message here</ span >
88
+ < div class ="alert alert-danger " th:if ="${#fields.hasErrors('url ')} ">
89
+ < strong > Error:</ strong > < span th:errors ="*{url } "> Error message here</ span >
90
90
</ div >
91
91
< label for ="repoURL "> Repository URL</ label >
92
- < input type ="text " class ="form-control " placeholder ="Repository URL (HTTPS) " id ="repoURL " name ="repoURL " th:field ="*{githubURL } " th:value ="${formURL} " required ="true " />
92
+ < input type ="text " class ="form-control " placeholder ="Repository URL (HTTPS) " id ="repoURL " name ="repoURL " th:field ="*{url } " th:value ="${formURL} " required ="true " />
93
93
< div class ="row " style ="margin-top:10px;margin-bottom:10px; ">
94
94
< div class ="col-md-6 ">
95
95
< label for ="branch "> Branch Name/Commit ID</ label >
@@ -107,7 +107,5 @@ <h2>Workflow from Git Details</h2>
107
107
</ div >
108
108
109
109
< div th:replace ="fragments/footer :: copy "> </ div >
110
-
111
- < script src ="/bower_components/requirejs/require.js " data-main ="/js/main.js "> </ script >
112
110
</ body >
113
111
</ html >
0 commit comments