added tooltips
This commit is contained in:
parent
ad42e1c389
commit
c1297aca47
12
public/js/lib/bootstrap.min.js
vendored
Executable file
12
public/js/lib/bootstrap.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
@ -80,7 +80,5 @@
|
|||||||
console.log(data);
|
console.log(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('update', function(data){
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
//
|
|
||||||
});
|
|
||||||
})();
|
})();
|
@ -58,20 +58,20 @@ block content
|
|||||||
thead
|
thead
|
||||||
tr.text-info
|
tr.text-info
|
||||||
th
|
th
|
||||||
i.icon-node
|
i.icon-node(data-toggle="tooltip", data-placement="top", title="Node")
|
||||||
th
|
th
|
||||||
i.icon-laptop
|
i.icon-laptop(data-toggle="tooltip", data-placement="top", title="Node type")
|
||||||
th
|
th
|
||||||
i.icon-group
|
i.icon-group(data-toggle="tooltip", data-placement="top", title="Peers")
|
||||||
th
|
th
|
||||||
i.icon-mining
|
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Is mining")
|
||||||
th
|
th
|
||||||
i.icon-block
|
i.icon-block(data-toggle="tooltip", data-placement="top", title="Last node block")
|
||||||
th.hidden-sm.hidden-xs
|
th.hidden-sm.hidden-xs
|
||||||
th
|
th
|
||||||
i.icon-time
|
i.icon-time(data-toggle="tooltip", data-placement="top", title="Last node time")
|
||||||
th
|
th
|
||||||
i.icon-clock
|
i.icon-clock(data-toggle="tooltip", data-placement="top", title="Up-time")
|
||||||
tbody
|
tbody
|
||||||
tr(ng-repeat='node in nodes', class="{{ node.stats | mainClass : bestBlock }}")
|
tr(ng-repeat='node in nodes', class="{{ node.stats | mainClass : bestBlock }}")
|
||||||
td(rel="{{node.id}}") {{node.name}}
|
td(rel="{{node.id}}") {{node.name}}
|
||||||
|
@ -20,6 +20,7 @@ html(ng-app="netStatsApp")
|
|||||||
script(src="/js/lib/datamaps.min.js")
|
script(src="/js/lib/datamaps.min.js")
|
||||||
script(src="/js/lib/moment.min.js")
|
script(src="/js/lib/moment.min.js")
|
||||||
script(src="/js/lib/angular-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/app.js")
|
||||||
script(src="/js/services.js")
|
script(src="/js/services.js")
|
||||||
script(src="/js/controllers.js")
|
script(src="/js/controllers.js")
|
||||||
|
Loading…
Reference in New Issue
Block a user