Merge Request #17
← To merge requests
From
gitlab-hide-https
into
master
Gitlab hide https
hitting SSH button on clone options, making ssh the default (and unique) option for clone
Commits (3)
Showing
2 changed files
Show diff stats
colab/proxy/gitlab/diazo.xml
colab/proxy/gitlab/templates/proxy/gitlab.html
... | ... | @@ -39,6 +39,10 @@ |
39 | 39 | // instead of editing bootstrap.css, we just removed '.hide' css class and |
40 | 40 | // toggled |
41 | 41 | $('.hide').removeClass('hide').css('display', 'none'); |
42 | + | |
43 | + // Hit the SSH clone button to select it by default | |
44 | + jQuery$(".git-clone-holder .btn:contains('SSH')").click() | |
45 | + | |
42 | 46 | }); |
43 | 47 | </script> |
44 | 48 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | ... | ... |