diff --git a/gaseous-server/Controllers/LogsController.cs b/gaseous-server/Controllers/LogsController.cs index a9800ea8..04b2af07 100644 --- a/gaseous-server/Controllers/LogsController.cs +++ b/gaseous-server/Controllers/LogsController.cs @@ -13,9 +13,9 @@ public class LogsController : Controller { [HttpGet] [ProducesResponseType(StatusCodes.Status200OK)] - public List Logs() + public List Logs(long? StartIndex, int PageNumber = 1, int PageSize = 100) { - return Logging.GetLogs(); + return Logging.GetLogs(StartIndex, PageNumber, PageSize); } } } \ No newline at end of file diff --git a/gaseous-server/wwwroot/pages/settings/logs.html b/gaseous-server/wwwroot/pages/settings/logs.html index 69f29248..3e6b25df 100644 --- a/gaseous-server/wwwroot/pages/settings/logs.html +++ b/gaseous-server/wwwroot/pages/settings/logs.html @@ -7,30 +7,53 @@

Logs

+
+ +
+