mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(site) Layout changes site-info
This commit is contained in:
parent
aa3c85c196
commit
97bfcd1353
@ -9,7 +9,7 @@
|
||||
|
||||
<div class="bg-white shadow-sm rounded overflow-hidden border">
|
||||
<div class="px-4 py-2 bg-margeblue text-white border-b border-gray-200">
|
||||
<h2 class="text-xs font-semibold">${title}</h2>
|
||||
<h2 class="text-md">${title}</h2>
|
||||
</div>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
@for (GroupedUrlDetails group : backlinks.results())
|
||||
<div class="border rounded bg-white flex flex-col overflow-hidden mx-4">
|
||||
<div class="flex space-x-2 flex-row place-items-baseline bg-margeblue text-white p-2 text-sm">
|
||||
<div class="flex space-x-2 flex-row place-items-baseline bg-margeblue text-white p-2 text-md">
|
||||
<span class="fas fa-globe"></span>
|
||||
<a href="/site/${group.domain().toString()}">${group.domain().toString()}</a>
|
||||
<span class="grow"></span>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<div class="flex-1 p-4 space-y-4 mx-auto w-full md:w-auto">
|
||||
<div class="flex border rounded bg-white flex-col space-y-4 pb-4 overflow-hidden md:max-w-lg" >
|
||||
<div class="flex place-items-baseline space-x-2 p-2 text-sm border-b mb-2 bg-margeblue text-white">
|
||||
<div class="flex place-items-baseline space-x-2 p-2 text-md border-b bg-margeblue text-white">
|
||||
<i class="fa fa-globe"></i>
|
||||
<span>${siteInfo.domain()}</span>
|
||||
<div class="grow">
|
||||
@ -17,7 +17,9 @@
|
||||
</div>
|
||||
|
||||
@if (siteInfo.hasScreenshot())
|
||||
<a class="mx-3 " tabindex="-1" rel="nofollow noopener external" href="${siteInfo.siteUrl()}"><img src="/screenshot/${siteInfo.domainId()}" alt="Screenshot of ${siteInfo.domain()}"></a>
|
||||
<a class="mx-3 " tabindex="-1" rel="nofollow noopener external" href="${siteInfo.siteUrl()}">
|
||||
<img class="border shadow-inner" src="/screenshot/${siteInfo.domainId()}" alt="Screenshot of ${siteInfo.domain()}">
|
||||
</a>
|
||||
@elseif (siteInfo.aliasDomain().isPresent() && siteInfo.domainInformation().getNodeAffinity() < 1)
|
||||
<div class="mx-3 my-3 text-xs text-slate-800">
|
||||
The search engine is also aware of links to <a class="underline text-liteblue" href="/site/${siteInfo.aliasDomain().get()}">${siteInfo.aliasDomain().get()}</a>,
|
||||
|
Loading…
Reference in New Issue
Block a user