BootstrapAdmin/Bootstrap.Admin/Views/Admin/Infos.cshtml

83 lines
3.8 KiB
Plaintext
Raw Normal View History

2016-11-10 10:27:30 +08:00
@model NavigatorBarModel
@{
ViewBag.Title = "个人中心";
Layout = "~/Views/Shared/_Admin.cshtml";
}
@section Javascript {
<script src="~/Content/js/ajaxfileupload.js"></script>
<script src="~/content/js/sweetalert.js"></script>
<script src="~/scripts/Infos.js"></script>
}
2016-11-10 10:27:30 +08:00
@section css {
<link href="~/Content/css/sweetalert.css" rel="stylesheet" />
2016-11-10 10:27:30 +08:00
<link href="~/Content/css/tasks.css" rel="stylesheet" />
}
@section header {
@Html.Partial("Header", Model)
}
@section navigator {
@Html.Partial("Navigator", Model)
}
<div class="panel panel-default">
<div class="panel-heading">基本资料</div>
<div class="panel-body">
<form class="form-inline" id="infoDataForm" name="infoDataForm" 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" id="userName" name="userName" placeholder="不可为空" maxlength="50" />
2016-11-10 10:27:30 +08:00
</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" placeholder="不可为空" maxlength="50" />
2016-11-10 10:27:30 +08:00
</div>
</div>
</form>
<div class="modal-footer">
<button class="btn btn-default" type="button">保存</button>
</div>
2016-11-10 10:27:30 +08:00
</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-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-xs-6">
<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-xs-6">
<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 class="btn btn-default" type="button">保存</button>
</div>
2016-11-10 10:27:30 +08:00
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">修改头像</div>
<div class="panel-body">
<form class="form-inline" id="imgDataForm" name="imgDataForm" role="form" >
2016-11-10 10:27:30 +08:00
<div class="row">
<div class="form-group col-xs-12">
<label class="control-label" for="uploadImg">上传头像: </label>
<img class="form-control" src="" id="headImg" width="200" height="200" />
2016-11-10 10:27:30 +08:00
<input class="form-control btn btn-default" type="file" name="uploadImg" id="uploadImg"
accept="image/png,image/gif,image/jpeg,image/tiff,image/vnd.dwg,image/vnd.dxf,image/vnd.svf" />
</div>
</div>
</form>
<div class="modal-footer">
<button class="btn btn-default" type="button" id="btn_img">保存</button>
</div>
2016-11-10 10:27:30 +08:00
</div>
</div>