Sha256: 21e730534141ff3ebba722e92292198f644a0e8e225553711956153f236f0dfc

Contents?: true

Size: 711 Bytes

Versions: 1

Compression:

Stored size: 711 Bytes

Contents

-if pages > 1
  .row.text-center
    div style="border-top: 1px solid #eeeeee;"
    ul.pagination.no-margin style="vertical-align:middle"
      li.page-first
        a href="#" onclick="advance_search('#{url}',0,'#{format}');" «
      -for i in (1..pages)
        -if i < (offset + 5) && i > (offset - 5)
          -if offset == i - 1
            li.page-pre
              a.bgm-blue.c-white #{i}
          -else
            li.page-pre
              a href="#" onclick="advance_search(#{report.id},#{i-1},'#{format}');" #{i}
    ul.pagination.no-margin style="vertical-align:middle"
      -if offset < pages -1
        li.page-last
          a onclick="advance_search(#{report.id},#{pages-1},'#{format}');" »

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-hexacta-1.7.15 lib/sinatra/views/inputs/paginator.slim