40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
|
||
@{
|
||
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>
|
||
|