mirror of
https://github.com/nidebr/as-stats-gui.git
synced 2025-02-20 11:23:18 +08:00
save
This commit is contained in:
parent
8a19610239
commit
773f62371e
@ -20,3 +20,7 @@
|
||||
.table-legend-td-brighten {
|
||||
width: 9px !important;
|
||||
}
|
||||
|
||||
.sticky-top-legend {
|
||||
top: 5px !important;
|
||||
}
|
||||
|
@ -9,7 +9,44 @@
|
||||
{% set counter = 0 %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="row row-cards">
|
||||
|
||||
<div class="col-2">
|
||||
<div class="sticky-top sticky-top-legend">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">
|
||||
<strong>Legend</strong>
|
||||
</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-borderless table-vcenter table-sm">
|
||||
<tbody>
|
||||
{% if knownlinks is defined %}
|
||||
{% for link in knownlinks %}
|
||||
<tr>
|
||||
<td>
|
||||
<table class="table-legend">
|
||||
<tr>
|
||||
{% if configapplication_graph('brighten_negative') %}
|
||||
<td class="table-legend-td table-legend-td-brighten" style="background-color: #{{ link.color }}"> </td>
|
||||
<td class="table-legend-td table-legend-td-brighten" style="opacity: 0.73; background-color: #{{ link.color }}"> </td>
|
||||
{% else %}
|
||||
<td class="table-legend-td" style="background-color: #{{ link.color }}"> </td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="small">{{ link.descr }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="row row-cards">
|
||||
<div class="space-y">
|
||||
|
Loading…
x
Reference in New Issue
Block a user