diff options
author | Simon Rettberg | 2016-02-15 18:33:37 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-02-15 18:33:37 +0100 |
commit | 6821a5f066b8e2a5648c0eabf1322749300d28c3 (patch) | |
tree | d61b1fd3e2e91532dceed824ae03513430f037b6 /templates/statistics/cpumodels.html | |
parent | [ad/ldap] Fallback to default ports if working on old config (diff) | |
download | slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.gz slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.xz slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.zip |
[statistics] Smart values, show last log lines, location support
Diffstat (limited to 'templates/statistics/cpumodels.html')
-rw-r--r-- | templates/statistics/cpumodels.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/statistics/cpumodels.html b/templates/statistics/cpumodels.html index f98b89db..2f24cd92 100644 --- a/templates/statistics/cpumodels.html +++ b/templates/statistics/cpumodels.html @@ -1,21 +1,23 @@ <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> - {{lang_cpuStats}} + {{lang_modelStats}} </div> <div class="panel-body"> <div class="row"> <div class="col-md-8"> <table class="table table-condensed table-striped"> <tr> - <th>{{lang_cpuName}}</th> + <th>{{lang_modelName}}</th> <th class="text-right">{{lang_cpuCores}}</th> - <th class="text-right">{{lang_cpuCount}}</th> + <th class="text-right">{{lang_modelCount}}</th> </tr> {{#rows}} <tr id="{{id}}"> - <td class="text-left slx-nowrap"><a href="?do=Statistics&filter=cpumodel&argument={{urlcpumodel}}">{{cpumodel}}</a></td> - <td class="text-right"><a href="?do=Statistics&filter=realcores&argument={{realcores}}">{{realcores}}</a></td> + <td class="text-left slx-nowrap"> + <a href="?do=Statistics&filter=systemmodel&argument={{urlsystemmodel}}">{{systemmodel}}</a> + </td> + <td class="text-right"><a href="?do=Statistics&filter=realcores&argument={{cores}}">{{cores}}</a></td> <td class="text-right">{{count}}</td> </tr> {{/rows}} @@ -27,7 +29,7 @@ document.addEventListener("DOMContentLoaded", function() { var data = {{{json}}}; var sel = false; - new Chart(document.getElementById('cpumodelchart').getContext('2d')).Pie(data, { + new Chart(document.getElementById('cpumodelchart').getContext('2d')).Pie(data, { animation: false, tooltipTemplate: "<%if (label){%><%=label%><%}%>", customTooltips: function(tooltip) { @@ -46,4 +48,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |