fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type

isekai-main
Julian Lam 2 years ago
parent 4314b8e201
commit 896493dbd6

@ -3,7 +3,7 @@
<input type="hidden" name="timestamp" />
<div class="form-group">
<label for="uid">[[admin/settings/api:uid]]</label>
<input type="number" name="uid" class="form-control" placeholder="1" min="0" />
<input type="text" inputmode="numeric" pattern="\d+" name="uid" class="form-control" placeholder="1" />
<p class="help-text">
[[admin/settings/api:uid-help-text]]
</p>

@ -121,7 +121,7 @@
</div>
<div class="form-group">
<label for="hsts-maxage">[[admin/settings/advanced:hsts.maxAge]]</label>
<input class="form-control" id="hsts-maxage" type="text" pattern="\d+" placeholder="31536000" data-field="hsts-maxage" /><br />
<input class="form-control" id="hsts-maxage" type="number" placeholder="31536000" data-field="hsts-maxage" /><br />
</div>
<div class="checkbox">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">

Loading…
Cancel
Save