code.gitea.io/gitea@v1.22.3/templates/repo/clone_buttons.tmpl (about) 1 <!-- there is always at least one button (by context/repo.go) --> 2 {{if $.CloneButtonShowHTTPS}} 3 <button class="ui small button" id="repo-clone-https" data-link="{{$.CloneButtonOriginLink.HTTPS}}"> 4 HTTPS 5 </button> 6 {{end}} 7 {{if $.CloneButtonShowSSH}} 8 <button class="ui small button" id="repo-clone-ssh" data-link="{{$.CloneButtonOriginLink.SSH}}"> 9 SSH 10 </button> 11 {{end}} 12 <input id="repo-clone-url" size="10" class="js-clone-url" value="{{$.CloneButtonOriginLink.HTTPS}}" readonly> 13 <button class="ui small icon button" id="clipboard-btn" data-tooltip-content="{{ctx.Locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url" aria-label="{{ctx.Locale.Tr "copy_url"}}"> 14 {{svg "octicon-copy" 14}} 15 </button>