diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-11 11:43:25 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-11 11:43:25 +0800 |
commit | 295cfd42aa7a3248c044abdc530a96b722fb5e6b (patch) | |
tree | 2fbe303d1a3a3a0397434797d48a7009aa40509e | |
parent | 7f92579905c1bd596d547c8a423e043465f055d7 (diff) |
finish user delete page ui
-rw-r--r-- | templates/user/delete.tmpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/user/delete.tmpl b/templates/user/delete.tmpl index 7a9dcddf..e6522aa2 100644 --- a/templates/user/delete.tmpl +++ b/templates/user/delete.tmpl @@ -24,10 +24,11 @@ </form> </div> </div> -{{template "base/footer" .}} -{{template "base/head" .}} -{{template "base/navbar" .}} -<div class="container" id="gogs-body"> - -</div> +<script> + $(function(){ + $('#gogs-user-delete').on('submit',function(){ + return confirm("Are you sure ?"); + }) + }); +</script> {{template "base/footer" .}}
\ No newline at end of file |