mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-02 12:02:29 +00:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
<td>
|
|
<div>
|
|
<% if (id === 'default-site') { %>
|
|
<%- i18n('settings', 'default-site') %>
|
|
<% } %>
|
|
<% if (id === 'oidc-config') { %>
|
|
<%- i18n('settings', 'oidc-config') %>
|
|
<% } %>
|
|
</div>
|
|
<div class="small text-muted">
|
|
<% if (id === 'default-site') { %>
|
|
<%- i18n('settings', 'default-site-description') %>
|
|
<% } %>
|
|
<% if (id === 'oidc-config') { %>
|
|
<%- i18n('settings', 'oidc-config-description') %>
|
|
<% } %>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<% if (id === 'default-site') { %>
|
|
<%- i18n('settings', 'default-site-' + value) %>
|
|
<% } %>
|
|
<% if (id === 'oidc-config' && meta && meta.name && meta.clientID && meta.clientSecret && meta.issuerURL && meta.redirectURL) { %>
|
|
<%- meta.name %>
|
|
<% if (!meta.enabled) { %>
|
|
(<%- i18n('str', 'disabled') %>)
|
|
<% } %>
|
|
<% } else if (id === 'oidc-config') { %>
|
|
<%- i18n('settings', 'oidc-not-configured') %>
|
|
<% } %>
|
|
</div>
|
|
</td>
|
|
<td class="text-right">
|
|
<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">
|
|
<a href="#" class="edit dropdown-item"><i class="dropdown-icon fe fe-edit"></i> <%- i18n('str', 'edit') %></a>
|
|
</div>
|
|
</div>
|
|
</td> |