spacepaste

  1.  
  2. {% extends "webapp/header.html" %}
  3. {% block content %}
  4. <p style="color: red"> Hey , Welcome תשמע אתה תותח פשששש</p>
  5. <style>
  6. table
  7. {
  8. background-color:#ECECEE;
  9. color:white;
  10. }
  11. tr:nth-child(even) {background-color: #DAD9DC}
  12. th {
  13. background-color: #30628B;
  14. color: white;
  15. }
  16. p {
  17. font-size:18px ; word-spacing: 0.3em;
  18. }
  19. table,td, tr
  20. {
  21. width:60em;
  22. }
  23. table,td, tr
  24. {
  25. height:1px;
  26. }
  27. table {
  28. border-collapse:collapse;
  29. }
  30. table, th, td {
  31. border:2px solid #0f0f0f;
  32. }
  33. table td, th
  34. {
  35. text-align:left;
  36. vertical-align:bottom;
  37. }
  38. th
  39. {
  40. text-align:center;
  41. }
  42. h1 {
  43. padding: auto;
  44. margin: auto;
  45. font-size: 20px;
  46. text-align:center;
  47. }
  48. p {
  49. color: #4F4F4F;
  50. padding: auto;
  51. margin-bottom: auto;
  52. font-size: 14px;
  53. text-align:center;
  54. }
  55. </style>
  56. <div class="fsfs">
  57. <table>
  58. <thead>
  59. <tr>
  60. <td>
  61. <th colspan="4" style="background-color: #4C98CB"><p style=color:#040915> Home</p></th>
  62. <th colspan="4" style="background-color: #4C98CB"><p style=color:#040915>Away</th>
  63. <th colspan="4" style="background-color: #4C98CB"><p style=color:#040915>Total (home + away)</th>
  64. </td>
  65. </tr>
  66. <tr><th>קבוצה</th>
  67. <th>שיחקו</th>
  68. <th>הבקיעו</th>
  69. <th>ספגו</th>
  70. <th>שערים</th>
  71. <th>שיחקו</th>
  72. <th>הבקיעו</th>
  73. <th>ספגו</th>
  74. <th>שערים</th>
  75. <th>שיחקו</th>
  76. <th>הבקיעו</th>
  77. <th>ספגו</th>
  78. <th><p>ff</p></th>
  79. </tr>
  80. {% for record in records %}
  81. {% if forloop.first %}
  82. <tr>
  83. {% for field in record %}
  84. <th> {{ field }} </th>
  85. {% endfor %}
  86. </tr>
  87. </thead>
  88. <tbody>
  89. {% else %}
  90. <tr>
  91. {% for field in record %}
  92. <td><p> {{ field }} </p></td>
  93. {% endfor %}
  94. {% endif %}
  95. {% if forloop.last %}
  96. </tbody>
  97. {% endif %}
  98. {% endfor %}
  99. </table>
  100. </div>
  101. {% endblock %}
  102.