added tooltips

This commit is contained in:
Marian Oancea 2015-02-05 03:47:24 +02:00
parent ad42e1c389
commit c1297aca47
4 changed files with 21 additions and 10 deletions

12
public/js/lib/bootstrap.min.js vendored Executable file

File diff suppressed because one or more lines are too long

View File

@ -80,7 +80,5 @@
console.log(data);
});
socket.on('update', function(data){
//
});
$('[data-toggle="tooltip"]').tooltip();
})();

View File

@ -58,20 +58,20 @@ block content
thead
tr.text-info
th
i.icon-node
i.icon-node(data-toggle="tooltip", data-placement="top", title="Node")
th
i.icon-laptop
i.icon-laptop(data-toggle="tooltip", data-placement="top", title="Node type")
th
i.icon-group
i.icon-group(data-toggle="tooltip", data-placement="top", title="Peers")
th
i.icon-mining
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Is mining")
th
i.icon-block
i.icon-block(data-toggle="tooltip", data-placement="top", title="Last node block")
th.hidden-sm.hidden-xs  
th
i.icon-time
i.icon-time(data-toggle="tooltip", data-placement="top", title="Last node time")
th
i.icon-clock
i.icon-clock(data-toggle="tooltip", data-placement="top", title="Up-time")
tbody
tr(ng-repeat='node in nodes', class="{{ node.stats | mainClass : bestBlock }}")
td(rel="{{node.id}}") {{node.name}}

View File

@ -20,6 +20,7 @@ html(ng-app="netStatsApp")
script(src="/js/lib/datamaps.min.js")
script(src="/js/lib/moment.min.js")
script(src="/js/lib/angular-moment.min.js")
script(src="/js/lib/bootstrap.min.js")
script(src="/js/app.js")
script(src="/js/services.js")
script(src="/js/controllers.js")