From 8d76e5cdc7ae2d09231ce01a11e8048810f1c214 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 6 Oct 2025 19:43:28 +0200 Subject: [PATCH] Fix padding of tables --- app/Http/Controllers/ApiHelpController.php | 4 +- resources/views/{ => api}/apidesc.blade.php | 50 +++++++++---------- resources/views/{ => api}/apiv2desc.blade.php | 40 +++++++-------- 3 files changed, 47 insertions(+), 47 deletions(-) rename resources/views/{ => api}/apidesc.blade.php (83%) rename resources/views/{ => api}/apiv2desc.blade.php (85%) diff --git a/app/Http/Controllers/ApiHelpController.php b/app/Http/Controllers/ApiHelpController.php index 712c58e83..90a8cddfd 100644 --- a/app/Http/Controllers/ApiHelpController.php +++ b/app/Http/Controllers/ApiHelpController.php @@ -26,7 +26,7 @@ class ApiHelpController extends BasePageController $this->viewData['meta_description'] = 'View description of the site Nzb Api.'; $this->viewData['catClass'] = Category::class; - return view('apidesc', $this->viewData); + return view('api.apidesc', $this->viewData); } /** @@ -42,6 +42,6 @@ class ApiHelpController extends BasePageController $this->viewData['meta_description'] = 'View description of the site Nzb version 2 Api.'; $this->viewData['catClass'] = Category::class; - return view('apiv2desc', $this->viewData); + return view('api.apiv2desc', $this->viewData); } } diff --git a/resources/views/apidesc.blade.php b/resources/views/api/apidesc.blade.php similarity index 83% rename from resources/views/apidesc.blade.php rename to resources/views/api/apidesc.blade.php index e6987e7ad..ad8e038c9 100644 --- a/resources/views/apidesc.blade.php +++ b/resources/views/api/apidesc.blade.php @@ -23,25 +23,25 @@

Available Functions

Use the parameter ?t= to specify the function being called.

- +
- - - + + + - - + - - - + - - - + - - - + - - - - + + - - + - - - - + +
FunctionDescriptionExampleFunctionDescriptionExample
Capabilities + Capabilities Reports the capabilities of the server. Includes information about the server name, available search categories and version number of the newznab protocol being used.
No credentials required
+ ?t=caps @@ -49,8 +49,8 @@
Search + Search Returns a list of NZBs matching a query. You can filter by site category by including a comma separated list of categories.
@@ -60,7 +60,7 @@
+
@if($loggedin ?? false) @@ -76,8 +76,8 @@
TV Search + TV Search Returns a list of NZBs matching a query, category, or TV ID. Filter by season, episode, or various database IDs.
ID OPTIONS @@ -91,7 +91,7 @@
+ @if($loggedin ?? false) @@ -101,8 +101,8 @@
Movies + Movies Returns a list of NZBs matching a query, an IMDB ID and optionally a category.
OPTIONS @@ -111,7 +111,7 @@
+ @if($loggedin ?? false) @@ -121,9 +121,9 @@
DetailsReturns detailed information about an NZB. + DetailsReturns detailed information about an NZB. @if($loggedin ?? false) @@ -133,11 +133,11 @@
Info + Info Returns NFO contents for an NZB. Retrieve the NFO as file by specifying o=file in the request URI. + @if($loggedin ?? false) @@ -147,9 +147,9 @@
GetDownloads the NZB file associated with an ID. + GetDownloads the NZB file associated with an ID. @if($loggedin ?? false) diff --git a/resources/views/apiv2desc.blade.php b/resources/views/api/apiv2desc.blade.php similarity index 85% rename from resources/views/apiv2desc.blade.php rename to resources/views/api/apiv2desc.blade.php index d8bb1457c..4123ab107 100644 --- a/resources/views/apiv2desc.blade.php +++ b/resources/views/api/apiv2desc.blade.php @@ -25,25 +25,25 @@

Available Functions

- +
- - - + + + - - + - - - + - - - + - - + - - - + + - - - + +
FunctionDescriptionExampleFunctionDescriptionExample
Capabilities + Capabilities Reports the capabilities of the server. Includes information about the server name, available search categories and version number of the nntmux being used.
No credentials required
+ capabilities @@ -51,12 +51,12 @@
Search + Search Returns a list of NZBs matching a query. You can filter by site category by including a comma separated list of categories. +
@if($loggedin ?? false) @@ -72,8 +72,8 @@
TV Search + TV Search Returns a list of NZBs matching a query, category, TVRageID, season or episode.
ID OPTIONS @@ -103,8 +103,8 @@
Movies + Movies Returns a list of NZBs matching a query, an ID (IMDB, TMDB, or Trakt) and optionally a category.
ID OPTIONS @@ -131,9 +131,9 @@
DetailsReturns detailed information about an NZB. + DetailsReturns detailed information about an NZB. @if($loggedin ?? false) @@ -143,9 +143,9 @@
Get NZBDownloads the NZB file associated with an ID. + Get NZBDownloads the NZB file associated with an ID. @if($loggedin ?? false)