summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/sshconfig-start.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/sysconfig/templates/sshconfig-start.html')
-rw-r--r--modules-available/sysconfig/templates/sshconfig-start.html33
1 files changed, 19 insertions, 14 deletions
diff --git a/modules-available/sysconfig/templates/sshconfig-start.html b/modules-available/sysconfig/templates/sshconfig-start.html
index 33108161..df39feb0 100644
--- a/modules-available/sysconfig/templates/sshconfig-start.html
+++ b/modules-available/sysconfig/templates/sshconfig-start.html
@@ -5,33 +5,38 @@
<span class="input-group-addon">{{lang_moduleName}}</span>
<input type="text" name="title" value="{{title}}" class="form-control" autofocus="autofocus">
</div>
+ <br>
<div class="form-group">
- <div class="checkbox">
- <input type="checkbox" name="allowPasswordLogin" value="yes" {{#apl}}checked{{/apl}}>
- <label><b>{{lang_allowPass}}</b></label>
- </div>
+ <label>{{lang_sshAllowedUsers}}
+ <select class="form-control" name="allowedUsersLogin">
+ <option value="ROOT_ONLY" {{USR_ROOT_ONLY_selected}}>{{lang_user_root_only}}</option>
+ <option value="USER_ONLY" {{USR_USER_ONLY_selected}}>{{lang_user_user_only}}</option>
+ <option value="ALL" {{USR_ALL_selected}}>{{lang_user_all}}</option>
+ </select>
+ </label>
<div>
- <i>{{lang_allowPassInfo}}</i>
+ <i>{{lang_sshAllowedUsersInfo}}</i>
</div>
</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>
+ <label>{{lang_sshAllowPass}}
+ <select class="form-control" name="allowPasswordLogin">
+ <option value="NO" {{PWD_NO_selected}}>{{lang_no}}</option>
+ <option value="USER_ONLY" {{PWD_USER_ONLY_selected}}>{{lang_pwlogin_user_only}}</option>
+ <option value="YES" {{PWD_YES_selected}}>{{lang_yes}}</option>
+ </select>
+ </label>
+ <div>
+ <i>{{lang_sshAllowPassInfo}}</i>
+ </div>
</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+" placeholder="22">
<i>{{lang_listenPortInfo}}</i>
</div>
- <p>
- <i>
- {{lang_sshMultipleHeadsup}}
- </i>
- </p>
<div class="btn-group pull-right">
<button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
</div>
<div class="clearfix"></div>
</form>
-