parent
b35d7eee31
commit
e633425f27
10 changed files with 231 additions and 116 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
|
@ -118,7 +118,6 @@ function initCommentForm() {
|
|||
$(this).removeClass('selected active')
|
||||
});
|
||||
|
||||
|
||||
if (has_update_action) {
|
||||
updateIssueMeta($menu.data('update-url'), '', '');
|
||||
}
|
||||
|
@ -173,6 +172,15 @@ function initRepository() {
|
|||
return;
|
||||
}
|
||||
|
||||
// New migrate
|
||||
if ($('.repository.new.migrate').length > 0) {
|
||||
// Clear browser autocomplete.
|
||||
if ($('#auth_username').data('need-clear')) {
|
||||
$('#auth_username').val('');
|
||||
$('#auth_password').val('');
|
||||
}
|
||||
}
|
||||
|
||||
// Labels
|
||||
if ($('.repository.labels').length > 0) {
|
||||
// Create label
|
||||
|
|
|
@ -74,6 +74,9 @@ img {
|
|||
&.red {
|
||||
color: #d95c5c!important;
|
||||
}
|
||||
&.blue {
|
||||
color: #428bca!important;
|
||||
}
|
||||
&.grey {
|
||||
color: #767676!important;
|
||||
a {
|
||||
|
|
|
@ -12,39 +12,45 @@
|
|||
margin-top: -5px;
|
||||
}
|
||||
}
|
||||
.repository.new.fork {
|
||||
form {
|
||||
margin: auto;
|
||||
width: 800px!important;
|
||||
.ui.message {
|
||||
text-align: center;
|
||||
}
|
||||
@input-padding: 250px !important;
|
||||
.header {
|
||||
padding-left: @input-padding+30px;
|
||||
}
|
||||
.inline.field > label {
|
||||
text-align: right;
|
||||
width: @input-padding;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.help {
|
||||
margin-left: @input-padding+10px;
|
||||
}
|
||||
.dropdown {
|
||||
.dropdown.icon {
|
||||
margin-top: -7px!important;
|
||||
.repository {
|
||||
&.new.migrate,
|
||||
&.new.fork {
|
||||
form {
|
||||
margin: auto;
|
||||
width: 800px!important;
|
||||
.ui.message {
|
||||
text-align: center;
|
||||
}
|
||||
.text {
|
||||
margin-right: 0!important;
|
||||
i {
|
||||
@input-padding: 250px !important;
|
||||
.header {
|
||||
padding-left: @input-padding+30px;
|
||||
}
|
||||
.inline.field > label {
|
||||
text-align: right;
|
||||
width: @input-padding;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.help {
|
||||
margin-left: @input-padding+15px;
|
||||
}
|
||||
.dropdown {
|
||||
.dropdown.icon {
|
||||
margin-top: -7px!important;
|
||||
}
|
||||
.text {
|
||||
margin-right: 0!important;
|
||||
i {
|
||||
margin-right: 0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
input,
|
||||
textarea {
|
||||
width: 50%!important;
|
||||
.optional .title {
|
||||
margin-left: @input-padding;
|
||||
}
|
||||
input,
|
||||
textarea {
|
||||
width: 50%!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue