#334: Add Deployment Key Support
This commit is contained in:
parent
9f12ab0e88
commit
39a3b768bc
26 changed files with 693 additions and 149 deletions
2
public/css/gogs.min.css
vendored
2
public/css/gogs.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -86,6 +86,13 @@ function initRepository() {
|
|||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
// Settings
|
||||
if ($('.repository.settings').length > 0) {
|
||||
$('#add-deploy-key').click(function () {
|
||||
$('#add-deploy-key-panel').show();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
|
|
@ -5,4 +5,10 @@
|
|||
padding-bottom: .6em;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
.ui.attached.header {
|
||||
background: #f0f0f0;
|
||||
.right {
|
||||
margin-top: -5px;
|
||||
}
|
||||
}
|
|
@ -1,9 +1,6 @@
|
|||
.install {
|
||||
padding-top: 45px;
|
||||
padding-bottom: @footer-margin * 3;
|
||||
.attached.header {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
form {
|
||||
label {
|
||||
text-align: right;
|
||||
|
|
|
@ -217,6 +217,36 @@
|
|||
height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
&.settings {
|
||||
.content {
|
||||
padding-left: 20px!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.settings .key.list {
|
||||
.item:not(:first-child) {
|
||||
border-top: 1px solid #eaeaea;
|
||||
}
|
||||
.ssh-key-state-indicator {
|
||||
float: left;
|
||||
color: gray;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
&.active {
|
||||
color: #6cc644;
|
||||
}
|
||||
}
|
||||
.meta {
|
||||
padding-top: 5px;
|
||||
}
|
||||
.print {
|
||||
color: #767676;
|
||||
}
|
||||
.activity {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-label.modal {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue