Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- #one-column-emphasis
- {
- font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
- font-size: 12px;
- margin: 10px;
- width: 400px;
- text-align: left;
- border-collapse: collapse;
- }
- #one-column-emphasis th
- {
- font-size: 14px;
- font-weight: normal;
- padding: 12px 15px;
- color: #039;
- }
- #one-column-emphasis td
- {
- padding: 10px 15px;
- color: #669;
- border-top: 1px solid #e8edff;
- }
- #one-column-emphasis tr:hover td
- {
- color: #339;
- background: #eff2ff;
- }
- </style>
- </head>
- <body>
- <table id="one-column-emphasis" summary="supporttider">
- <thead>
- <tr>
- <th scope="col">Vecka</th>
- <th scope="col">Anställd</th>
- <th rowspan="5"><img src="foo"></img></th>
- </tr>
- </thead>
- <h1><<%= l(:schedule) %></h1>
- <% @weeks.sort.each do |week| %>
- <% if week[0].to_i >= @currentWeek %>
- <% if week[0].to_i == @currentWeek %>
- <tr style="font-weight: bold">
- <% else %>
- <tr>
- <% end %>
- <td>
- v. <%= week[0] %>
- </td>
- <td>
- <%= week[1] %>
- </td>
- </tr>
- <% end %>
- <% end %>
- </table>
Add Comment
Please, Sign In to add comment