Skip to content

Commit

Permalink
Cleanup status and statistic menu
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierBerger committed Oct 18, 2014
1 parent 935faa3 commit 19b2be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpimonitor/web/js/rpimonitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function UpdateMenu(){
if ( data.status.length > 1 ){
$('#statusmenu').addClass('dropdown');
var dropDownMenu='<ul class="dropdown-menu">';
dropDownMenu+='<li class="nav-header">Status</li>'
//dropDownMenu+='<li class="nav-header">Status</li>'
for ( var iloop=0; iloop < data.status.length; iloop++){
dropDownMenu+='<li><a href="status.html?activePage='+iloop+'">'+data.status[iloop]+'</a></li>';
}
Expand All @@ -333,7 +333,7 @@ function UpdateMenu(){
if ( data.statistics.length > 1 ){
$('#statisticsmenu').addClass('dropdown');
var dropDownMenu='<ul class="dropdown-menu">';
dropDownMenu+='<li class="nav-header">Statistics</li>'
//dropDownMenu+='<li class="nav-header">Statistics</li>'
for ( var iloop=0; iloop < data.statistics.length; iloop++){
dropDownMenu+='<li><a href="statistics.html?activePage='+iloop+'">'+data.statistics[iloop]+'</a></li>';
}
Expand Down

0 comments on commit 19b2be0

Please sign in to comment.