Sha256: 1b574307f5110fefdac37a49c703f55af671138f314fc3bf13b858fc18175547

Contents?: true

Size: 1.58 KB

Versions: 86

Compression:

Stored size: 1.58 KB

Contents

<div class="pb--kit-show sample-nav">
  <div class="sample-actions">
    <div class="items">
      <a href="/">
        <%= pb_rails("circle_icon_button", props: {variant: "primary", icon: "angle-left", dark: true}) %>
      </a>
    </div>
  </div>
  <div class="pb--kit-type-nav sample">
    <%= pb_rails("nav", props: { orientation: "horizontal", classname: "code-controls"}) do %>
      <%= pb_rails("nav/item", props: { text: "Rails", link: "#{sample_show_rails_path(@sample)}", active: action_name == 'sample_show_rails' }) %>
      <%= pb_rails("nav/item", props: { text: "React", link: "#{sample_show_reacts_path(@sample)}", active: action_name == 'sample_show_react' }) %>
    <% end %>
  </div>
  <div class="sample-actions-right">
    <div class="items">
      <%= pb_rails("circle_icon_button", props: { classname:"toggle-button", variant: "secondary", icon: "code", dark: true}) %>
    </div>
    <div class="items">
      <%= pb_rails("circle_icon_button", props:{ classname: "expand", variant: "secondary", icon: "expand", dark: true}) %>
    </div>
  </div>
</div>
<%= pb_rails("circle_icon_button", props:{ classname: "compress", variant: "link", icon: "compress"}) %>

<%= render_sample_ui(@sample, @type) %>

<div class="pb--kit-show">
    <div class="pb--doc light_ui">
        <div class="pb--codeCopy close" >
            <a class="pb--close-toggle copy-clipboard" href="#">Copy to Clipboard</a>
            <div class="hiddenCodeforCopy"><%= get_raw_code(@sample, @type) %></div>
            <pre class="highlight"><%= get_sample_code_content(@sample, @type) %></pre>
        </div>
    </div>
</div>

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
playbook_ui-7.3.0.pre.alpha2 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.8.2.pre.alpha1 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha14 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.8.1 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.8.0 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.7.0.pre.alpha1 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.7.0 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.6.1 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.6.0 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.5.2 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha12 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha11 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha10 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha9 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.5.1 app/views/playbook/samples/sample_show.html.erb
playbook_ui-6.5.0 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha8 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha7 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha6 app/views/playbook/samples/sample_show.html.erb
playbook_ui-7.0.1.pre.alpha5 app/views/playbook/samples/sample_show.html.erb