[Web] Ratelimit settings as input group
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
@@ -118,14 +118,13 @@
|
||||
<div class="row mb-4">
|
||||
<label class="control-label col-sm-2">{{ lang.acl.ratelimit }}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="input-group">
|
||||
<input name="rl_value" type="number" autocomplete="off" value="{{ template.attributes.rl_value }}" class="form-control mb-2" placeholder="{{ lang.ratelimit.disabled }}">
|
||||
<select name="rl_frame" class="form-control">
|
||||
<option value="s"{% if template.attributes.rl_frame == 's' %} selected{% endif %}>{{ lang.ratelimit.second }}</option>
|
||||
<option value="m"{% if template.attributes.rl_frame == 'm' %} selected{% endif %}>{{ lang.ratelimit.minute }}</option>
|
||||
<option value="h"{% if template.attributes.rl_frame == 'h' %} selected{% endif %}>{{ lang.ratelimit.hour }}</option>
|
||||
<option value="d"{% if template.attributes.rl_frame == 'd' %} selected{% endif %}>{{ lang.ratelimit.day }}</option>
|
||||
{% include 'mailbox/rl-frame.twig' %}
|
||||
</select>
|
||||
<p class="text-muted mt-3">{{ lang.edit.mbox_rl_info }}</p>
|
||||
</div>
|
||||
<p class="text-muted mt-1">{{ lang.edit.mbox_rl_info }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user