LSP: conversion tab

[NOTE: changes *untested* as no Mistcontroller build was available.]
This commit is contained in:
Cat 2013-06-09 11:46:35 +02:00 committed by Thulinma
parent b69997d968
commit 149fe75b1c
4 changed files with 1548 additions and 1322 deletions

View file

@ -23,6 +23,7 @@
<li>protocols</li>
<li>streams</li>
<li class='LTSonly'>limits</li>
<li>conversion</li>
<li>logs</li>
<li>server stats</li>
<li id='logoutbutton'>disconnect</li>

View file

@ -157,7 +157,8 @@
{
"streams": {},
"capabilities": {},
"statistics": {}
"statistics": {},
"conversion": {}
}, d);
//IE breaks if the console isn't opened, so keep commented when committing
@ -393,7 +394,8 @@
"streams": {},
"capabilities": {},
"log": {},
"statistics": {}
"statistics": {},
"conversion": {}
}, d)
if (settings.settings.LTS == 1) {
$('.LTSonly').show();
@ -723,6 +725,23 @@ function buildLogsTable(){
return $table;
}
/**
* At the conversion page, does a directory query to obtain input files
@params: - query: the directory query
*/
function conversionDirQuery(query) {
getData(function(data){
var c = data.conversion.arrayoffilenamesreturnedbyquery
//todo change this ^
for (var i in c) {
$('#conv-edit-input').append(
$('<option>').value(c[i])
);
}
});
}
/**
* Tooltip creator - creates a tooltip near the cursor
@params: - position: the object returned by the hover or click event

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,7 @@
<li>protocols</li>
<li>streams</li>
<li class='LTSonly'>limits</li>
<li>conversion</li>
<li>logs</li>
<li>server stats</li>
<li id='logoutbutton'>disconnect</li>