mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
change global tag color from gray to magenta
This commit is contained in:
parent
d5382aec4f
commit
ccbf3867e1
@ -38,9 +38,9 @@
|
||||
<a target={clickable ? "_blank" : null} href={clickable ? `/monitoring/jobs/?tag=${id}` : null}>
|
||||
{#if tag}
|
||||
{#if tag?.scope === "global"}
|
||||
<span style="background-color:#9e9e9e;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||
<span style="background-color:#c85fc8;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||
{:else if tag.scope === "admin"}
|
||||
<span style="background-color:#80deea;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||
<span style="background-color:#19e5e6;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||
{:else}
|
||||
<span class="badge bg-warning text-dark">{tag.type}: {tag.name}</span>
|
||||
{/if}
|
||||
|
@ -8,10 +8,10 @@
|
||||
</div>
|
||||
{{ range $tagList }}
|
||||
{{if eq .scope "global"}}
|
||||
<a style="background-color:#9e9e9e;" class="btn btn-lg" href="/monitoring/jobs/?tag={{ .id }}" role="button">
|
||||
<a style="background-color:#c85fc8;" class="btn btn-lg" href="/monitoring/jobs/?tag={{ .id }}" role="button">
|
||||
{{ .name }} <span class="badge bg-light text-dark">{{ .count }}</span> </a>
|
||||
{{else if eq .scope "admin"}}
|
||||
<a style="background-color:#80deea;" class="btn btn-lg" href="/monitoring/jobs/?tag={{ .id }}" role="button">
|
||||
<a style="background-color:#19e5e6;" class="btn btn-lg" href="/monitoring/jobs/?tag={{ .id }}" role="button">
|
||||
{{ .name }} <span class="badge bg-light text-dark">{{ .count }}</span> </a>
|
||||
{{else}}
|
||||
<a class="btn btn-lg btn-warning" href="/monitoring/jobs/?tag={{ .id }}" role="button">
|
||||
|
Loading…
Reference in New Issue
Block a user