nginx-proxy-manager/frontend/js/app/nginx/access/form.ejs

69 lines
3.8 KiB
Plaintext
Raw Normal View History

2018-07-24 02:56:39 -04:00
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><%- i18n('access-lists', 'form-title', {id: id}) %></h5>
2018-07-24 02:56:39 -04:00
<button type="button" class="close cancel" aria-label="Close" data-dismiss="modal">&nbsp;</button>
</div>
2020-04-10 20:33:14 -04:00
<div class="modal-body has-tabs">
2018-07-24 02:56:39 -04:00
<form>
2020-04-10 20:33:14 -04:00
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="nav-item"><a href="#details" aria-controls="tab1" role="tab" data-toggle="tab" class="nav-link active show" aria-selected="true"><i class="fe fe-zap"></i> <%- i18n('access-lists', 'details') %></a></li>
<li role="presentation" class="nav-item"><a href="#auth" aria-controls="tab4" role="tab" data-toggle="tab" class="nav-link" aria-selected="false"><i class="fe fe-users"></i> <%- i18n('access-lists', 'authorization') %></a></li>
2020-04-10 23:22:01 -04:00
<li role="presentation" class="nav-item"><a href="#access" aria-controls="tab2" role="tab" data-toggle="tab" class="nav-link" aria-selected="false"><i class="fe fe-radio"></i> <%- i18n('access-lists', 'access') %></a></li>
2020-04-10 20:33:14 -04:00
</ul>
<div class="tab-content">
<!-- Details -->
<div role="tabpanel" class="tab-pane active show" id="details">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="form-group">
<label class="form-label"><%- i18n('str', 'name') %> <span class="form-required">*</span></label>
<input type="text" name="name" class="form-control" value="<%- name %>" required>
</div>
</div>
2020-04-11 03:26:54 -04:00
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label class="custom-switch">
<input type="checkbox" class="custom-switch-input" name="satify_any" value="1"<%- typeof satify_any !== 'undefined' && satify_any ? ' checked' : '' %>>
<span class="custom-switch-indicator"></span>
<span class="custom-switch-description"><%- i18n('access-lists', 'satisfy-any') %></span>
</label>
</div>
</div>
2018-07-24 02:56:39 -04:00
</div>
</div>
2020-04-10 20:33:14 -04:00
<!-- Authorization -->
<div class="tab-pane" id="auth">
<div class="row">
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label class="form-label"><%- i18n('str', 'username') %></label>
</div>
</div>
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label class="form-label"><%- i18n('str', 'password') %></label>
</div>
</div>
2018-08-18 03:16:23 -04:00
</div>
2020-04-10 20:33:14 -04:00
<div class="items"><!-- items --></div>
2018-08-18 03:16:23 -04:00
</div>
2020-04-10 20:33:14 -04:00
2020-04-10 23:22:01 -04:00
<!-- Access -->
<div class="tab-pane" id="access">
2020-04-10 20:33:14 -04:00
<div class="clients"><!-- clients --></div>
<div class="text-muted">Note that the <code>allow</code> and <code>deny</code> directives will be applied in the order they are defined.</div>
2018-08-18 03:16:23 -04:00
</div>
2020-04-10 20:33:14 -04:00
</div>
2018-07-24 02:56:39 -04:00
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary cancel" data-dismiss="modal"><%- i18n('str', 'cancel') %></button>
<button type="button" class="btn btn-teal save"><%- i18n('str', 'save') %></button>
</div>
</div>