tidying up
This commit is contained in:
@@ -5,7 +5,7 @@ $downloadsList = [
|
||||
["name" => "waiting", "label" => "Waiting Downloads", "id" => "waiting-downloads", "path" => "/apps/ncdownloader/status/waiting"],
|
||||
["name" => "fail", "label" => "Failed Downloads", "id" => "failed-downloads", "path" => "/apps/ncdownloader/status/fail"],
|
||||
["name" => "complete", "label" => "Complete Downloads", "id" => "complete-downloads", "path" => "/apps/ncdownloader/status/complete"],
|
||||
["name" => "youtube-dl", "label" => "Youtube-dl Downloads", "id" => "youtube-dl-downloads", "path" => "/apps/ncdownloader/youtube/get"],
|
||||
["name" => "ytdl", "label" => "Youtube-dl Downloads", "id" => "ytdl-downloads", "path" => "/apps/ncdownloader/ytdl/get"],
|
||||
];
|
||||
?>
|
||||
<div id="app-navigation">
|
||||
|
||||
@@ -21,8 +21,8 @@ extract($_);
|
||||
<?php print($l->t('Youtube-dl Binary Path'));?>
|
||||
</label>
|
||||
<input type="text" class="ncd_yt_binary" id="ncd_yt_binary" name="ncd_yt_binary"
|
||||
value="<?php print($ncd_yt_binary ?? '/usr/local/bin/youtube-dl');?>"
|
||||
placeholder='/usr/local/bin/youtube-dl' />
|
||||
value="<?php print($ncd_yt_binary ?? '/usr/local/bin/ytdl');?>"
|
||||
placeholder='/usr/local/bin/ytdl' />
|
||||
<input type="button" value="<?php print($l->t('Save'));?>" data-rel="ncd_yt_binary_container" />
|
||||
</div>
|
||||
<div id="ncd_aria2_binary_container" path="<?php print $path;?>">
|
||||
|
||||
@@ -74,17 +74,17 @@ $time_map = array('i' => 'minutes', 'h' => 'hours', 'w' => 'weeks', 'd' => 'days
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ncdownloader-youtube-dl-settings">
|
||||
<div class="ncdownloader-ytdl-settings">
|
||||
<h3 class="title">
|
||||
<?php print($l->t('Custom Youtube-dl Settings'));?>
|
||||
</h3>
|
||||
<div classs="section" id="custom-youtube-dl-settings-container"
|
||||
path="/apps/ncdownloader/personal/youtube-dl/save">
|
||||
<button class="add-custom-youtube-dl-settings">
|
||||
<div classs="section" id="custom-ytdl-settings-container"
|
||||
path="/apps/ncdownloader/personal/ytdl/save">
|
||||
<button class="add-custom-ytdl-settings">
|
||||
<?php print $l->t('Add Options');?>
|
||||
</button>
|
||||
<button class="save-custom-youtube-dl-settings" data-tippy-content=''
|
||||
data-rel="custom-youtube-dl-settings-container">
|
||||
<button class="save-custom-ytdl-settings" data-tippy-content=''
|
||||
data-rel="custom-ytdl-settings-container">
|
||||
<?php print $l->t('Save');?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user