mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-30 01:40:08 -06:00
Tags on issue-tags page: tailwind-based histograms
This commit is contained in:
@@ -10,9 +10,16 @@
|
||||
|
||||
<div class="mb-6">
|
||||
{% for issuetag in issuetags %}
|
||||
|
||||
<div class="flex {% if forloop.first %}border-slate-300 dark:border-slate-600 border-t-2{% endif %}">
|
||||
<div class="w-2/3 {% if not forloop.last %}border-b-2 border-dotted border-slate-300 dark:border-slate-600{% endif %}">{{ issuetag.value.value }}</div>
|
||||
<div class="w-1/6 {% if not forloop.last %} border-b-2 border-dotted border-slate-300 dark:border-slate-600{% endif %} font-mono">{{ issuetag.pct }}%</div>
|
||||
<div class="w-1/6 pr-4 flex items-stretch {% if not forloop.last %}border-b-2 border-dotted border-slate-300 dark:border-slate-600{% endif %}">
|
||||
<div class="bg-slate-200 dark:bg-slate-600" style="width: {{ issuetag.pct }}%;">
|
||||
<span class="absolute pl-1 whitespace-nowrap">
|
||||
{{ issuetag.pct }}%
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-1/6 {% if not forloop.last %} border-b-2 border-dotted border-slate-300 dark:border-slate-600{% endif %} font-mono">{{ issuetag.count }} events</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
2
theme/static/css/dist/styles.css
vendored
2
theme/static/css/dist/styles.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user