ExamWeb/Views/Teacher/Eidt.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Eidt";
Layout = "~/Views/Shared/_Layout.cshtml";
var teacher = ViewBag.Teacher as ExamWeb.Models.Teacher;
}
<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/global.css" rel="stylesheet" />
<h2>编辑教师信息</h2>
<hr />
@using (Html.BeginForm())
{
<div class="form-group">
<label class="control-label col-md-2">ID</label>
<div class="col-md-10">
@Html.TextBox("TeacherID", teacher.TeacherID, new { @class = "form-control text-box single-line", @readonly = true })
@*<input class="form-control text-box single-line" name="StuID" type="text" value=@teacher.StuID readonly>*@
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">姓名</label>
<div class="col-md-10">
@Html.TextBox("TeacherName", teacher.TeacherName, new { @class = "form-control text-box single-line", placeholder = "请输入姓名" })
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">登录名</label>
<div class="col-md-10">
@Html.TextBox("TeacherLoginName", teacher.TeacherLoginName, new { @class = "form-control text-box single-line", placeholder = "请输入登录名" })
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">密码</label>
<div class="col-md-10">
@Html.Password("TeacherLoginPwd", teacher.TeacherLoginPwd, new { @class = "form-control text-box single-line", placeholder = "请输入密码" })
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">电话</label>
<div class="col-md-10">
@Html.TextBox("TeacherPhone", teacher.TeacherPhone, new { @class = "form-control text-box single-line", placeholder = "请输入电话" })
</div>
</div>
<div class="form-group">
<label class="control-label col-md-2">邮箱</label>
<div class="col-md-10">
@Html.TextBox("TeacherEmail", teacher.TeacherEmail, new { @class = "form-control text-box single-line", placeholder = "请输入邮箱" })
</div>
</div>
<div class="form-group">
后面还有 7 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。