Manage.cshtml 669 B

1234567891011121314151617181920212223242526272829303132
  1. @model EMIS.Web.Models.LocalPasswordModel
  2. @{
  3. ViewBag.Title = "管理帐户";
  4. }
  5. <hgroup class="title">
  6. <h1>@ViewBag.Title.</h1>
  7. </hgroup>
  8. <p class="message-success">@ViewBag.StatusMessage</p>
  9. <p>你已使用 <strong>@User.Identity.Name</strong>. 身份登录。</p>
  10. @if (ViewBag.HasLocalPassword)
  11. {
  12. @Html.Partial("_ChangePasswordPartial")
  13. }
  14. else
  15. {
  16. @Html.Partial("_SetPasswordPartial")
  17. }
  18. <section id="externalLogins">
  19. @Html.Action("RemoveExternalLogins")
  20. <h3>添加外部登录</h3>
  21. @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
  22. </section>
  23. @section Scripts {
  24. @Scripts.Render("~/bundles/jqueryval")
  25. }