new delete account UI and password confirmation

This commit is contained in:
Unknwon 2015-08-19 02:49:44 +08:00
parent 81b8427438
commit 2493454587
14 changed files with 137 additions and 52 deletions

File diff suppressed because one or more lines are too long

View file

@ -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")

View file

@ -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
View file

@ -0,0 +1,4 @@
.user {
padding-top: 15px;
padding-bottom: @footer-margin * 3;
}

View file

@ -5,4 +5,5 @@
@import "_install";
@import "_form";
@import "_repository";
@import "_user";
@import "_admin";