mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
new delete account UI and password confirmation
This commit is contained in:
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
@@ -336,6 +336,11 @@ $(document).ready(function () {
|
||||
$('.delete.modal').modal({
|
||||
closable: false,
|
||||
onApprove: function () {
|
||||
if ($this.data('type') == "form") {
|
||||
$($this.data('form')).submit();
|
||||
return;
|
||||
}
|
||||
|
||||
$.post($this.data('url'), {
|
||||
"_csrf": csrf,
|
||||
"id": $this.data("id")
|
||||
|
@@ -102,6 +102,15 @@ img {
|
||||
padding-left: 0.75rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.warning {
|
||||
&.header {
|
||||
background-color: #F9EDBE!important;
|
||||
border-color: #F0C36D;
|
||||
}
|
||||
&.segment {
|
||||
border-color: #F0C36D;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar.image {
|
||||
border-radius: 3px;
|
||||
|
4
public/less/_user.less
Normal file
4
public/less/_user.less
Normal file
@@ -0,0 +1,4 @@
|
||||
.user {
|
||||
padding-top: 15px;
|
||||
padding-bottom: @footer-margin * 3;
|
||||
}
|
@@ -5,4 +5,5 @@
|
||||
@import "_install";
|
||||
@import "_form";
|
||||
@import "_repository";
|
||||
@import "_user";
|
||||
@import "_admin";
|
Reference in New Issue
Block a user