Files
cv-site/templates/partials/widgets/print-friendly-button.html
T

20 lines
772 B
HTML
Raw Normal View History

{{define "print-friendly-button"}}
<!-- Print-Friendly Button (Fixed Left) -->
<button
id="print-friendly-button"
class="fixed-btn print-friendly-btn no-print"
aria-label="{{if eq .Lang "es"}}Imprimir CV{{else}}Print CV{{end}}"
title="{{if eq .Lang "es"}}Imprimir CV{{else}}Print CV{{end}}"
onclick="window.print()"
_="on mouseenter
add .print-hover-sync to me
add .print-hover-sync to .action-bar-print-btn
add .print-hover-sync to .menu-print-btn
on mouseleave
remove .print-hover-sync from me
remove .print-hover-sync from .action-bar-print-btn
remove .print-hover-sync from .menu-print-btn">
<iconify-icon icon="mdi:leaf" width="28" height="28"></iconify-icon>
</button>
{{end}}