File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 }
88 </ style >
99 < main class ="container ">
10- < div style ="display: flex; align-items: center; justify-content: space-between; ">
10+ < div style ="display: flex;
11+ align-items: center;
12+ justify-content: space-between ">
1113 < h1 > Surfcams</ h1 >
12- < label style ="display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; cursor: pointer; user-select: none; ">
13- < input type ="checkbox " id ="hide-offline " onchange ="toggleOffline(this.checked) ">
14+ < label style ="display: flex;
15+ align-items: center;
16+ gap: 0.4rem;
17+ font-size: 0.85rem;
18+ cursor: pointer;
19+ user-select: none ">
20+ < input type ="checkbox "
21+ id ="hide-offline "
22+ onchange ="toggleOffline(this.checked) ">
1423 Hide offline
1524 </ label >
1625 </ div >
@@ -31,14 +40,11 @@ <h3 style="color: {{ category.color }}; margin-bottom: 0.5rem;">{{ category.titl
3140 text-decoration: none;
3241 transition: border-color 0.2s "
3342 href ="{% url 'cam_full_detail' cam.slug %} ">
34- {{ cam.title }}
35- < div style ="font-size: 0.65rem; ">
36- {% if cam.offline_since %}
37- < span style ="color: #888; "> offline {{ cam.offline_since|timesince }}</ span >
38- {% else %}
39- < span style ="color: {{ cam.bullet_color }} "> {{ cam.subtitle }}</ span >
40- {% endif %}
41- </ div >
43+ {% if cam.offline_since %}
44+ < span style ="color: #888 "> ⊙ {{ cam.title }}</ span >
45+ {% else %}
46+ < span style ="color: {{ cam.bullet_color }} "> ⊙</ span > {{ cam.title }}
47+ {% endif %}
4248 </ a >
4349 {% endfor %}
4450 </ div >
You can’t perform that action at this time.
0 commit comments