From 23392958da8b216036904772c6100756f66c1eb1 Mon Sep 17 00:00:00 2001 From: Moahmed-Ismail MEJRI Date: Thu, 17 Mar 2022 16:18:00 +0100 Subject: [PATCH] Revert "Change services default order." This reverts commit 77af792f1bfc46effd84fb4c8e027ab6645e7bbe. --- src/components/mainForm.vue | 27 +++++++++++++-------------- src/components/searchInput.vue | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/components/mainForm.vue b/src/components/mainForm.vue index d6bba5b..7d2ef2a 100644 --- a/src/components/mainForm.vue +++ b/src/components/mainForm.vue @@ -2,7 +2,13 @@
+ -
@@ -97,12 +97,12 @@ export default { data() { return { checkedValue: false, - path: this.uris.ytd_url, + path: this.uris.aria2_url, inputType: "download", - checkboxes: true, - downloadType: "youtube-dl", - placeholder: t("ncdownloader", "Paste your video link here"), - searchLabel: t("ncdownloader", "Search Music"), + checkboxes: false, + downloadType: "aria2", + placeholder: t("ncdownloader", "Paste your http/magnet link here"), + searchLabel: t("ncdownloader", "Search Torrents"), searchOptions: this.search_sites ? this.search_sites : this.noOptions(), selectedExt: "Default", }; @@ -126,7 +126,6 @@ export default { this.downloadType = type; if (type === "aria2") { this.path = this.uris.aria2_url; - this.placeholder = t("ncdownloader", "Paste your http/magnet link here"); } else if (type === "youtube-dl") { this.placeholder = t("ncdownloader", "Paste your video link here"); this.path = this.uris.ytd_url; @@ -243,11 +242,11 @@ export default { .magnet-link, .choose-file { background-color: #a0a0ae; + border-radius: 15px 0px 0px 15px; } .youtube-dl-link { background-color: #b8b8ca; - border-radius: 15px 0px 0px 15px; } .search-torrents { background-color: #d0d0e0; diff --git a/src/components/searchInput.vue b/src/components/searchInput.vue index bcb179f..dae9213 100644 --- a/src/components/searchInput.vue +++ b/src/components/searchInput.vue @@ -28,7 +28,7 @@ export default { data() { return { placeholder: t("ncdownloader", "Enter keyword to search"), - selected: "sliderkz", + selected: "TPB", }; }, components: {