Skip to content

Commit b874070

Browse files
author
Trent Willis
committed
Improve cursor hints and table layout
1 parent 9dc748a commit b874070

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

app/styles/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ body {
3333
padding-bottom: 100%;
3434
vertical-align: top;
3535
overflow: hidden;
36+
cursor: move;
3637
}
3738

3839
.svg-content {
@@ -41,3 +42,7 @@ body {
4142
top: 0;
4243
left: 0;
4344
}
45+
46+
.table-row:hover {
47+
cursor: pointer;
48+
}

app/templates/components/slow-node-times.hbs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</thead>
3232
<tbody>
3333
{{#each nodes as |node|}}
34-
<tr {{action 'toggleDetailsForNode' node}}>
34+
<tr class="table-row" {{action 'toggleDetailsForNode' node}}>
3535
<td>{{node.label.name}}</td>
3636
<td>{{node.label.broccoliPluginName}}</td>
3737
<td>{{ns-to-ms node._stats.time.plugin}}</td>
@@ -45,6 +45,7 @@
4545
Node Stats
4646
</p>
4747
</header>
48+
4849
<div class="card-content">
4950
{{#each-in (stats-iterator node) as |stat value|}}
5051
<div>
@@ -57,8 +58,11 @@
5758
</div>
5859
{{/each-in}}
5960
</div>
61+
62+
<div class="card-footer">
63+
<a class="card-footer-item" {{action 'focus-node' node}}>Show Graph</a>
64+
</div>
6065
</div>
61-
<button class="button" {{action 'focus-node' node}}>Show Graph</button>
6266
</td>
6367
</tr>
6468
{{/if}}

0 commit comments

Comments
 (0)