Guest User

Untitled

a guest
Jan 12th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.48 KB | None | 0 0
  1. <style type="text/css">
  2.  
  3. #one-column-emphasis
  4. {
  5. font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  6. font-size: 12px;
  7. margin: 10px;
  8. width: 400px;
  9. text-align: left;
  10. border-collapse: collapse;
  11. }
  12. #one-column-emphasis th
  13. {
  14. font-size: 14px;
  15. font-weight: normal;
  16. padding: 12px 15px;
  17. color: #039;
  18. }
  19. #one-column-emphasis td
  20. {
  21. padding: 10px 15px;
  22. color: #669;
  23. border-top: 1px solid #e8edff;
  24. }
  25. #one-column-emphasis tr:hover td
  26. {
  27. color: #339;
  28. background: #eff2ff;
  29. }
  30.  
  31. </style>
  32. </head>
  33. <body>
  34.  
  35. <table id="one-column-emphasis" summary="supporttider">
  36. <thead>
  37. <tr>
  38. <th scope="col">Vecka</th>
  39. <th scope="col">Anst&auml;lld</th>
  40. <th rowspan="5"><img src="foo"></img></th>
  41. </tr>
  42. </thead>
  43.  
  44. <h1><<%= l(:schedule) %></h1>
  45. <% @weeks.sort.each do |week| %>
  46. <% if week[0].to_i >= @currentWeek %>
  47. <% if week[0].to_i == @currentWeek %>
  48. <tr style="font-weight: bold">
  49. <% else %>
  50. <tr>
  51. <% end %>
  52. <td>
  53. v. <%= week[0] %>
  54. </td>
  55. <td>
  56. <%= week[1] %>
  57. </td>
  58. </tr>
  59. <% end %>
  60. <% end %>
  61. </table>
Add Comment
Please, Sign In to add comment