Skip to content

Commit

Permalink
Show command in tasks list
Browse files Browse the repository at this point in the history
  • Loading branch information
setaou committed Sep 21, 2023
1 parent 0259b03 commit c4dbba4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@
color: inherit;
}

.mon-taglist, .mon-taskdescription {
.mon-taglist, .mon-taskdescription, .mon-taskcommand {
margin-bottom: 0
}

.mon-taskcommand {
font-size: x-small;
color: gray;
text-overflow: ellipsis;

display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}

.mon-taskcommand span {
font-family: monospace;
}

.mon-taskdescription {
white-space: pre-line;
}
Expand Down
1 change: 1 addition & 0 deletions templates/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<h4 class="mon-taskname"><a ng-href="#/tasks/{{::task.id}}/view">{{::task.name}}</a></h4>
<p class="mon-taglist"><span ng-repeat="tag in task.tags"><a href="" ng-click="addFilter('tag:' + tag)"><span class="radius label">{{::tag}}</span></a> </span></p>
<p class="mon-taskdescription">{{::task.description}}</p>
<p class="mon-taskcommand">Command: <span>{{::task.command}}</span></p>
</td>
<td><span ng-repeat="pool in task.pools">{{ ::pool }}<span ng-if="!$last">, </span></span> ({{ ::task.mode }})</td>
<td ng-if="tagfilter != 'template' && plugins.executionsummary">
Expand Down

0 comments on commit c4dbba4

Please sign in to comment.