Skip to content

Commit 6ba1d5d

Browse files
committed
Show workflow permalink
1 parent 6196d34 commit 6ba1d5d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

src/main/resources/static/css/main-20170616.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,13 @@ polygon.hover {
287287
font-style: italic;
288288
margin-bottom: 30px;
289289
}
290+
291+
#permalink {
292+
overflow: hidden;
293+
text-overflow: ellipsis;
294+
}
295+
296+
#permalink a {
297+
font-size: smaller;
298+
font-family: Consolas, Inconsolata, monospace;
299+
}

src/main/resources/templates/workflow.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,13 @@ <h2>Workflow: <span th:text="${workflow.label}">Workflow Name</span></h2>
147147
</div>
148148
</div>
149149
<div class="row">
150-
<div class="col-md-12">
150+
<div class="col-md-8">
151+
<div id="permalink">
152+
Permalink: <a th:href="${workflow.permalink}" th:text="${workflow.permalink}"
153+
href="#">https://w3id.org/cwl/view/git/933bf2a1a1cce32d88f88f136275535da9df0954/workflows/hello/hello.cwl</a>
154+
</div>
155+
</div>
156+
<div class="col-md-4">
151157
<div id="graph-menu" class="pull-right">
152158
<strong>Graph: </strong>
153159
<button id="view-dot" class="btn btn-primary" type="button" data-toggle="modal" data-target="#dotGraph">View DOT</button>

0 commit comments

Comments
 (0)