Compare commits

..

1 Commits

Author SHA1 Message Date
c4192cbbfd Update dependency prettier-plugin-svelte to v3.3.3 2025-01-20 07:02:02 +00:00
4 changed files with 4 additions and 9 deletions

View File

@ -68,7 +68,6 @@ on my local git server until I deleted it when I was done with 6.0. This website
- **v4.0 (2023 november - 2024 october)**: In this version the frontend was still similar to 3.0, the big changes are in - **v4.0 (2023 november - 2024 october)**: In this version the frontend was still similar to 3.0, the big changes are in
the API. I rewrote the API with Fiber. This version was the first version hosted on `ngn.tf` which is my new domain name. the API. I rewrote the API with Fiber. This version was the first version hosted on `ngn.tf` which is my new domain name.
Here is a [picture of the index](assets/4.0_index.png) and the [blog page](assets/4.0_blog.png).
- **v5.0 (2024 october - 2025 january)**: This version just had simple frontend UI changes compared to 4.0, at this - **v5.0 (2024 october - 2025 january)**: This version just had simple frontend UI changes compared to 4.0, at this
point I was thinking about doing a massive rework (which I did with 6.0), however I was working on some other shit at point I was thinking about doing a massive rework (which I did with 6.0), however I was working on some other shit at
@ -82,6 +81,6 @@ and Turkish, which was something I wanted to do for the longest time ever.
Damn it has been 4 years since I wrote that shit HTML page huh? Time flies... Damn it has been 4 years since I wrote that shit HTML page huh? Time flies...
## Screenshots (from v6.0) ## Screenshots (from v4.0)
![](assets/6.0_index.png) ![](assets/4.0_index.png)
![](assets/6.0_services.png) ![](assets/4.0_blog.png)

View File

@ -218,7 +218,6 @@ class AdminScript:
"logs": self.get_logs, "logs": self.get_logs,
} }
self.api_url_env = "API_URL" self.api_url_env = "API_URL"
self.password_env = "API_PASSWORD"
def __format_time(self, ts: int) -> str: def __format_time(self, ts: int) -> str:
return datetime.fromtimestamp(ts, UTC).strftime("%H:%M:%S %d/%m/%Y") return datetime.fromtimestamp(ts, UTC).strftime("%H:%M:%S %d/%m/%Y")
@ -265,10 +264,7 @@ class AdminScript:
return False return False
try: try:
password = getenv(self.password_env) password = self.log.password("Please enter the admin password")
if password is None:
password = self.log.password("Please enter the admin password")
self.api = AdminAPI(url, password) self.api = AdminAPI(url, password)
if len(argv) == 2: if len(argv) == 2:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB