Index.cshtml 938 B

123456789101112131415161718192021222324252627282930
  1. @using Abp.Configuration
  2. @using WeOnlineApp.Authorization
  3. @using WeOnlineApp.Configuration
  4. @{
  5. ViewBag.ActiveMenu = PermissionNames.Pages; //The menu item will be active for this page.
  6. var systemName = SettingManager.GetSettingValue(IwbSettingNames.AdminSystemName);
  7. string path = SettingManager.GetSettingValue(IwbSettingNames.HomePagePath);
  8. ViewBag.Title = systemName;
  9. }
  10. @section css{
  11. <style>
  12. .content,.container-fluid {
  13. padding: 0!important;
  14. }
  15. .home, .page::before {
  16. background: url('@(path)/@(IwbConsts.HomeImageName).@(IwbConsts.LoginHomeImageExt)') 0 / cover fixed;
  17. }
  18. </style>
  19. <link href="~/Content/Css/Home.css" rel="stylesheet" />
  20. }
  21. <div class="home">
  22. <div class="page no-select">
  23. <div class="page-title">
  24. <span>欢迎登陆</span>
  25. </div>
  26. <div class="page-title-sm">
  27. <span>@systemName</span>
  28. </div>
  29. </div>
  30. </div>