Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 63a752a

Browse files
cppwfsjvalkeal
authored andcommitted
Changes Task Def Buttons to use simple icons.
- resolves #424 - Polish - Remove left margin style from first action button - Remove width from definitions column for it to take remaining space and fix width of actions column.
1 parent 8c87b22 commit 63a752a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ui/src/app/tasks/task-definitions/task-definitions.component.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<thead>
2929
<tr>
3030
<th style="width: 70px"><a (click)="toggleDefinitionNameSort()"><span style="margin-right: 5px">Name</span></a><i class="fa" [ngClass]="{'fa-sort': definitionNameSort === undefined, 'fa-sort-asc': definitionNameSort === false, 'fa-sort-desc': definitionNameSort === true }" aria-hidden="true"></i></th>
31-
<th style="width: 300px"><a (click)="toggleDefinitionSort()"><span style="margin-right: 5px">Definitions</span></a><i class="fa" [ngClass]="{'fa-sort': definitionSort === undefined, 'fa-sort-asc': definitionSort === false, 'fa-sort-desc': definitionSort === true }" aria-hidden="true"></i></th>
32-
<th style="width: 240px" colspan="1" class="text-center">Actions</th>
31+
<th><a (click)="toggleDefinitionSort()"><span style="margin-right: 5px">Definitions</span></a><i class="fa" [ngClass]="{'fa-sort': definitionSort === undefined, 'fa-sort-asc': definitionSort === false, 'fa-sort-desc': definitionSort === true }" aria-hidden="true"></i></th>
32+
<th style="width: 126px" class="text-center">Actions</th>
3333
</tr>
3434
</thead>
3535

@@ -42,12 +42,10 @@
4242
<button type="button" (click)="launchTask(item)"
4343
class="btn btn-default" title="Launch">
4444
<span class="glyphicon glyphicon-play"></span>
45-
Launch
4645
</button>
4746
<button type="button" [appRoles]="['ROLE_CREATE']" (click)="destroyTask(item)"
48-
class="btn btn-default" title="Destroy">
47+
class="btn btn-default" style="margin-left: 0;" title="Destroy">
4948
<span class="glyphicon glyphicon-remove"></span>
50-
Destroy
5149
</button>
5250
</td>
5351
</tr>

0 commit comments

Comments
 (0)