登录页面
<div class="mui-content"> <div class="mui-content-padded"> @using (Html.BeginForm("Create", "Practice", FormMethod.Post, new { @class = "mui-input-group", enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.ValidationSummary("", new { @class = "weui_cells_tips" }) <hr /> @Html.ValidationSummary(true) <h1>学校管理员登录</h1> <div class="mui-input-row"> <label>账号</label> <input type="text" placeholder="请输入账号"> </div> <div class="mui-input-row"> <label>密码</label> <input type="text" placeholder="请输入密码"> </div> <div class="mui-button-row"> <button type="submit" class="mui-btn mui-btn-primary mui-btn-block">登录</button> </div> } </div> </div>
<div class="main_index wrapper"> <div class="mui-content"> <div class="mui-content-padded"> @using (Html.BeginForm("Create", "Practice", FormMethod.Post, new { @class = "mui-input-group", enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) @Html.HiddenFor(m => m.SchoolId) @Html.HiddenFor(m => m.CampaignId) @Html.ValidationSummary("", new { @class = "weui_cells_tips" }) <hr /> @Html.ValidationSummary(true) <h1>集体签到</h1> <div class="mui-input-row"> <label>实践名称</label> @school.Name </div> <div class="mui-input-row"> <label>实践项目</label> @campaign.Name </div> <button id="showCityPicker" class="mui-btn mui-btn-block" type="button">请选择 学校 班级</button> <div id='cityResult' class="ui-alert"></div> @*<div class="mui-input-row"> <label>学校</label> @Html.TextBoxFor(model => model.IDCardNo, new { placeholder = "请输入身份证号码" }) @Html.ValidationMessageFor(model => model.IDCardNo) </div> <div class="mui-input-row"> <label>班级</label> @Html.TextBoxFor(model => model.IDCardNo, new { placeholder = "请输入身份证号码" }) @Html.ValidationMessageFor(model => model.IDCardNo) </div>*@ <h5 class="mui-content-padded">请选择学生</h5> <div class="mui-card"> <ul class="mui-table-view"> <li class="mui-table-view-cell mui-checkbox mui-left"> <input name="checkbox" type="checkbox">学生1 </li> <li class="mui-table-view-cell mui-checkbox mui-left"> <input name="checkbox" type="checkbox">学生2 </li> </ul> </div> <div class="mui-button-row"> <button type="submit" class="mui-btn mui-btn-primary mui-btn-block">集体签到</button> </div> } </div> </div> </div>