=stylesheet_link_tag 'gamecard', media: 'all'

body(class="B5")
  #page-1.sheet.gamecard
    section#todays-game
      .grid-container
        .section-header
          #todays-game-header.bar-left.event-title
            |  G#00-XX at Team 00/00/20XX 0:00 XM 
          .bar-right.homeaway
            | Axxx
          .bar-span.gametitle
        #offense-pane.left
          table#starting-lineup-offense
            tbody
            - for i in 1...11
              tr
                th[rowspan="2"]
                  | #{i}
                td#offense-slot-2-name.player-name
                  | Lastname
                td#offense-slot-2-jersey-number.jersey-number
                  |  00 
                td#offense-slot-2-position.position
                  | XX
              tr
                td
                td
                td
              
        #defense-pane.right
          .container
            .field-container
              image[src="../baseball-diamond.svg"]
                .row[style="justify-content: center"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | CF
                        td#defense-slot-CF-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                .row[style="justify-content: space-between"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | LF
                        td#defense-slot-LF-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | RF
                        td#defense-slot-RF-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                .row[style="justify-content: space-around"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | SS
                        td#defense-slot-SS-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | 2B
                        td#defense-slot-2B-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                .row[style="justify-content: space-between"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | 3B
                        td#defense-slot-3B-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | 1B
                        td#defense-slot-1B-name.player-name
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
                .row[style="justify-content: center"]
                  .defense-slot-set
                    table
                      tr
                        th.position
                          | C
                        td#defense-slot-C-name.player-name
                          |  player 
                      tr
                        td[colspan="2"]
                      tr
                        td[colspan="2"]
            .pitching-container
              .defense-slot-set
                table
                  tr
                    th.position
                      | P
                    td#defense-slot-P-name.player-name
                      | player
                    td.position
                    td.position
                  tr
                    th.position
                      | RP
                    td#defense-slot-RP1-name.player-name
                    td
                    td
                  tr
                    th.position
                      | RP
                    td#defense-slot-RP2-name.player-name
                    td
                    td
        .footer
          table
            tr
              th
                | Notes
      td
      tr
        td
      tr
        td
    section#roster-and-history
      div
        table
          thead
            tr
              th#today-availability[colspan="3"]
                | Available (15|1)
              th.player-stats
                span.decimal-point
                  | .
                | AVG
                span.delimiter
                  | /
                span.decimal-point
                  | .
                | OBP
                span.delimiter
                  | /
                span.decimal-point
                  | .
                | SLG
                span.delimiter
                  | :
                | PA 
              th.position-capability.pitcher
                | P
              th.position-capability.catcher
                | C
              th.position-capability.infield
                | I
              th.position-capability.outfield
                | O
              th.today-plus-1
                .rotate
                  | MON
              th.today-plus-2
                .rotate
                  | TUE
              th.today-plus-3
                .rotate
                  | WED
              th.today-plus-4
                .rotate
                  | THU
              th.today-minus-1
                .rotate
                  | MON
              th.today-minus-2
                .rotate
                  | TUE
              th.today-minus-3
                .rotate
                  | WED
              th.today-minus-4
                .rotate
                  | THU
          tbody
            - for i in 1...26
              tr id="roster-history-slot-#{i}"
                td.is-present-checkbox
                  span
                    | ■
                td.jersey-number.border-left
                  | XX
                td.player-name
                  | Lastname
                td.player-stats.border-left.border-right
                  span.decimal-point
                    | .
                  span.avg
                    | 000
                  span.delimiter
                    | /
                  span.decimal-point
                    | .
                  span.obp
                    | 000
                  span.delimiter
                    | /
                  span.decimal-point
                    | .
                  span.slg
                    | 000
                  span.delimiter
                    | :
                  span.pa
                    | 00
                td.position-capability.pitcher
                  | ?
                td.position-capability.catcher
                  | ?
                td.position-capability.infield
                  | ?
                td.position-capability.outfield
                  | ?
                td.availability.future.today-plus-1
                  | U
                td.availability.future.today-plus-2
                  | U
                td.availability.future.today-plus-3
                  | U
                td.availability.future.today-plus-4
                  | U
                td.availability.past.today-minus-1
                  | U
                td.availability.past.today-minus-2
                  | U
                td.availability.past.today-minus-3
                  | U
                td.availability.past.today-minus-4
                  | U
          tfoot
            tr
              th[colspan="3"]
              th
              th[colspan="4"]
              th.today-plus-1
                .rotate
              th.today-plus-2
                .rotate
              th.today-plus-3
                .rotate
              th.today-plus-4
                .rotate
              th.today-minus-1
                .rotate
              th.today-minus-2
                .rotate
              th.today-minus-3
                .rotate
              th.today-minus-4
                .rotate
    section#lineup-card-dugout.lineup-card
      .grid-container
        .section-header
          .bar-left.event-title
            |  GAME 
          .bar-right.homeaway
        .starting-lineup-table
          table
            thead
              tr
                th[colspan="4"]
                  | Starting
            tbody
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
        .substitution-table
          table[style="width: 100%"]
            thead
              tr
                th
                  | Substitution
            tbody
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
              tr
                td.substitution
    section#lineup-card-exchange.lineup-card
      .grid-container
        .section-header.event-title
          | GAME
        .starting-lineup-table
          table.starting-lineup-table
            thead
              tr
                th
                th.player-name
                  | Name
                th.jersey-number
                  | Num
                th.position
                  | Pos
            tbody
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
              tr
                th.sequence.label
                td.player-name
                td.jersey-number
                td.position
  #page-2.sheet.gamecard
      section#back-cover
      section#front-cover
        p
          span.event-label
          br
          span.opponent
          br
          span.event-date
          br
          span.event-time
          br
          span.event-location-name
          br
          span.homeaway
          br
      section#lineup-card-dugout-empty.lineup-card
        .grid-container
          .section-header
          .starting-lineup-table
            table
              thead
                tr
                  th[colspan="4"]
                    | Starting
              tbody
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
          .substitution-table
            table[style="width: 100%"]
              thead
                tr
                  th
                    | Substitution
              tbody
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
                tr
                  td.substitution
      section#lineup-card-exchange-empty.lineup-card
        .grid-container
          .section-header
          .starting-lineup-table
            table.starting-lineup-table
              thead
                tr
                  th
                  th.player-name
                    | Name
                  th.jersey-number
                    | Num
                  th.position
                    | Pos
              tbody
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position
                tr
                  th.sequence.label
                  td.player-name
                  td.jersey-number
                  td.position