mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-16 19:27:05 +02:00
28 lines
744 B
Plaintext
28 lines
744 B
Plaintext
<!-- vue.js -->
|
|
<li class="nav-item dropdown" id="vue-notification">
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
|
|
<i class="fa fa-bell fa-fw"></i>
|
|
<span class="badge" v-if="hasAlerts">{{ alertsCount }}</span>
|
|
</a>
|
|
<ul class="dropdown-menu" aria-labelledby="alertsDropdown">
|
|
<li v-if="!hasAlerts">
|
|
<a>
|
|
<div class="nothing text text-success">
|
|
<%= icon "fa-check" %>
|
|
<%= t "terms.no_alert" %>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li v-for="alert in alerts">
|
|
<a>
|
|
<div>
|
|
<%= icon("fa-cog fa-fw fa-lg fa-spin") %>
|
|
{{ alert }}
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<!-- /vue.js -->
|
|
|