upgrade new issue to SUI v2
This commit is contained in:
parent
a79586cc54
commit
48f12d4ead
9 changed files with 25 additions and 18 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
|
@ -104,11 +104,13 @@ function initRepository() {
|
|||
|
||||
// Pull request
|
||||
if ($('.repository.compare.pull').length > 0) {
|
||||
$('.choose.branch .dropdown').dropdown({
|
||||
var $branch_dropdown = $('.choose.branch .dropdown')
|
||||
$branch_dropdown.dropdown({
|
||||
fullTextSearch: true,
|
||||
onChange: function (text, value, $choice) {
|
||||
window.location.href = $choice.data('url');
|
||||
}
|
||||
},
|
||||
message: {noResults: $branch_dropdown.data('no-results')}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
@ -63,6 +63,9 @@ img {
|
|||
&.red {
|
||||
color: #d95c5c!important;
|
||||
}
|
||||
&.right {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.message {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
@input-padding: 250px !important;
|
||||
.header {
|
||||
padding-left: @input-padding+20px;
|
||||
padding-left: @input-padding+30px;
|
||||
}
|
||||
.inline.field > label {
|
||||
text-align: right;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue