diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-11 11:41:38 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-11 11:41:38 +0800 |
commit | 7f92579905c1bd596d547c8a423e043465f055d7 (patch) | |
tree | 844b97d56619fdf3cd75d14300e0ccb83d75f1b7 /public | |
parent | 6ce9d800d014f5d440271e628c538ce823bbe263 (diff) | |
download | gitea-7f92579905c1bd596d547c8a423e043465f055d7.tar.gz gitea-7f92579905c1bd596d547c8a423e043465f055d7.zip |
finish user delete page ui
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 10 | ||||
-rw-r--r-- | public/js/app.js | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 4a4144babd..05e3081051 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -32,7 +32,7 @@ body { background-color: transparent; } -.btn{ +.btn { cursor: pointer; } @@ -234,7 +234,7 @@ body { /* gogits user setting */ -#gogs-user-setting-nav > h4, #gogs-user-setting-container > h4 ,#gogs-ssh-keys > h4{ +#gogs-user-setting-nav > h4, #gogs-user-setting-container > h4, #gogs-ssh-keys > h4, #gogs-user-delete > h4 { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #CCC; @@ -263,11 +263,11 @@ body { border-bottom: 1px solid #DDD; } -#gogs-ssh-keys .list-group-item:after{ +#gogs-ssh-keys .list-group-item:after { clear: both; } -#gogs-ssh-keys .list-group-item:hover a.delete{ +#gogs-ssh-keys .list-group-item:hover a.delete { display: block; } @@ -298,6 +298,6 @@ body { border-radius: 3px; } -#gogs-ssh-form textarea{ +#gogs-ssh-form textarea { height: 16em; }
\ No newline at end of file diff --git a/public/js/app.js b/public/js/app.js index f6e1471204..a789122b1b 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -104,7 +104,7 @@ function initUserSetting(){ var $this = $(this); Gogits.ajaxDelete("",{"id":$this.data("del")},function(json){ if(json.ok){ - $this.parent().remove(); + window.location.reload(); }else{ alert(json.err); } |