extends layout

block content
  block content
    .mdl-grid
      .mdl-cell--3-offset-desktop
      .mdl-cell.mdl-cell--6-col.mdl-cell--12-col-tablet
        .demo-card-square.mdl-card.mdl-shadow--2dp
          .mdl-card__title.mdl-card--expand
            h2.mdl-card__title-text Top-Cocktails
          .mdl-card__supporting-text
            each entry in list
              li.mdl-list__item.mdl-list__item--two-line
                span.mdl-list__item-primary-content
                  i.material-icons.mdl-list__item-avatar local_bar
                  span= entry.entry[2] + " - " + entry.entry[3]
                  span.mdl-list__item-sub-title= entry.entry[7].replace(/;/g, ', ')
                if entry.levels
                  span.mdl-list__item-secondary-content= Math.round(entry.levels.avg * 10) / 10
                else
                  span.mdl-list__item-secondary-content N/A
