You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Index.cshtml 3.9 KiB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @{
  2. ViewBag.Title = "课程表";
  3. Layout = "~/Views/Shared/_Index.cshtml";
  4. }
  5. <link href="~/Content/static/css/TimeTable.css" rel="stylesheet" />
  6. <script src="~/Content/static/js/LodopFuncs.js"></script>
  7. <style id="style1" media="print">
  8. * {
  9. -webkit-box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. box-sizing: border-box;
  12. }
  13. ul {
  14. margin: 0px;
  15. padding: 0px;
  16. list-style: none;
  17. }
  18. li {
  19. list-style: none;
  20. }
  21. table, tr, td {
  22. cellspacing: 0px;
  23. cellpadding: 0px;
  24. padding: 0;
  25. margin: 0;
  26. }
  27. body {
  28. font-family: "Microsoft YaHei", "微软雅黑" !important;
  29. padding: 10px;
  30. color: #333;
  31. font-size: 12px;
  32. margin: 0;
  33. }
  34. .personalBox {
  35. padding: 10px;
  36. }
  37. .personT {
  38. font-size: 24px;
  39. text-align: center;
  40. margin-bottom: 15px
  41. }
  42. .perSemester {
  43. /*text-align: center;*/
  44. overflow: hidden;
  45. border: 1px solid #333;
  46. line-height: 25px;
  47. height: 30px;
  48. padding: 0 10px;
  49. }
  50. .perSemester span {
  51. float: right
  52. }
  53. .perWeek {
  54. overflow: hidden;
  55. line-height: 26px;
  56. height: 30px;
  57. text-align: center;
  58. border-left: 1px solid #333;
  59. border-right: 1px solid #333;
  60. }
  61. .perWeek li {
  62. width: 12.5%;
  63. float: left;
  64. border-left: 1px solid #333;
  65. height: 100%;
  66. }
  67. .perFestivalsBox {
  68. border-left: 1px solid #333;
  69. border-right: 1px solid #333;
  70. border-bottom: 1px solid #333;
  71. text-align: center;
  72. }
  73. .perFestivalsBox table {
  74. display: block;
  75. width: 100%;
  76. text-align: center;
  77. }
  78. .perFestivalsBox td {
  79. border-left: 1px solid #333;
  80. border-top: 1px solid #333;
  81. padding: 1px;
  82. width: 12.5%;
  83. font-size: 12px;
  84. }
  85. .perFestivalsBox td div {
  86. min-height: 16px;
  87. line-height: 16px;
  88. }
  89. .perFestivalsBox td:first-child, .perWeek li:first-child {
  90. border-left: 0;
  91. }
  92. </style>
  93. <div class="lr-layout ">
  94. <div class="lr-layout-center">
  95. <div class="lr-layout-wrap lr-layout-wrap-notitle ">
  96. <div class="lr-layout-tool">
  97. <div class="lr-layout-tool-left">
  98. <div class="lr-layout-tool-item">
  99. <div id="datesearch" class="lr-search-date"></div>
  100. </div>
  101. </div>
  102. <div class="lr-layout-tool-right">
  103. <div class=" btn-group btn-group-sm">
  104. <a id="perBtn" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印课程表</a>
  105. </div>
  106. </div>
  107. </div>
  108. <div class="lr-layout-body" style="overflow: auto;">
  109. <div class="warpper">
  110. <div class="personalBox">
  111. <div class="personT"></div>
  112. <div class="perSemester"></div>
  113. <ul class="perWeek">
  114. <li>节次/星期</li>
  115. <li>星期一</li>
  116. <li>星期二</li>
  117. <li>星期三</li>
  118. <li>星期四</li>
  119. <li>星期五</li>
  120. <li>星期六</li>
  121. <li>星期日</li>
  122. </ul>
  123. <div class="perFestivalsBox">
  124. <table cellspacing="0" border="0"></table>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. @Html.AppendJsFile("/Areas/PersonnelManagement/Views/TimeTable/Index.js")