mirror of
https://github.com/ivabus/www
synced 2024-11-14 09:05:05 +03:00
Switched to <code> field
This commit is contained in:
parent
f0d529f78b
commit
069a7e9c57
2 changed files with 2 additions and 5 deletions
|
@ -21,17 +21,14 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ range where $.Site.Data.packages "name" .Title }}
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<!-- The text field -->
|
<!-- 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 -->
|
<!-- The button used to copy the text -->
|
||||||
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
||||||
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.one-liner{
|
.one-liner{
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<!-- The text field -->
|
<!-- 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 -->
|
<!-- The button used to copy the text -->
|
||||||
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
<button class="clipboard-copy" onclick="myFunction()"><i class="icon-download-arrow"></i></button>
|
||||||
|
|
Loading…
Reference in a new issue