Commit 2520e29bf8c33fdec4e0420c37a623d0f580031f
Committed by
Guilherme Rojas
1 parent
643a03b5
Exists in
colab
and in
4 other branches
Added javascript popover comment event
Pending fix the color field
Showing
2 changed files
with
12 additions
and
1 deletions
Show diff stats
app/assets/javascripts/application.js
app/views/metric_configurations/_ranges.html.erb
1 | 1 | <tr> |
2 | - <td style="color: #<%= mezuro_range.color %>"><%= mezuro_range.label %></td> | |
2 | + <td style="color: #<%= mezuro_range.color %>"> | |
3 | + <div> | |
4 | + <a type="button" id="comments" rel="popover" data-placement="left" data-original-title="Comments" data-content="<%= mezuro_range.comments %>"> | |
5 | + Popover on left | |
6 | + </a> | |
7 | + </div> | |
8 | + </td> | |
3 | 9 | <td><%= mezuro_range.beginning %></td> |
4 | 10 | <td><%= mezuro_range.end %></td> |
5 | 11 | <td> | ... | ... |