mirror of
https://github.com/cuigh/swirl
synced 2024-12-28 23:02:02 +00:00
Add ‘is-hoverable’ class to table
This commit is contained in:
parent
e34d9d2250
commit
d2eeace4b3
@ -174,21 +174,21 @@ func (b *chartBiz) FetchDatas(key string, names []string, period time.Duration)
|
||||
case "line", "bar":
|
||||
d, err := Metric.GetMatrix(query, chart.Legend, start, end)
|
||||
if err != nil {
|
||||
log.Get("metric").Error(err, query)
|
||||
log.Get("metric").Error(err)
|
||||
} else {
|
||||
datas[chart.Name] = d
|
||||
}
|
||||
case "pie":
|
||||
d, err := Metric.GetVector(query, chart.Legend, end)
|
||||
if err != nil {
|
||||
log.Get("metric").Error(err, query)
|
||||
log.Get("metric").Error(err)
|
||||
} else {
|
||||
datas[chart.Name] = d
|
||||
}
|
||||
case "gauge":
|
||||
d, err := Metric.GetScalar(query, end)
|
||||
if err != nil {
|
||||
log.Get("metric").Error(err, query)
|
||||
log.Get("metric").Error(err)
|
||||
} else {
|
||||
datas[chart.Name] = &model.ChartValue{
|
||||
//Name: "",
|
||||
|
@ -48,7 +48,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input type="checkbox" data-action="check-all"></th>
|
||||
|
@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input type="checkbox" data-action="check-all"></th>
|
||||
|
@ -46,7 +46,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input type="checkbox" data-action="check-all"></th>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -48,7 +48,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input type="checkbox" data-action="check-all"></th>
|
||||
|
@ -37,7 +37,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -36,7 +36,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</nav>
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -71,7 +71,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</nav>
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -91,7 +91,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.type") }}</th>
|
||||
|
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -66,7 +66,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
|
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ i18n("field.id") }}</th>
|
||||
|
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<table id="table-items" class="table is-bordered is-striped is-narrow is-fullwidth">
|
||||
<table id="table-items" class="table is-bordered is-striped is-hoverable is-narrow is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input type="checkbox" data-action="check-all"></th>
|
||||
|
Loading…
Reference in New Issue
Block a user