LSP: removed unsupported limits and bugfixed limits tab not showing up despite having a LTS version
This commit is contained in:
parent
77bb9e76b1
commit
2e0201e1e8
3 changed files with 10 additions and 9 deletions
|
@ -389,7 +389,10 @@
|
|||
"capabilities": {},
|
||||
"log": {},
|
||||
"statistics": {}
|
||||
}, d);
|
||||
}, d)
|
||||
if (settings.settings.LTS != 1) {
|
||||
$('.LTSonly').remove();
|
||||
}
|
||||
}
|
||||
if(callback)
|
||||
{
|
||||
|
|
12
lsp/main.js
12
lsp/main.js
|
@ -31,14 +31,15 @@
|
|||
['kb_total', 'Total bandwidth'],
|
||||
['kbps_max', 'Current bandwidth'],
|
||||
['users', 'Concurrent users'],
|
||||
['streams', 'Cocurrent streams'],
|
||||
['geo', 'Geolimited'],
|
||||
['host', 'Hostlimited'],
|
||||
['time', 'Timelimited'],
|
||||
['host', 'Hostlimited']
|
||||
];
|
||||
|
||||
/* Not currently supported but may return at a later time:
|
||||
['duration', 'Duration'],
|
||||
['str_kbps_min', 'Minimum bitrate'],
|
||||
['str_kbps_max', 'Maximum bitrate']
|
||||
];
|
||||
/*
|
||||
|
||||
|
||||
/**
|
||||
|
@ -63,9 +64,6 @@
|
|||
showTab($(this).text());
|
||||
});
|
||||
|
||||
if (($(this).text() == "limits") && (settings.settings.LTS != 1)) {
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
|
||||
// show login 'tab' and hide menu
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<li class='selected'>overview</li>
|
||||
<li>protocols</li>
|
||||
<li>streams</li>
|
||||
<li>limits</li>
|
||||
<li class='LTSonly'>limits</li>
|
||||
<li>logs</li>
|
||||
<li>server stats</li>
|
||||
<li id='logoutbutton'>disconnect</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue