diff --git a/sdbs_infra/dashboard/models.py b/sdbs_infra/dashboard/models.py index 316e5db..77f8336 100644 --- a/sdbs_infra/dashboard/models.py +++ b/sdbs_infra/dashboard/models.py @@ -50,4 +50,7 @@ class Service(OrderedModel): for link_tag in link_tags: if rel in link_tag.attrs['rel']: result = link_tag.attrs['href'] - return (self.url + result) if self.url not in result else result + if self.url not in result: + return self.url + result if result.startswith("/") else f"/{result}" + else: + return result diff --git a/sdbs_infra/dashboard/static/main.css b/sdbs_infra/dashboard/static/main.css index 21107d2..2eff6c5 100644 --- a/sdbs_infra/dashboard/static/main.css +++ b/sdbs_infra/dashboard/static/main.css @@ -51,7 +51,7 @@ main { } .service-content img { - min-width: 66%; + min-width: 50%; filter: grayscale(100%); }