Skip to content

Node.js based forum software built for the modern web

update html on session time ACP block, #6883

Julian Lam58b088c054b4
diff --git a/src/views/admin/settings/user.tpl b/src/views/admin/settings/user.tpl
index 2118cf4a00..2617b26a36 100644
--- a/src/views/admin/settings/user.tpl
+++ b/src/views/admin/settings/user.tpl
@@ -137,13 +137,27 @@
</div>
<div class="col-sm-10 col-xs-12">
<form>
+ <div class="row">
+ <div class="col-sm-6">
+ <div class="form-group">
+ <label>Days</label>
+ <input type="text" class="form-control" data-field="loginDays" placeholder="Days" />
+ </div>
+ </div>
+ <div class="col-sm-6">
+ <div class="form-group">
+ <label>Seconds</label>
+ <input type="text" class="form-control" data-field="loginSeconds" placeholder="Seconds" />
+ </div>
+ </div>
+ <div class="col-xs-12">
+ <p class="help-block">
+ Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If
+ there is no <i>days</i> value we default to <i>14 days</i>.
+ </p>
+ </div>
+ </div>
<div class="form-group">
- <label>Days: </label>
- <input type="text" class="form-control" data-field="loginDays" placeholder="Days" />
- <label>Seconds: </label>
- <input type="text" class="form-control" data-field="loginSeconds" placeholder="Seconds" />
- <p class="help-block">Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If
- there is no <i>days</i> value we default to <i>14 days</i>.</p>
<label>[[admin/settings/user:online-cutoff]]</label>
<input type="text" class="form-control" data-field="onlineCutoff">
<p class="help-block">[[admin/settings/user:online-cutoff-help]]</p>