fixed #10;fixed mobile table layout issue;included stylesheets in js file and deleted original css files
This commit is contained in:
@@ -234,7 +234,7 @@ class Aria2Controller extends Controller
|
||||
$actions[] = $this->createActionItem('unpause', 'unpause');
|
||||
}
|
||||
if ($this->aria2->methodName === "tellActive") {
|
||||
$speed = [Helper::formatBytes($value['downloadSpeed']), $left . " left"];
|
||||
$speed = [Helper::formatBytes($value['downloadSpeed']), $left];
|
||||
$tmp['speed'] = $speed;
|
||||
$tmp['progress'] = $value['progress'];
|
||||
$actions[] = $this->createActionItem('pause', 'pause');
|
||||
|
||||
@@ -43,8 +43,8 @@ class MainController extends Controller
|
||||
// $str = \OC::$server->getDatabaseConnection()->getInner()->getPrefix();
|
||||
//$config = \OC::$server->getAppConfig();
|
||||
OC_Util::addScript($this->appName, 'app');
|
||||
OC_Util::addStyle($this->appName, 'style');
|
||||
OC_Util::addStyle($this->appName, 'table');
|
||||
// OC_Util::addStyle($this->appName, 'style');
|
||||
// OC_Util::addStyle($this->appName, 'table');
|
||||
$params = array();
|
||||
$params['aria2_running'] = $this->aria2->isRunning();
|
||||
$params['aria2_installed'] = $this->aria2->isInstalled();
|
||||
|
||||
@@ -53,7 +53,7 @@ class YoutubeController extends Controller
|
||||
$filename = sprintf('<a class="download-file-folder" href="%s">%s</a>', $folderLink, $value['filename']);
|
||||
$fileInfo = sprintf("%s | %s", $value['filesize'], date("Y-m-d H:i:s", $value['timestamp']));
|
||||
$tmp['filename'] = array($filename, $fileInfo);
|
||||
$tmp['speed'] = $value['speed'];
|
||||
$tmp['speed'] = explode("|", $value['speed']);
|
||||
$tmp['progress'] = $value['progress'];
|
||||
if ((int) $value['status'] == Helper::STATUS['COMPLETE']) {
|
||||
$path = $this->urlGenerator->linkToRoute('ncdownloader.Youtube.Delete');
|
||||
|
||||
Reference in New Issue
Block a user