mirror of
https://github.com/ivabus/www
synced 2024-11-10 17:45:15 +03:00
Switched to <code> field
This commit is contained in:
parent
f0d529f78b
commit
069a7e9c57
|
@ -21,17 +21,14 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
{{ range where $.Site.Data.packages "name" .Title }}
|
||||
<hr>
|
||||
|
||||
<!-- The text field -->
|
||||
<input class="one-liner" type="text" value="$ sh <(curl tea.xyz) install {{- .Title -}}" id="myInput">
|
||||
<code class="one-liner" data-lang="sh">$ sh <(curl tea.xyz) install</code>
|
||||
|
||||
<!-- The button used to copy the text -->
|
||||
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
||||
|
||||
{{end}}
|
||||
|
||||
<style>
|
||||
|
||||
.one-liner{
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<hr>
|
||||
|
||||
<!-- The text field -->
|
||||
<input class="one-liner" type="text" value="$ sh <(curl tea.xyz) ci" id="myInput">
|
||||
<code class="one-liner" data-lang="sh">$ sh <(curl tea.xyz) install</code>
|
||||
|
||||
<!-- 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