nginx-proxy-manager/frontend/js/app/nginx/access/list/item.ejs

43 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-07-24 02:56:39 -04:00
<td class="text-center">
<div class="avatar d-block" style="background-image: url(<%- owner.avatar || '/images/default-avatar.jpg' %>)" title="Owned by <%- owner.name %>">
<span class="avatar-status <%- owner.is_disabled ? 'bg-red' : 'bg-green' %>"></span>
</div>
</td>
<td>
<div>
2018-08-19 04:54:17 -04:00
<%- name %>
2018-07-24 02:56:39 -04:00
</div>
<div class="small text-muted">
<%- i18n('str', 'created-on', {date: formatDbDate(created_on, 'Do MMMM YYYY')}) %>
</div>
</td>
<td>
2018-08-20 18:33:51 -04:00
<%- i18n('access-lists', 'item-count', {count: items.length || 0}) %>
2018-07-24 02:56:39 -04:00
</td>
2020-04-10 23:22:01 -04:00
<td>
<%- i18n('access-lists', 'client-count', {count: clients.length || 0}) %>
</td>
2020-04-11 03:26:54 -04:00
<td>
2020-04-21 21:11:20 -04:00
<% if (satisfy_any) { %>
2020-04-11 03:26:54 -04:00
<%- i18n('str', 'any') %>
<%} else { %>
<%- i18n('str', 'all') %>
<% } %>
</td>
2018-07-24 02:56:39 -04:00
<td>
2018-08-19 04:54:17 -04:00
<%- i18n('access-lists', 'proxy-host-count', {count: proxy_host_count}) %>
2018-07-24 02:56:39 -04:00
</td>
<% if (canManage) { %>
2018-08-07 06:27:20 -04:00
<td class="text-right">
2018-07-24 02:56:39 -04:00
<div class="item-action dropdown">
<a href="#" data-toggle="dropdown" class="icon"><i class="fe fe-more-vertical"></i></a>
<div class="dropdown-menu dropdown-menu-right">
<span class="dropdown-header"><%- i18n('audit-log', 'access-list') %> #<%- id %></span>
2018-07-24 02:56:39 -04:00
<a href="#" class="edit dropdown-item"><i class="dropdown-icon fe fe-edit"></i> <%- i18n('str', 'edit') %></a>
<div class="dropdown-divider"></div>
<a href="#" class="delete dropdown-item"><i class="dropdown-icon fe fe-trash-2"></i> <%- i18n('str', 'delete') %></a>
</div>
</div>
</td>
2018-08-19 04:54:17 -04:00
<% } %>