Skip to content

Commit

Permalink
Update HTML template
Browse files Browse the repository at this point in the history
  • Loading branch information
dongnhzigexn committed May 7, 2019
1 parent 52f4697 commit 5de9ea4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/pronto/assets/output.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
margin: 0 !important;
}

.copy-btn {
.copy-btn, .card-header {
cursor: pointer;
}

Expand Down Expand Up @@ -64,14 +64,14 @@
</div>

<% files.each do |path, offenses| %>
<div class="card mt-2">
<div class="card-header bg-gray text-bold">
<details class="card mt-2 accordion" id="offense_<%= path %>" open>
<summary class="accordition-header card-header bg-gray text-bold">
<%= path %>
<span class="chip">
<%= pluralize(offenses.count, 'offense') %>
</span>
</div>
<div class="card-body">
</summary>
<div class="card-body accordion-body">
<% offenses.each do |offense| %>
<div class="report">
<div class="meta text-italic">
Expand All @@ -92,7 +92,7 @@
</div>
<% end %>
</div>
</div>
</details>
<% end %>
</div>
<script>
Expand Down

0 comments on commit 5de9ea4

Please sign in to comment.