74 lines
3.8 KiB
Plaintext
74 lines
3.8 KiB
Plaintext
@model InfosModel
|
|
@{
|
|
ViewBag.Title = "个人中心";
|
|
Layout = "~/Views/Shared/_Admin.cshtml";
|
|
}
|
|
@section Javascript {
|
|
<script src="~/Content/js/longbow.dataentity.js"></script>
|
|
<script src="~/content/js/sweetalert.js"></script>
|
|
<script src="~/Content/js/fileinput.js"></script>
|
|
<script src="~/Content/js/fileinput.zh.js"></script>
|
|
<script src="~/Content/js/jquery.validate.js"></script>
|
|
<script src="~/Content/js/messages_zh.js"></script>
|
|
<script src="~/scripts/Infos.js"></script>
|
|
}
|
|
@section css {
|
|
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
|
|
<link href="~/Content/css/tasks.css" rel="stylesheet" />
|
|
<link href="~/Content/css/fileinput.css" rel="stylesheet" />
|
|
}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">基本资料</div>
|
|
<div class="panel-body">
|
|
<form id="infoDataForm" name="infoDataForm" class="form-inline" role="form">
|
|
<div class="row">
|
|
<div class="form-group col-xs-12 col-sm-6">
|
|
<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-xs-12 col-sm-6">
|
|
<label class="control-label" for="DisplayName">显示名称</label>
|
|
<input type="text" class="form-control" id="displayName" name="displayName" value="@Model.DisplayName" placeholder="不可为空" maxlength="50" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="modal-footer">
|
|
<button id="btnSaveDisplayName" class="btn btn-default" type="button" data-admin="@LgbPrincipal.IsAdmin(Model.UserName)"><i class="fa fa-save"></i><span>保存</span></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">修改密码</div>
|
|
<div class="panel-body">
|
|
<form id="passwordDataForm" name="passwordDataForm" class="form-inline" role="form">
|
|
<div class="row">
|
|
<div class="form-group col-lg4 col-md-4 col-sm-12 col-xs-12">
|
|
<label class="control-label" for="currentPassword">当前密码: </label>
|
|
<input type="password" class="form-control" id="currentPassword" name="currentPassword" placeholder="登陆密码" maxlength="50" />
|
|
</div>
|
|
<div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
|
|
<label class="control-label" for="newPassword">最新密码: </label>
|
|
<input type="password" class="form-control" id="newPassword" name="newPassword" placeholder="新密码" maxlength="50" />
|
|
</div>
|
|
<div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
|
|
<label class="control-label" for="confirmPassword">确认密码: </label>
|
|
<input type="password" class="form-control" id="confirmPassword" name="confirmPassword" placeholder="与新密码一致" maxlength="50" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="modal-footer">
|
|
<button id="btnSavePassword" class="btn btn-default" type="button" data-admin="@LgbPrincipal.IsAdmin(Model.UserName)"><i class="fa fa-save"></i><span>保存</span></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">修改头像</div>
|
|
<div class="panel-body">
|
|
<form enctype="multipart/form-data">
|
|
<div class="form-group">
|
|
<input id="fileIcon" class="file" type="file" data-init="@Model.Size">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|