mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-15 10:47:06 +02:00
Fix display notifications
This commit is contained in:
parent
488a0d8a59
commit
993710ef26
@ -37,3 +37,11 @@ label {
|
|||||||
width: 400px;
|
width: 400px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#alert {
|
||||||
|
.nothing {
|
||||||
|
padding: 1em 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -52,14 +52,21 @@
|
|||||||
<li class="dropdown" id="alert">
|
<li class="dropdown" id="alert">
|
||||||
<a
|
<a
|
||||||
class="dropdown-toggle"
|
class="dropdown-toggle"
|
||||||
v-class="
|
|
||||||
btn-info: hasAlerts
|
|
||||||
"
|
|
||||||
data-toggle="dropdown" href="#"
|
data-toggle="dropdown" href="#"
|
||||||
>
|
>
|
||||||
<i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
|
<i class="fa fa-bell fa-fw"></i>
|
||||||
|
<span class="badge" v-if="hasAlerts">{{ alertsCount }}</span>
|
||||||
|
<i class="fa fa-caret-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav dropdown-menu dropdown-alerts">
|
<ul class="nav dropdown-menu dropdown-alerts">
|
||||||
|
<li v-if="!hasAlerts">
|
||||||
|
<a>
|
||||||
|
<div class="nothing text text-success">
|
||||||
|
<%= icon "fa-check" %>
|
||||||
|
<%= t "terms.no_alert" %>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li v-repeat="alerts">
|
<li v-repeat="alerts">
|
||||||
<a>
|
<a>
|
||||||
<div>
|
<div>
|
||||||
|
@ -14,7 +14,7 @@ ja:
|
|||||||
misc: &misc その他
|
misc: &misc その他
|
||||||
version: バージョン
|
version: バージョン
|
||||||
fluent_version: "fluentd %{version}"
|
fluent_version: "fluentd %{version}"
|
||||||
no_alert: なし
|
no_alert: 通知なし
|
||||||
update_password: パスワード更新
|
update_password: パスワード更新
|
||||||
detail: 詳細
|
detail: 詳細
|
||||||
create: 作成
|
create: 作成
|
||||||
|
Loading…
Reference in New Issue
Block a user