|
48 | 48 | <div class="card-style mb-30"> |
49 | 49 | <h6 class="mb-10">Legend for Supervisor List</h6> |
50 | 50 | <p class="text-sm mb-20"> |
51 | | - <span class="status-btn success-bg text-white mb-10">Number of Volunteers attempting contact (within 2 weeks)</span><br> |
52 | | - <span class="status-btn danger-bg text-white mb-10">Number of Volunteers not attempting contact (within 2 weeks)</span><br> |
53 | | - <span class="status-btn deactive-bg text-black">Count of Transition Aged Youth</span> |
| 51 | + <span class="volunteer-info success-bg text-white mb-10">Number of Volunteers attempting contact (within 2 weeks)</span><br> |
| 52 | + <span class="volunteer-info danger-bg text-white mb-10">Number of Volunteers not attempting contact (within 2 weeks)</span><br> |
| 53 | + <span class="volunteer-info deactive-bg text-black">Count of Transition Aged Youth</span> |
54 | 54 | </p> |
55 | 55 | <div class="table-wrapper table-responsive"> |
56 | 56 | <table |
|
78 | 78 |
|
79 | 79 | <div class="d-flex flex-row w-100"> |
80 | 80 | <% if active_volunteers %> |
81 | | - <div class="status-btn success-bg text-white flex-grow-1" style="max-width: <%= (active_volunteers * 15) %>%; text-align: center"><%= active_volunteers %></div> |
| 81 | + <div class="volunteer-info success-bg text-white flex-grow-1" style="max-width: <%= (active_volunteers * 15) %>%; text-align: center"><%= active_volunteers %></div> |
82 | 82 | <% end %> |
83 | 83 | <% if no_attempt_volunteers.nonzero? %> |
84 | | - <div class="status-btn danger-bg text-white flex-grow-1" style="max-width: <%= (no_attempt_volunteers * 15) %>%; text-align: center"><%= no_attempt_volunteers %></div> |
| 84 | + <div class="volunteer-info danger-bg text-white flex-grow-1" style="max-width: <%= (no_attempt_volunteers * 15) %>%; text-align: center"><%= no_attempt_volunteers %></div> |
85 | 85 | <% else %> |
86 | 86 | <div class="flex-grow-1"></div> |
87 | 87 | <% end %> |
88 | 88 | </div> |
89 | 89 |
|
90 | 90 | <div class="d-flex flex-row py-2" style="max-width: 50%;"> |
91 | 91 | <% if !(active_volunteers || no_attempt_volunteers.nonzero?) %> |
92 | | - <div class="status-btn bg-secondary text-white">No assigned volunteers</div> |
| 92 | + <div class="volunteer-info bg-secondary text-white">No assigned volunteers</div> |
93 | 93 | <% else %> |
94 | | - <div class="status-btn deactive-bg text-black" style="width:<%= (transition_volunteers * 15) %>; % text-align: center"> |
| 94 | + <div class="volunteer-info deactive-bg text-black" style="width:<%= (transition_volunteers * 15) %>; % text-align: center"> |
95 | 95 | <%= transition_volunteers %> |
96 | 96 | </div> |
97 | 97 | <% end %> |
|
0 commit comments