Sha256: f10b83641d7363a5d7a9e1b5bc3fb2128ec9b9848eb4da3bf3af575cd7e87d16

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 Bytes

Contents

<style>
  <%= Rouge::Theme.find('github').render(scope: '.highlight') %>
</style>

<% session.each_batch_of_commands_grouped_by_sensitive_access do |sensitive_access, commands| %>
  <div class="card">
    <div class="card-content">
      <div class="media">
        <div class="media-content">
          <% if sensitive_access %>
            <p class="title is-4">Sensitive access *</p>
            <p class="subtitle is-6"><%= Rinku.auto_link(sensitive_access.justification).html_safe %></p>
          <% else %>
            <p class="title is-4">Protected access</p>
          <% end %>
        </div>
      </div>

      <div class="content">
        <pre class="highlight">
          <%= highlighted_code_from commands %>
        </pre>
      </div>
    </div>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
audits1984-0.1.7 app/views/audits1984/sessions/_executed_code.html.erb
audits1984-0.1.6 app/views/audits1984/sessions/_executed_code.html.erb
audits1984-0.1.5 app/views/audits1984/sessions/_executed_code.html.erb
audits1984-0.1.4 app/views/audits1984/sessions/_executed_code.html.erb
audits1984-0.1.3 app/views/audits1984/sessions/_executed_code.html.erb
audits1984-0.1.2 app/views/audits1984/sessions/_executed_code.html.erb