diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-28 01:38:25 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-28 01:38:25 -0400 |
commit | 49193bebd283322bb997b7aed09fc7818a881af9 (patch) | |
tree | 36d99aba259628c518d903da8c74d70b34413eeb /templates/org/team/new.tmpl | |
parent | ad2ab6d21496e60e7589c44bdfcc15bba01ae9dd (diff) | |
download | gitea-49193bebd283322bb997b7aed09fc7818a881af9.tar.gz gitea-49193bebd283322bb997b7aed09fc7818a881af9.zip |
UI: Confirmation box
Diffstat (limited to 'templates/org/team/new.tmpl')
-rw-r--r-- | templates/org/team/new.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index f9632fcfd4..89afd84f9d 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -53,7 +53,14 @@ <button class="btn btn-large btn-green btn-radius">{{.i18n.Tr "org.teams.update_settings"}}</button> {{if not (eq .Team.LowerName "owners")}} - <button class="btn btn-large btn-red btn-radius" id="org-team-delete">{{.i18n.Tr "org.teams.delete_team"}}</button> + <button class="btn btn-large btn-red btn-radius" id="org-team-delete" href="#delete-team-modal">{{.i18n.Tr "org.teams.delete_team"}}</button> + <div class="white-popup-block mfp-hide" id="delete-team-modal"> + <h1 class="text-red">{{.i18n.Tr "org.teams.delete_team_title"}}</h1> + <p>{{.i18n.Tr "org.teams.delete_team_desc"}}</p> + <br> + <button class="btn btn-red btn-large btn-radius" id="delete-team-submit">{{.i18n.Tr "settings.continue"}}</button> + <button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button> + </div> {{end}} {{end}} </div> |