mirror of
https://github.com/ivabus/www
synced 2024-11-10 18:55:15 +03:00
Added copy-clipboard to package detail pages
This commit is contained in:
parent
578d0c02af
commit
bd342f54b4
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
{{- partial "full-width-cta-split.html" -}}
|
||||
{{- partial "clipboard-copy.html" -}}
|
||||
|
||||
<style>
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<hr>
|
||||
|
||||
<!-- The text field -->
|
||||
<input class="one-liner" type="text" value="$ sh <(curl tea.xyz) ci" id="myInput">
|
||||
<input class="one-liner" type="text" value="$ sh <(curl tea.xyz) install {{- .Title -}}" id="myInput">
|
||||
{{ range where $.Site.Data.packages "name" .Title }}
|
||||
|
||||
<!-- The button used to copy the text -->
|
||||
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
||||
|
|
Loading…
Reference in a new issue