|
64 | 64 | {% if diff.snapshot != "" %}
|
65 | 65 | <div class="form-check form-switch mt-1">
|
66 | 66 | <input class="form-check-input" type="checkbox" role="switch"
|
67 |
| - id="flexSwitchCheckDefault" onchange="toggleOverlayCheckbox(this, {{ loop.index0 }})"> |
68 |
| - <label class="form-check-label text-muted" for="flexSwitchCheckDefault"> |
| 67 | + id="flexSwitchCheckDefault{{ loop.index0 }}" onchange="toggleOverlayCheckbox(this, {{ loop.index0 }})"> |
| 68 | + <label class="form-check-label text-muted" for="flexSwitchCheckDefault{{ loop.index0 }}"> |
69 | 69 | Show difference
|
70 | 70 | </label>
|
71 | 71 | </div>
|
|
78 | 78 | <div class="w-100 d-flex justify-content-center mt-1">
|
79 | 79 | <span class="small">Output from test (<a href="#" class="link-primary mb-0"
|
80 | 80 | data-bs-toggle="modal"
|
81 |
| - data-bs-target="#environmentModal">More info</a>)</span> |
| 81 | + data-bs-target="#environmentModal{{ loop.index0 }}">More info</a>)</span> |
82 | 82 | </div>
|
83 | 83 | </div>
|
84 | 84 | <div class="col">
|
|
121 | 121 | </div>
|
122 | 122 |
|
123 | 123 | {# Modal with debug info: #}
|
124 |
| - <div class="modal modal-lg fade" id="environmentModal" tabindex="-1" |
125 |
| - aria-labelledby="environmentModalLabel" |
| 124 | + <div class="modal modal-lg fade" id="environmentModal{{ loop.index0 }}" tabindex="-1" |
| 125 | + aria-labelledby="environmentModalLabel{{ loop.index0 }}" |
126 | 126 | aria-hidden="true">
|
127 | 127 | <div class="modal-dialog">
|
128 | 128 | <div class="modal-content">
|
129 | 129 | <div class="modal-header">
|
130 |
| - <h5 class="modal-title" id="environmentModalLabel">More info for <span |
| 130 | + <h5 class="modal-title" id="environmentModalLabel{{ loop.index0 }}">More info for <span |
131 | 131 | class="font-monospace">{{ diff.test_name }}</span></h5>
|
132 | 132 | <button type="button" class="btn-close" data-bs-dismiss="modal"
|
133 | 133 | aria-label="Close"></button>
|
|
0 commit comments