From 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 26 Jul 2014 00:24:27 -0400 Subject: New UI merge in progress --- templates/user/settings/delete.tmpl | 28 ++++++++++++++++ templates/user/settings/nav.tmpl | 12 +++++++ templates/user/settings/password.tmpl | 37 +++++++++++++++++++++ templates/user/settings/profile.tmpl | 50 ++++++++++++++++++++++++++++ templates/user/settings/social.tmpl | 18 +++++++++++ templates/user/settings/sshkeys.tmpl | 61 +++++++++++++++++++++++++++++++++++ 6 files changed, 206 insertions(+) create mode 100644 templates/user/settings/delete.tmpl create mode 100644 templates/user/settings/nav.tmpl create mode 100644 templates/user/settings/password.tmpl create mode 100644 templates/user/settings/profile.tmpl create mode 100644 templates/user/settings/social.tmpl create mode 100644 templates/user/settings/sshkeys.tmpl (limited to 'templates/user/settings') diff --git a/templates/user/settings/delete.tmpl b/templates/user/settings/delete.tmpl new file mode 100644 index 0000000000..9bfc287d8e --- /dev/null +++ b/templates/user/settings/delete.tmpl @@ -0,0 +1,28 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{template "user/settings/nav" .}} +
+
+ {{template "ng/base/alert" .}} +
+
+

{{.i18n.Tr "settings.delete_account"}}

+
+ {{.i18n.Tr "settings.delete_prompt" | Str2html}} +
+ {{.CsrfTokenHtml}} +

+ + +

+
+
+
+
+
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/user/settings/nav.tmpl b/templates/user/settings/nav.tmpl new file mode 100644 index 0000000000..d6d20dee96 --- /dev/null +++ b/templates/user/settings/nav.tmpl @@ -0,0 +1,12 @@ +
+

{{.i18n.Tr "settings"}}

+ +
\ No newline at end of file diff --git a/templates/user/settings/password.tmpl b/templates/user/settings/password.tmpl new file mode 100644 index 0000000000..44e087af4e --- /dev/null +++ b/templates/user/settings/password.tmpl @@ -0,0 +1,37 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{template "user/settings/nav" .}} +
+
+ {{template "ng/base/alert" .}} +
+
+

{{.i18n.Tr "settings.change_password"}}

+
+ {{.CsrfTokenHtml}} +

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+
+
+
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl new file mode 100644 index 0000000000..2d09975f4d --- /dev/null +++ b/templates/user/settings/profile.tmpl @@ -0,0 +1,50 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{template "user/settings/nav" .}} +
+
+ {{template "ng/base/alert" .}} +
+
+

{{.i18n.Tr "settings.public_profile"}}

+
+ {{.CsrfTokenHtml}} +

{{.i18n.Tr "settings.profile_desc"}}

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+
+
+
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/user/settings/social.tmpl b/templates/user/settings/social.tmpl new file mode 100644 index 0000000000..7ff2ea237f --- /dev/null +++ b/templates/user/settings/social.tmpl @@ -0,0 +1,18 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{template "user/settings/nav" .}} +
+
+ {{template "ng/base/alert" .}} +
+
+

{{.i18n.Tr "settings.manage_social"}}

+
+
+
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/user/settings/sshkeys.tmpl b/templates/user/settings/sshkeys.tmpl new file mode 100644 index 0000000000..43dfb66e26 --- /dev/null +++ b/templates/user/settings/sshkeys.tmpl @@ -0,0 +1,61 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{template "user/settings/nav" .}} +
+
+ {{template "ng/base/alert" .}} +
+
+

+ + {{.i18n.Tr "settings.manage_ssh_keys"}} +

+ +
+

{{.i18n.Tr "settings.ssh_helper" | Str2html}}

+
+
+ {{.CsrfTokenHtml}} +

{{.i18n.Tr "settings.add_new_key"}}

+
+

+ + +

+

+ + +

+

+ + +

+
+
+
+
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file -- cgit v1.2.3