Añade el plugin Redmine Git Server 0.4

This commit is contained in:
Manuel Cillero 2021-05-14 16:45:54 +02:00
parent 525527a55b
commit 4b46a7472e
30 changed files with 485 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -0,0 +1,15 @@
$(() => {
$('body.controller-repositories.action-show code.clone-input-group input').click(function() {
$(this).select()
})
$('body.controller-repositories.action-show code.clone-input-group button').click(function() {
const $this = $(this)
$this.siblings('input').click()
document.execCommand("copy")
const $flash = $this.parent().siblings('.flash.notice')
$flash.show()
setTimeout(function() {
$flash.hide("fast")
}, 1000)
})
})

View file

@ -0,0 +1,47 @@
.clone-wrapper {
display: inline-block;
margin-left: O!important;
}
.clone-button {
background-color: #fff;
background-image: url(../../../images/arrow_down.png);
background-repeat: no-repeat;
background-position: calc(100% - 7px) 50%;
padding-right: 20px;
font-size: 0.9em;
}
.clone-dropdown {
top: 28px!important;
padding: 1em;
width: 350px;
}
.clone-input-group {
display: flex;
flex-direction: row;
}
.clone-input-group > * {
height: 26px!important;
}
.clone-input-group input {
flex: 1;
font-size: 1.2em;
font-family: inherit;
}
.clone-input-group button {
flex: none;
margin-left: 0.5em;
}
.clone-input-group button img {
vertical-align: middle;
}
.clone-form .flash.notice {
display: none;
position: absolute;
padding-right: 1em;
right: .5em;
margin-top: 1.5em;
}
.empty-clone-form {
max-width: 600px;
position: relative;
}