@@ -201,27 +201,70 @@ <h5>About this Signal Set </h5>
201
201
< th scope ="row "> Link to data dictionary</ th >
202
202
< td > {{ signalset.link_to_dictionary }}</ td >
203
203
</ tr >
204
+ </ tbody >
205
+ </ table >
206
+ </ div >
207
+ </ div >
208
+ </ div >
209
+ </ div >
210
+ </ section >
211
+ < h5 > Related signals</ h5 >
212
+ < section >
213
+ < div class ="row ">
214
+ < div class ="card ">
215
+ < div class ="card-body ">
216
+ < div class ="table-responsive " data-fl-scrolls ='{"orientation": "horizontal"} '>
217
+ < table class ="table table-hover ">
218
+ < thead >
204
219
< tr >
205
- < th scope ="row "> Related signals</ th >
206
- < td >
207
- {% for signal in signalset.signals.all %}
208
- < a href ="{% url 'signal' pk=signal.id %} " target ="_blank ">
209
- < span class ="badge rounded-pill bg-dark ">
210
- {{ signal.name }}
211
- </ span >
212
- </ a >
220
+ < th scope ="col "> Display Name</ th >
221
+ < th scope ="col "> Name</ th >
222
+ < th scope ="col "> Active</ th >
223
+ < th scope ="col "> Description</ th >
224
+ < th scope ="col "> Pathogen</ th >
225
+ </ tr >
226
+ </ thead >
227
+ < tbody >
228
+ {% for signal in signalset.signals.all %}
229
+ < tr >
230
+ < td class ="clickable-table-cell "
231
+ onClick ="location.href='{% url 'signal' pk=signal.id %}'; ">
232
+ {{ signal.display_name }}
233
+ </ td >
234
+ < td class ="clickable-table-cell "
235
+ onClick ="location.href='{% url 'signal' pk=signal.id %}'; ">
236
+ {{ signal.name }}
237
+ </ td >
238
+ < td class ="clickable-table-cell "
239
+ onClick ="location.href='{% url 'signal' pk=signal.id %}'; ">
240
+ {% if signal.active == True%}
241
+ < i class ="fas fa-circle " style ="color:green; "> </ i >
242
+ {% else %}
243
+ < i class ="fas fa-circle " style ="color:red; "> </ i >
244
+ {% endif %}
245
+ </ td >
246
+ < td class ="clickable-table-cell "
247
+ onClick ="location.href='{% url 'signal' pk=signal.id %}'; ">
248
+ {{ signal.description }}
249
+ </ td >
250
+ < td class ="clickable-table-cell "
251
+ onClick ="location.href='{% url 'signal' pk=signal.id %}'; ">
252
+ {% for pathogen in signal.pathogen.all %}
253
+ {{ pathogen }}
213
254
{% endfor %}
214
255
</ td >
215
256
</ tr >
257
+ {% endfor %}
216
258
</ tbody >
217
259
</ table >
218
260
</ div >
219
261
</ div >
220
262
</ div >
221
263
</ div >
222
264
</ section >
223
-
265
+ < h5 > Plot / Export data </ h5 >
224
266
< script >
267
+
225
268
if ( ! library )
226
269
var library = { } ;
227
270
0 commit comments