Files
ClientServerProject/软件系统浏览器模版/Views/Home/ManagementAccount.cshtml

40 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@{
ViewBag.Title = "账户管理";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section scripts
{
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
}
<br />
<div>
@{ string updateId = Guid.NewGuid().ToString();}
@using (Ajax.BeginForm("SetManagementAccount", null, new AjaxOptions { HttpMethod = "Post", UpdateTargetId = updateId, InsertionMode = InsertionMode.Replace },
new { @class = "form-horizontal" }))
{
<fieldset>
@Html.AntiForgeryToken()
<legend style="font-family:'Microsoft YaHei UI',Arial, Helvetica, sans-serif">账户管理</legend>
<div class="form-group">
<label for="NewAccounts" class="col-lg-2 control-label">账户json数据</label>
<div class="col-lg-10">
<textarea class="form-control" id="NewAccounts" name="NewAccounts" placeholder="json数据" required rows="25">@ViewData["accounts"].ToString()</textarea>
</div>
</div>
<div class="form-group">
<div class="col-lg-10 col-lg-offset-2">
<button type="submit" class="btn btn-primary">提交新数据</button>
</div>
</div>
</fieldset>
}
</div>
<div id="@updateId">
</div>