Skip to content

Commit e4015d2

Browse files
committed
🛠️ style.css -> Added hover effect for clickable table cell
🛠️ signals_list.html -> Added class to make table cell clickable
1 parent 0fec997 commit e4015d2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/assets/css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,3 +1236,7 @@ h6 {
12361236
#order_by_label{
12371237
margin-bottom: 1rem;
12381238
}
1239+
1240+
.clickable-table-cell:hover {
1241+
cursor: pointer;
1242+
}

src/templates/signals/signals_list.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<input type="checkbox" name="id" value="{{ signal.id }}">
1212
{{ form.id|as_crispy_field }}
1313
</td>
14-
<td onClick="location.href='{% url 'signal' pk=signal.id %}';">{{ signal.display_name }}</td>
14+
<td onClick="location.href='{% url 'signal' pk=signal.id %}';" class="clickable-table-cell">{{ signal.display_name }}</td>
1515
<td>{{ signal.source }}</td>
1616
<td>{{ signal.description }}</td>
1717
<td>
@@ -35,8 +35,4 @@
3535
</td>
3636
</tr>
3737

38-
<script>
39-
40-
</script>
41-
4238
{% endfor %}

0 commit comments

Comments
 (0)