diff --git a/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/main.py b/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/main.py index 58d4173..da459c8 100644 --- a/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/main.py +++ b/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/main.py @@ -72,7 +72,8 @@ async def get(request: Request): "urlslug": args.urlslug, "service": args.service, "refresh": args.refresh, - "log_file": args.file + "log_file": args.file, + "cloud": os.environ.get('CLOUD_PROVIDER') } return templates.TemplateResponse("index.html", { "request": request, diff --git a/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/templates/index.html b/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/templates/index.html index f82a42e..58e708a 100644 --- a/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/templates/index.html +++ b/build/COPY_ROOT/opt/ai-dock/fastapi/logviewer/templates/index.html @@ -29,9 +29,11 @@ object-fit: contain; } h1 { + font-style: italic; + } + h1,h2 { justify-self: left; font-size: 1.1rem; - font-style: italic; padding: 0; margin: 10px 0; } @@ -80,7 +82,7 @@ border-bottom: 1px solid #eee; } section#about p { - margin: 20px 0 10px 0; + margin: 0 0 10px 0; } footer { justify-self: center; @@ -114,7 +116,7 @@ @@ -128,8 +130,9 @@

{{context.title}}

+

Information

This container is running image github.com/ai-dock/{{ context.urlslug }}.

-

For help, or to leave feedback, please click the GitHub link above - It opens in a new browser tab.

+

For documentation, help, or to leave feedback, please click the GitHub link above - It opens in a new browser tab.