UI: Confirmation box
This commit is contained in:
parent
cd084dacf1
commit
a046a31d2b
12 changed files with 60 additions and 39 deletions
|
@ -7,9 +7,6 @@ body {
|
|||
width: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.fa {
|
||||
font-size: 14px;
|
||||
}
|
||||
.container {
|
||||
max-width: 1170px;
|
||||
padding: 0 1.5em;
|
||||
|
@ -854,7 +851,7 @@ ol.linenums {
|
|||
font-size: 2em;
|
||||
}
|
||||
#dashboard-new-repo-menu {
|
||||
top: 35px;
|
||||
top: 33px;
|
||||
width: 180px;
|
||||
background-color: #FFF;
|
||||
left: -132px;
|
||||
|
@ -1889,7 +1886,6 @@ textarea#issue-add-content {
|
|||
}
|
||||
#org-header > div > .menu-line > li.right > a .label {
|
||||
margin-left: 4px;
|
||||
font-size: .6em;
|
||||
}
|
||||
#org-header > div > .menu-line > li.right .current {
|
||||
border-bottom: 2px solid #D26911;
|
||||
|
|
|
@ -437,11 +437,22 @@ function initRepoSetting() {
|
|||
|
||||
initHookTypeChange();
|
||||
|
||||
$('#transfer-button').click(function () {
|
||||
$('#transfer-form').show();
|
||||
// Transfer repository.
|
||||
$('#transfer-repo-btn').magnificPopup({
|
||||
modal: true
|
||||
});
|
||||
$('#delete-button').click(function () {
|
||||
$('#delete-form').show();
|
||||
$('#transfer-repo-submit').click(function () {
|
||||
$.magnificPopup.close();
|
||||
$('#transfer-repo-form').submit();
|
||||
});
|
||||
|
||||
// Delete repository.
|
||||
$('#delete-repo-btn').magnificPopup({
|
||||
modal: true
|
||||
});
|
||||
$('#delete-repo-submit').click(function () {
|
||||
$.magnificPopup.close();
|
||||
$('#delete-repo-form').submit();
|
||||
});
|
||||
|
||||
// Collaboration.
|
||||
|
|
8
public/ng/js/min/gogs-min.js
vendored
8
public/ng/js/min/gogs-min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -17,9 +17,6 @@ body {
|
|||
width: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.fa {
|
||||
font-size: 14px;
|
||||
}
|
||||
.container {
|
||||
max-width: 1170px;
|
||||
padding: 0 1.5em;
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
}
|
||||
// the drop-down menu of #dashboard-new-repo
|
||||
#dashboard-new-repo-menu {
|
||||
top: 35px;
|
||||
top: 33px;
|
||||
width: 180px;
|
||||
background-color: #FFF;
|
||||
left: -132px;
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
}
|
||||
.label{
|
||||
margin-left: 4px;
|
||||
font-size: .6em;
|
||||
}
|
||||
}
|
||||
.current {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue