Skip to content

Commit

Permalink
[WIP] Add badge for status - dashboard widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolachr committed Aug 8, 2024
1 parent 204f46f commit fc36742
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/projects/tasks/_summary.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,35 @@
<li class="list-group-item">
<a href="#" class="list-group-item-action red">[OWASP Top 10] A2:2017 - Broken Authentication</a>
<span class="badge bg-primary">Simple OWASP checklist</span>
<span class="badge bg-secondary">In progress</span>
</li>
<li class="list-group-item">
<a href="#" class="list-group-item-action red">Step 1: Prepare the release notes</a>
<span class="badge bg-primary">Release Checklist</span>
<span class="badge bg-secondary">In progress</span>
</li>
<li class="list-group-item">
<a href="#" class="list-group-item-action red">[OWASP Top 10] A2:2017 - Broken Authentication</a>
<span class="badge bg-primary">Simple OWASP checklist</span>
<span class="badge bg-secondary">To do</span>
</li>
</ul>
<h5 class="mb-2 mt-4">Next (3/40)</h5>
<ul class="list-group tasks">
<li class="list-group-item">
<a href="#" class="list-group-item-action orange">[OWASP Top 10] A3:2017 - Sensitive Data Exchange</a>
<span class="badge bg-primary">Simple OWASP checklist</span>
<span class="badge bg-secondary">Pending</span>
</li>
<li class="list-group-item">
<a href="#" class="list-group-item-action orange">[OWASP Top 10] A4:2017 - XML External Entities (XXE)</a>
<span class="badge bg-primary">Simple OWASP checklist</span>
<span class="badge bg-secondary">In progress</span>
</li>
<li class="list-group-item">
<a href="#" class="list-group-item-action yellow">Step 3: Deal with security advisories</a>
<span class="badge bg-primary">Release Checklist</span>
<span class="badge bg-secondary">To do</span>
</li>
</ul>
</section>

1 comment on commit fc36742

@nicolachr
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment there's only just a class="badge bg-secondary" for each task without any styling or sorting. We will need to match these with the colors used in Methodology progress widget for consistency.
Screenshot 2024-08-08 at 2 10 00 PM

Please sign in to comment.