list_weblog.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>Web Log Manager</title>
  6. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  7. <style type="text/css">
  8. body {
  9. margin: 0;
  10. margin-left: auto;
  11. margin-right: auto;
  12. font-family: Arial, Helvetica, sans-serif;
  13. padding: 0 0 0 8px;
  14. }
  15. .main {
  16. background-color: #ffffff;
  17. padding: 0 0 18px 0;
  18. box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
  19. }
  20. .top {
  21. color: #ffd76e;
  22. padding: 0;
  23. font-family: Arial, Helvetica, sans-serif;
  24. margin: 0;
  25. font-size: 10pt;
  26. text-align: left;
  27. border: 0px;
  28. border-collapse:collapse;
  29. }
  30. .top thead td {
  31. background-color: #505050;
  32. border-bottom: 1px solid #fff;
  33. height: 25px;
  34. text-align: right;
  35. padding: 0 24px 0 0px;
  36. weight:120px;
  37. }
  38. .top thead td:first-child{
  39. border-left: 1px solid #fff;
  40. border-right:none;
  41. text-align:left;
  42. padding: 0 0 0 0;
  43. width:auto;
  44. }
  45. .top-link {
  46. padding: 5px 22px 4px;
  47. text-decoration: none;
  48. color: #fff;
  49. border-right: 1px solid #fff;
  50. }
  51. .top-link:hover {
  52. color: #fff;
  53. background-color: #999;
  54. }
  55. .top-link:active{
  56. color: #fff;
  57. background-color: #f79b44;
  58. }
  59. .top-selected-link {
  60. padding: 5px 22px;
  61. text-decoration: none;
  62. color: #555;
  63. background-color: #fff;
  64. border-right: 1px solid #fff;
  65. }
  66. .top-selected-link:hover {
  67. color: #174f82;
  68. }
  69. .top-selected-link:active {
  70. color: #fff;
  71. background-color: #f79b44;
  72. }
  73. .top-user {
  74. padding: 0 2px 0 0;
  75. text-decoration: none;
  76. color: #ffd76e;
  77. }
  78. .top-user:hover {
  79. color: #fff;
  80. }
  81. .top-user:active{
  82. color: #fff;
  83. background-color: #f79b44;
  84. }
  85. </style>
  86. </head>
  87. <body>
  88. <table class="top">
  89. <thead>
  90. <tr>
  91. <td>
  92. <b><a class="top-<?php if($_GET['type'] == 'access' ) echo 'selected-' ?>link" href="/list/web-log/?domain=<?php echo $_GET['domain']."&type=access"?>">
  93. <?php print __('AccessLog') ?>
  94. </a></b>
  95. <b><a class="top-<?php if($_GET['type'] == 'error' ) echo 'selected-' ?>link" href="/list/web-log/?domain=<?php echo $_GET['domain']."&type=error"?>">
  96. <?php print __('ErrorLog') ?>
  97. </a></b>
  98. <b><a class="top-link" href="/download/web-log/?domain=<?php echo $_GET['domain']."&type=access"?>">
  99. <?php print __('Download AccessLog') ?>
  100. </a></b>
  101. <b><a class="top-link" href="/download/web-log/?domain=<?php echo $_GET['domain']."&type=error"?>">
  102. <?php print __('Download ErrorLog') ?>
  103. </a></b>
  104. </td>
  105. </tr>
  106. </thead>
  107. </table>
  108. <div style="color: #323232; padding: 16px 0px;"><?php echo __('Last 70 lines of %s.%s.log',$_GET['domain'],$_GET['type']) ;?></div>
  109. <pre>