Sha256: f19aa2ad78dd5c70a7fb0c8ffcfca4d5c8eec2ccc7bf73931c1201dbd6ae27b8

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

doctype html
html
  head
    title Eggplant
    - if remote_enabled?
        meta name="socket-port" content="4444"

    == js :eggplant
    - if has_js?
      script src="/slides.js"
    - elsif has_coffee?
      script src="/slides.coffee" type="text/coffeescript"

    == css :eggplant
    - if has_less?
      link rel="stylesheet/less" type="text/css" href="/slides.less"
    - elsif has_css?
      link rel="stylesheet" type="text/css" href="/slides.css"

  body class="deck-container"
    // Render Slides
    == render_slides

    // Navigation
    - if show_navigation?
      a href="#" class="deck-prev-link" title="Previous" &#8592
      a href="#" class="deck-next-link" title="Next" &#8594

    // Status
    - if show_status?
      .deck-status
        span class="deck-status-current"
        |/
        span class="deck-status-total"

    // GoTo
    - if show_goto?
      form action="." method="get" class="goto-form"
        label for="goto-slide" Go to slide:
        input type="number" name="slidenum" id="goto-slide" min="1" max="#{slides.size}"
        input type="submit" value="Go"

    // Hash
    //a href="." title="Permalink to this slide" class="deck-permalink" #

    == js :eggplant_processors
      

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eggplant-0.2.2 lib/eggplant/views/show.slim
eggplant-0.2.1 lib/eggplant/views/show.slim
eggplant-0.2.0 lib/eggplant/views/show.slim