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,6 +39,10 @@ | ||
39 | // instead of editing bootstrap.css, we just removed '.hide' css class and | 39 | // instead of editing bootstrap.css, we just removed '.hide' css class and |
40 | // toggled | 40 | // toggled |
41 | $('.hide').removeClass('hide').css('display', 'none'); | 41 | $('.hide').removeClass('hide').css('display', 'none'); |
42 | + | ||
43 | + // Hit the SSH clone button to select it by default | ||
1 |
|
||
44 | + jQuery$(".git-clone-holder .btn:contains('SSH')").click() | ||
1 |
|
||
45 | + | ||
42 | }); | 46 | }); |
1 |
|
||
43 | </script> | 47 | </script> |
44 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | 48 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> |