Sha256: 962a9a678a5af951cb15d9f387eddcbdd9ae877abf683b681c18f90ac873a047

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

.content
  .grid-intro
    :markdown
      This dataset contains multidimensional data (a _data cube_). This grid allows you to view two dimensions at a time.

      Use the drop-downs below the grid to choose which dimensions to use for the rows and columns.

  .grid-header
    .grid-title
      %h3#cube-grid-title
         
    .grid-status
      .status-value
      = image_tag("publish_my_data/small-spinner.gif", alt: "busy", style: "display:none", class: "busy")

  #data-cube-grid.data-grid
  .grid-footer
    .footer-content

.controls-wrapper
  = render 'publish_my_data/data_cube/controls'

.content
  %h3 Help
  .docs(style="padding-top:7px")
    %ul
      %li
        To view the information held in our database for a column or individual cell, just click the blue links in the grid.
      %li
        You can re-order a column's contents by clicking on its header (anywhere except the links themselves), or resize it by dragging the column boundaries.
      %li
        The entire contents of grid (based on the currently selected options and ordering) can be downloaded in CSV format via the link in the grid footer.

  :javascript
    $(function() {
      new Swirrl.DatasetCubeGrid(window.location.host, '#{dataset.slug}', "#{dataset.title}", "#data-cube-grid");
    });

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
publish_my_data-1.0.4 app/views/publish_my_data/data_cube/_grid.html.haml
publish_my_data-1.0.3 app/views/publish_my_data/data_cube/_grid.html.haml
publish_my_data-1.0.2 app/views/publish_my_data/data_cube/_grid.html.haml
publish_my_data-1.0.1 app/views/publish_my_data/data_cube/_grid.html.haml
publish_my_data-1.0.0 app/views/publish_my_data/data_cube/_grid.html.haml