fix: add '全部' link and improve empty state message on alarms page
This commit is contained in:
parent
74ca578483
commit
316a05aec4
@ -15,6 +15,7 @@
|
||||
<input type="date" name="to" value="{{.SelectedTo}}" style="width:150px;font-size:12px">
|
||||
<button class="btn" style="font-size:12px;padding:4px 12px">筛选</button>
|
||||
<a href="/ui/alarms" class="btn ghost" style="font-size:11px">今天</a>
|
||||
<a href="/ui/alarms?from=2000-01-01&to=2099-12-31" class="btn ghost" style="font-size:11px">全部</a>
|
||||
</form>
|
||||
|
||||
<div class="table-wrap">
|
||||
@ -69,7 +70,7 @@
|
||||
{{else}}
|
||||
<div class="empty-state">
|
||||
<div class="empty-title">暂无告警记录</div>
|
||||
<div class="muted">所选日期范围内没有告警,或设备尚未上报。</div>
|
||||
<div class="muted">所选日期范围内没有告警。点击右上角"全部"查看所有记录,或设备尚未上报。</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user