Skip to content

Commit 26aab47

Browse files
committed
fix: Changes icon to feather
1 parent 6565608 commit 26aab47

File tree

4 files changed

+18
-29
lines changed

4 files changed

+18
-29
lines changed

app/modules/dataset/templates/dataset/view_dataset.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@
115115
</div>
116116
</div>
117117

118-
{% if dataset.ds_meta_data.dataset_doi %}
118+
{% if dataset.ds_meta_data.dataset_doi %}
119119
<!-- DOI + Copy icon -->
120120
<div class="row mt-3">
121121
<div class="col-12 d-flex align-items-center flex-wrap">
122-
123122
<!-- Etiqueta DOI -->
124123
<span class="px-3 py-1 bg-dark text-white fw-bold rounded-start" style="font-family: monospace;">
125124
DOI
@@ -143,13 +142,10 @@
143142
</i>
144143

145144
<a href="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
146-
class="ms-2"
147-
style="cursor: pointer;"
145+
class="ms-2 d-inline-flex align-items-center text-dark text-decoration-none"
148146
data-bs-toggle="tooltip"
149147
title="Download QR">
150-
<img src="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
151-
alt="QR"
152-
style="width: 18px; height: 18px; border-radius: 2px;">
148+
<i class="fa-solid fa-qrcode" style="font-size: 18px; line-height: 1;"></i>
153149
</a>
154150

155151
<!-- Texto oculto para copiar -->
@@ -160,6 +156,7 @@
160156
</div>
161157
{% endif %}
162158

159+
163160
</div>
164161
</div>
165162

app/modules/explore/templates/explore/index.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,14 @@ <h2 class="mb-0">
235235
title="Copy DOI">
236236
</i>
237237

238-
<a href="/datasets/[[id]]/qr"
239-
class="ms-2"
240-
style="cursor: pointer;"
241-
data-bs-toggle="tooltip"
242-
title="Download QR">
243-
<img src="/datasets/[[id]]/qr"
244-
alt="QR"
245-
style="width: 18px; height: 18px; border-radius: 2px;">
246-
</a>
238+
<a href="/datasets/[[id]]/qr"
239+
class="ms-2 d-inline-flex align-items-center text-dark text-decoration-none"
240+
data-bs-toggle="tooltip"
241+
title="Download QR">
242+
243+
<i class="fa-solid fa-qrcode" style="font-size: 18px; line-height: 1;"></i>
244+
245+
</a>
247246

248247
<div id="dataset_doi_[[id]]" style="display: none;">[[url]]</div>
249248
</div>

app/modules/hubfile/templates/hubfile/view_file.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,10 @@
8686
</i>
8787

8888
<a href="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
89-
class="ms-2"
90-
style="cursor: pointer;"
89+
class="ms-2 d-inline-flex align-items-center text-dark text-decoration-none"
9190
data-bs-toggle="tooltip"
9291
title="Download QR">
93-
<img src="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
94-
alt="QR"
95-
style="width: 18px; height: 18px; border-radius: 2px;">
92+
<i class="fa-solid fa-qrcode" style="font-size: 18px; line-height: 1;"></i>
9693
</a>
9794

9895
<!-- Texto oculto para copiar -->

app/modules/public/templates/public/index.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,11 @@ <h2 class="mb-0">
173173
data-bs-toggle="tooltip"
174174
title="Copy DOI">
175175
</i>
176-
177176
<a href="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
178-
class="ms-2"
179-
style="cursor: pointer;"
180-
data-bs-toggle="tooltip"
181-
title="Download QR">
182-
<img src="{{ url_for('dataset.dataset_qr_by_id', dataset_id=dataset.id) }}"
183-
alt="QR"
184-
style="width: 18px; height: 18px; border-radius: 2px;">
177+
class="ms-2 d-inline-flex align-items-center text-dark text-decoration-none"
178+
data-bs-toggle="tooltip"
179+
title="Download QR">
180+
<i class="fa-solid fa-qrcode" style="font-size: 18px; line-height: 1;"></i>
185181
</a>
186182
</div>
187183

0 commit comments

Comments
 (0)