blob: 2aa409d38238766f13f37ccc5fa6c5bfc8b7cab6 (
plain) (
tree)
|
|
<form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">
<span class="input-group-addon">{{lang_moduleName}}</span>
<input type="text" name="title" value="{{title}}" class="form-control" autofocus="autofocus">
</div>
<div class="form-group">
<label>
<input type="checkbox" name="allowPasswordLogin" value="yes" {{#apl}}checked{{/apl}}>
{{lang_allowPass}}
</label>
<p><i>{{lang_allowPassInfo}}</i></p>
</div>
<div class="form-group">
<label for="root-key">{{lang_rootKey}}</label>
<input class="form-control" type="text" name="publicKey" value="{{publicKey}}" id="root-key" pattern="[a-z0-9\-]+ +[a-zA-Z0-9=/\+]+ +.*">
<i>{{lang_rootKeyInfo}}</i>
</div>
<div class="form-group">
<label for="port">{{lang_listenPort}}</label>
<input class="form-control" type="text" name="listenPort" value="{{listenPort}}" id="port" pattern="\d+">
<i>{{lang_listenPortInfo}}</i>
</div>
<button type="submit" class="btn btn-primary">{{lang_save}}</button>
</form>
|