mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
@add: Displays remote URL for SSH and/or HTTP(s).
This commit is contained in:
@@ -25,6 +25,48 @@ $(function () {
|
||||
$('#md-content').html(converter.makeHtml($('#md-content').text()));
|
||||
}
|
||||
|
||||
var clonePopup = $('#clone-popup')
|
||||
var cloneButtonShow = $('#clone-button-show');
|
||||
var cloneButtonHide = $('#clone-button-hide');
|
||||
var cloneButtonSSH = $('#clone-button-ssh');
|
||||
var cloneButtonHTTP = $('#clone-button-http');
|
||||
var cloneInputSSH = $('#clone-input-ssh');
|
||||
var cloneInputHTTP = $('#clone-input-http');
|
||||
|
||||
cloneButtonShow.click(function()
|
||||
{
|
||||
clonePopup.fadeIn();
|
||||
});
|
||||
|
||||
cloneButtonHide.click(function()
|
||||
{
|
||||
clonePopup.fadeOut();
|
||||
});
|
||||
|
||||
cloneButtonSSH.click(function()
|
||||
{
|
||||
if(cloneButtonSSH.hasClass('active'))
|
||||
return;
|
||||
|
||||
cloneButtonSSH.addClass('active');
|
||||
cloneInputSSH.show();
|
||||
|
||||
cloneButtonHTTP.removeClass('active');
|
||||
cloneInputHTTP.hide();
|
||||
});
|
||||
|
||||
cloneButtonHTTP.click(function()
|
||||
{
|
||||
if(cloneButtonHTTP.hasClass('active'))
|
||||
return;
|
||||
|
||||
cloneButtonHTTP.addClass('active');
|
||||
cloneInputHTTP.show();
|
||||
|
||||
cloneButtonSSH.removeClass('active');
|
||||
cloneInputSSH.hide();
|
||||
});
|
||||
|
||||
function paginate() {
|
||||
var $pager = $('.pager');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user