Skip to content

Commit

Permalink
Add tooltips to action buttons. Fixes #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Pascoe authored and Stephen Pascoe committed Sep 15, 2015
1 parent 1775d8d commit 81c9f9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions luigi/static/visualiser/index.html
Expand Up @@ -216,14 +216,13 @@

<script type="text/template" name="actionsTemplate">
<div class="span2">
<a href="#{{taskId}}" class="btn btn-info btn-xs" data-action="drawGraph"><i class="fa fa-sitemap"></i></a>
{{#error}}<button class="btn btn-danger btn-xs showError"><i class="fa fa-bug"></i></button>{{/error}}
{{#re_enable}}<a class="btn btn-warning btn-xs re-enable-button" data-task-id="{{taskId}}">Re-enable</a>{{/re_enable}}
<a href="#{{taskId}}" class="btn btn-info btn-xs" title="View graph" data-toggle="tooltip"><i class="fa fa-sitemap"></i></a>
{{#error}}<button class="btn btn-danger btn-xs showError" title="Show error" data-toggle="tooltip"><i class="fa fa-bug"></i></button>{{/error}}
{{#re_enable}}<a class="btn btn-warning btn-xs re-enable-button" title="Re-enable" data-toggle="tooltip" data-task-id="{{taskId}}">Re-enable</a>{{/re_enable}}
</div>
</script>
<script type="text/template" name="rowDetailsTemplate">
<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">
<!-- TODO: decide where to display Priority and Resources
<tr>
<td>Priority:</td>
<td>{{ priority }}</td>
Expand Down

0 comments on commit 81c9f9e

Please sign in to comment.