doc: 登陆更改为登录
This commit is contained in:
parent
64329abfab
commit
52ebcb4dcf
|
@ -72,7 +72,7 @@
|
|||
<span>记住密码自动登录</span>
|
||||
<input id="remember" name="remember" type="hidden" value="false" />
|
||||
</div>
|
||||
<button class="btn btn-lg btn-login btn-block" type="submit">登 陆</button>
|
||||
<button class="btn btn-lg btn-login btn-block" type="submit">登 录</button>
|
||||
<div class="login-footer">
|
||||
<a href="#" data-method="register">申请账号</a>
|
||||
<a href="#" data-method="forgot">忘记密码</a>
|
||||
|
@ -96,14 +96,14 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="userName">登陆名称:</label>
|
||||
<label for="userName">登录名称:</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">
|
||||
<span class="fa fa-user-plus"></span>
|
||||
</div>
|
||||
</div>
|
||||
<input type="text" id="userName" autocomplete="off" class="form-control" placeholder="登陆账号不可为空" userName="true" minlength="4" maxlength="16" remote="api/Register" data-remote-msg="此用户已存在" data-valid="true" />
|
||||
<input type="text" id="userName" autocomplete="off" class="form-control" placeholder="登录账号不可为空" userName="true" minlength="4" maxlength="16" remote="api/Register" data-remote-msg="此用户已存在" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
@ -173,14 +173,14 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="f_userName">登陆账号:</label>
|
||||
<label for="f_userName">登录账号:</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">
|
||||
<span class="fa fa-user-plus"></span>
|
||||
</div>
|
||||
</div>
|
||||
<input type="text" id="f_userName" autocomplete="off" class="form-control" placeholder="登陆账号不可为空" minlength="4" maxlength="16" data-valid="true" />
|
||||
<input type="text" id="f_userName" autocomplete="off" class="form-control" placeholder="登录账号不可为空" minlength="4" maxlength="16" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<form class="form-inline">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6 col-md-auto">
|
||||
<label class="control-label" for="userName">登陆名称</label>
|
||||
<label class="control-label" for="userName">登录名称</label>
|
||||
<input type="text" class="form-control ignore" id="userName" name="userName" value="@Model.UserName" readonly />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-md-auto">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<form class="form-inline">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-auto">
|
||||
<label class="control-label" for="txt_search_name">登陆名称</label>
|
||||
<label class="control-label" for="txt_search_name">登录名称</label>
|
||||
<input type="text" class="form-control" id="txt_search_name" maxlength="16" />
|
||||
</div>
|
||||
<div class="form-group col-sm-auto">
|
||||
|
@ -53,7 +53,7 @@
|
|||
<input type="hidden" id="userID" />
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label" for="userName">登陆名称</label>
|
||||
<label class="control-label" for="userName">登录名称</label>
|
||||
<input type="text" class="form-control" id="userName" placeholder="不可为空,16字以内" minlength="4" maxlength="16" userName="true" remote="api/Register" data-remote-msg="此用户已存在" data-valid="true" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
|
@ -66,7 +66,7 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label" for="confirm">确认密码</label>
|
||||
<input type="password" class="form-control" id="confirm" placeholder="与登陆密码一致" maxlength="16" equalTo="#password" data-valid="true" />
|
||||
<input type="password" class="form-control" id="confirm" placeholder="与登录密码一致" maxlength="16" equalTo="#password" data-valid="true" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label" for="confirm">确认密码</label>
|
||||
<input type="password" class="form-control" id="resetConfirm" placeholder="与登陆密码一致" maxlength="16" equalTo="#resetPassword" data-valid="true" />
|
||||
<input type="password" class="form-control" id="resetConfirm" placeholder="与登录密码一致" maxlength="16" equalTo="#resetPassword" data-valid="true" />
|
||||
</div>
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="control-label" for="resetReason">重置原因</label>
|
||||
|
|
|
@ -17,7 +17,7 @@ $(function () {
|
|||
return options.pageSize * (options.pageNumber - 1) + index + 1;
|
||||
}
|
||||
},
|
||||
{ title: "登陆名称", field: "UserName" },
|
||||
{ title: "登录名称", field: "UserName" },
|
||||
{ title: "登录时间", field: "LoginTime" },
|
||||
{ title: "主机", field: "Ip" },
|
||||
{ title: "登录地点", field: "City" },
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
showRefresh: false,
|
||||
showColumns: false,
|
||||
columns: [
|
||||
{ title: "登陆名称", field: "UserName" },
|
||||
{ title: "登录名称", field: "UserName" },
|
||||
{ title: "显示名称", field: "DisplayName" },
|
||||
{ title: "说明信息", field: "Description" },
|
||||
{ title: "注册时间", field: "RegisterTime" },
|
||||
|
|
|
@ -17,7 +17,7 @@ $(function () {
|
|||
{
|
||||
title: "会话Id", field: "ConnectionId"
|
||||
},
|
||||
{ title: "登陆名称", field: "UserName" },
|
||||
{ title: "登录名称", field: "UserName" },
|
||||
{ title: "显示名称", field: "DisplayName" },
|
||||
{ title: "登录时间", field: "FirstAccessTime" },
|
||||
{ title: "访问时间", field: "LastAccessTime" },
|
||||
|
|
|
@ -90,7 +90,7 @@ $(function () {
|
|||
sortOrder: "asc",
|
||||
queryParams: function (params) { return $.extend(params, { name: $("#txt_search_name").val(), displayName: $('#txt_display_name').val() }); }, //传递参数(*)
|
||||
columns: [
|
||||
{ title: "登陆名称", field: "UserName", sortable: true },
|
||||
{ title: "登录名称", field: "UserName", sortable: true },
|
||||
{ title: "显示名称", field: "DisplayName", sortable: true },
|
||||
{ title: "注册时间", field: "RegisterTime", sortable: true },
|
||||
{ title: "授权时间", field: "ApprovedTime", sortable: true },
|
||||
|
|
|
@ -100,7 +100,7 @@ namespace Bootstrap.DataAccess
|
|||
/// <summary>
|
||||
/// 通过当前用户名获得后台菜单,层次化后集合
|
||||
/// </summary>
|
||||
/// <param name="userName">当前登陆的用户名</param>
|
||||
/// <param name="userName">当前登录的用户名</param>
|
||||
/// <param name="activeUrl">当前访问菜单</param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<BootstrapMenu> RetrieveSystemMenus(string userName, string activeUrl = null)
|
||||
|
|
|
@ -94,7 +94,7 @@ namespace Bootstrap.DataAccess
|
|||
/// <summary>
|
||||
/// 通过当前用户名获得所有菜单
|
||||
/// </summary>
|
||||
/// <param name="userName">当前登陆的用户名</param>
|
||||
/// <param name="userName">当前登录的用户名</param>
|
||||
/// <returns></returns>
|
||||
public virtual IEnumerable<BootstrapMenu> RetrieveAllMenus(string userName) => DbHelper.RetrieveAllMenus(userName);
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ namespace Bootstrap.DataAccess
|
|||
public int IsReset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证用户登陆账号与密码正确
|
||||
/// 验证用户登录账号与密码正确
|
||||
/// </summary>
|
||||
/// <param name="userName"></param>
|
||||
/// <param name="password"></param>
|
||||
|
|
Loading…
Reference in New Issue