blob: a208dbac3fb3c9f91a8702253ed91e1970eaa2a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<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>
<div class="btn-group">
<a class="btn btn-default" href="?do=SysConfig&action=addmodule">{{lang_back}}</a>
</div>
<div class="btn-group pull-right">
<button type="submit" class="btn btn-primary">{{lang_save}}</button>
</div>
</form>
|