Commit f9ce402b authored by Romain Courteaud's avatar Romain Courteaud Committed by Jérome Perrin

Migrate fontawesome icon to JQM.

parent 5d64718c
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<td>Daily Attainment</td> <td>Daily Attainment</td>
<td> <td>
{{#interval_list}} {{#interval_list}}
{{interval}}<i class="fa {{icon}}"/><br/> <i class="ui-link ui-btn ui-icon-{{icon}} ui-btn-inline ui-cornel-all ui-btn-icon-right">{{interval}}</i><br/>
{{/interval_list}} {{/interval_list}}
</td> </td>
</tr> </tr>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
for (i = 0; i < elementList.length; i += 1) { for (i = 0; i < elementList.length; i += 1) {
element = elementList[i]; element = elementList[i];
if (element._class === 'Dream.Exit') { if (element._class === 'Dream.Exit') {
result += "<table>"; result += '<table>';
result += header_template({name: element.name || element.id}); result += header_template({name: element.name || element.id});
...@@ -70,12 +70,12 @@ ...@@ -70,12 +70,12 @@
if (interval_value > throughputTarget) { if (interval_value > throughputTarget) {
interval_list.push({ interval_list.push({
interval: interval_value, interval: interval_value,
icon: "fa-smile-o" icon: "check"
}); });
} else { } else {
interval_list.push({ interval_list.push({
interval: interval_value, interval: interval_value,
icon: "fa-frown-o" icon: "delete"
}); });
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment