Sha256: 8d52bf6c3b5b654cb67a82f441eb59030550f228aa7c18b248840cc1ee9271de

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

.stable.table-scroll{ html_options }
  .scrollbars
    .scroll-vertical
      %div
    .scroll-horizontal
      %div
    .mask
      .c-left
        .t-header
          - (0..options[:fixed_rows]-1).each do |index|
            .t-row{row_wrapper_html_options[index]}
              - (0..options[:fixed_columns]-1).each do |cell_index|
                %div{data[index][cell_index][:html_options]}
                  = data[index][cell_index][:value]
        .t-body.vertical
          - data.enum_drop_with_index(options[:fixed_rows]) do |row, index|
            .t-row{row_wrapper_html_options[index]}
              - (0..options[:fixed_columns]-1).each do |cell_index|
                %div{row[cell_index][:html_options]}
                  = row[cell_index][:value]
      .c-right
        .t-header.horizontal
          - (0..options[:fixed_rows]-1).each do |index|
            .t-row{row_wrapper_html_options[index]}
              - data[index].enum_drop(options[:fixed_columns]) do |cell|
                %div{cell[:html_options]}
                  = cell[:value]
        .t-body.vertical.horizontal
          - data.enum_drop_with_index(options[:fixed_rows]) do |row, index|
            .t-row{row_wrapper_html_options[index]}
              - row.enum_drop(options[:fixed_columns]) do |cell|
                %div{cell[:html_options]}
                  = cell[:value]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stable-rails-0.0.7 app/views/stable/_stable.haml
stable-rails-0.0.6 app/views/stable/_stable.haml