mirror of
1
Fork 0

Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)

This commit is contained in:
Patrick G 2017-03-15 22:39:38 +00:00 committed by Kim "BKC" Carlbäcker
parent 03d79983ee
commit efbb895ebe
37 changed files with 2131 additions and 2243 deletions

View File

@ -420,6 +420,14 @@ footer .ui.language .menu {
background: inherit !important; background: inherit !important;
padding: 0 !important; padding: 0 !important;
} }
.ui.menu.new-menu {
justify-content: center !important;
padding-top: 15px !important;
margin-top: -15px !important;
margin-bottom: 15px !important;
background-color: #FAFAFA !important;
border-width: 1px !important;
}
.markdown:not(code) { .markdown:not(code) {
overflow: hidden; overflow: hidden;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;

View File

@ -411,3 +411,12 @@ footer {
background: inherit !important; background: inherit !important;
padding: 0 !important; padding: 0 !important;
} }
.ui.menu.new-menu {
justify-content: center !important;
padding-top: 15px !important;
margin-top: -15px !important;
margin-bottom: 15px !important;
background-color: #FAFAFA !important;
border-width: 1px !important;
}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin edit authentication"> <div class="admin edit authentication">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.auths.edit"}} {{.i18n.Tr "admin.auths.edit"}}
@ -195,8 +193,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin authentication"> <div class="admin authentication">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
@ -41,6 +39,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin new authentication"> <div class="admin new authentication">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.auths.new"}} {{.i18n.Tr "admin.auths.new"}}
@ -200,6 +198,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin config"> <div class="admin config">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.config.server_config"}} {{.i18n.Tr "admin.config.server_config"}}
@ -276,6 +274,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin dashboard"> <div class="admin dashboard">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.dashboard.statistic"}} {{.i18n.Tr "admin.dashboard.statistic"}}
@ -120,6 +118,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin monitor"> <div class="admin monitor">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.monitor.cron"}} {{.i18n.Tr "admin.monitor.cron"}}
@ -60,6 +58,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,6 +1,4 @@
<div class="four wide column"> <div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
<div class="ui vertical menu">
<div class="header item">{{.i18n.Tr "admin_panel"}}</div>
<a class="{{if .PageIsAdminDashboard}}active{{end}} item" href="{{AppSubUrl}}/admin"> <a class="{{if .PageIsAdminDashboard}}active{{end}} item" href="{{AppSubUrl}}/admin">
{{.i18n.Tr "admin.dashboard"}} {{.i18n.Tr "admin.dashboard"}}
</a> </a>
@ -26,4 +24,3 @@
{{.i18n.Tr "admin.monitor"}} {{.i18n.Tr "admin.monitor"}}
</a> </a>
</div> </div>
</div>

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin notice"> <div class="admin notice">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.notices.system_notice_list"}} ({{.i18n.Tr "admin.total" .Total}}) {{.i18n.Tr "admin.notices.system_notice_list"}} ({{.i18n.Tr "admin.total" .Total}})
@ -91,8 +89,6 @@
{{end}} {{end}}
</div> </div>
</div> </div>
</div>
</div>
<div class="ui modal" id="detail-modal"> <div class="ui modal" id="detail-modal">
<i class="close icon"></i> <i class="close icon"></i>

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin user"> <div class="admin user">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
@ -43,6 +41,4 @@
{{template "base/paginate" .}} {{template "base/paginate" .}}
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin user"> <div class="admin user">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.repos.repo_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.i18n.Tr "admin.repos.repo_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
@ -47,8 +45,6 @@
{{template "base/paginate" .}} {{template "base/paginate" .}}
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin edit user"> <div class="admin edit user">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.users.edit_account"}} {{.i18n.Tr "admin.users.edit_account"}}
@ -116,8 +114,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin user"> <div class="admin user">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
@ -54,6 +52,4 @@
{{template "base/paginate" .}} {{template "base/paginate" .}}
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="admin new user"> <div class="admin new user">
<div class="ui container">
<div class="ui grid">
{{template "admin/navbar" .}} {{template "admin/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.users.new_account"}} {{.i18n.Tr "admin.users.new_account"}}
@ -61,6 +59,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -48,7 +48,7 @@
{{end}} {{end}}
{{if not (or .IsBareRepo .IsDiffCompare)}} {{if not (or .IsBareRepo .IsDiffCompare)}}
<div class="ui tabs container"> <div class="ui tabs container">
<div class="ui tabular menu navbar"> <div class="ui tabular stackable menu navbar">
{{if .Repository.EnableUnit $.UnitTypeCode}} {{if .Repository.EnableUnit $.UnitTypeCode}}
<a class="{{if .PageIsViewCode}}active{{end}} item" href="{{.RepoLink}}"> <a class="{{if .PageIsViewCode}}active{{end}} item" href="{{.RepoLink}}">
<i class="octicon octicon-code"></i> {{.i18n.Tr "repo.code"}} <i class="octicon octicon-code"></i> {{.i18n.Tr "repo.code"}}

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings edit"> <div class="repository settings edit">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.default_branch"}} {{.i18n.Tr "repo.default_branch"}}
@ -84,6 +82,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings collaboration"> <div class="repository settings collaboration">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.collaboration"}} {{.i18n.Tr "repo.settings.collaboration"}}
@ -54,8 +52,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings"> <div class="repository settings">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.deploy_keys"}} {{.i18n.Tr "repo.settings.deploy_keys"}}
@ -71,8 +69,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings edit githook"> <div class="repository settings edit githook">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.githooks"}} {{.i18n.Tr "repo.settings.githooks"}}
@ -31,6 +29,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings githooks"> <div class="repository settings githooks">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.githooks"}} {{.i18n.Tr "repo.settings.githooks"}}
@ -25,6 +23,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,4 +1,3 @@
<div class="twelve wide column content">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.hooks"}} {{.i18n.Tr "repo.settings.hooks"}}
@ -39,6 +38,5 @@
{{end}} {{end}}
</div> </div>
</div> </div>
</div>
{{template "repo/settings/hook_delete_modal" .}} {{template "repo/settings/hook_delete_modal" .}}

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings new webhook"> <div class="repository settings new webhook">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}} {{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
@ -24,6 +22,4 @@
{{template "repo/settings/hook_history" .}} {{template "repo/settings/hook_history" .}}
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,11 +1,9 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings webhooks"> <div class="repository settings webhooks">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="ui container">
{{template "repo/settings/hook_list" .}} {{template "repo/settings/hook_list" .}}
</div> </div>
</div> </div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,6 +1,4 @@
<div class="four wide column"> <div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
<div class="ui vertical menu">
<div class="header item">{{.i18n.Tr "repo.settings"}}</div>
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.RepoLink}}/settings"> <a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.RepoLink}}/settings">
{{.i18n.Tr "repo.settings.options"}} {{.i18n.Tr "repo.settings.options"}}
</a> </a>
@ -24,4 +22,3 @@
{{.i18n.Tr "repo.settings.deploy_keys"}} {{.i18n.Tr "repo.settings.deploy_keys"}}
</a> </a>
</div> </div>
</div>

View File

@ -1,10 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository settings options"> <div class="repository settings options">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
<div class="ui grid">
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.basic_settings"}} {{.i18n.Tr "repo.settings.basic_settings"}}
@ -251,8 +249,6 @@
{{end}} {{end}}
</div> </div>
</div> </div>
</div>
</div>
{{if .IsRepositoryOwner}} {{if .IsRepositoryOwner}}
{{if .Repository.IsMirror}} {{if .Repository.IsMirror}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings account_link"> <div class="user settings account_link">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.manage_account_links"}} {{.i18n.Tr "settings.manage_account_links"}}
@ -32,8 +30,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings"> <div class="user settings">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.manage_access_token"}} {{.i18n.Tr "settings.manage_access_token"}}
@ -60,8 +58,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings avatar"> <div class="user settings avatar">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.avatar"}} {{.i18n.Tr "settings.avatar"}}
@ -45,6 +43,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings delete"> <div class="user settings delete">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached warning header"> <h4 class="ui top attached warning header">
{{.i18n.Tr "settings.delete_account"}} {{.i18n.Tr "settings.delete_account"}}
@ -29,8 +27,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings emails"> <div class="user settings emails">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.manage_emails"}} {{.i18n.Tr "settings.manage_emails"}}
@ -54,8 +52,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,6 +1,4 @@
<div class="four wide column"> <div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
<div class="ui vertical menu">
<div class="header item">{{.i18n.Tr "settings"}}</div>
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings"> <a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
{{.i18n.Tr "settings.profile"}} {{.i18n.Tr "settings.profile"}}
</a> </a>
@ -29,4 +27,3 @@
{{.i18n.Tr "settings.delete"}} {{.i18n.Tr "settings.delete"}}
</a> </a>
</div> </div>
</div>

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings password"> <div class="user settings password">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.change_password"}} {{.i18n.Tr "settings.change_password"}}
@ -40,6 +38,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings profile"> <div class="user settings profile">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.public_profile"}} {{.i18n.Tr "settings.public_profile"}}
@ -50,6 +48,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings sshkeys"> <div class="user settings sshkeys">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.manage_ssh_keys"}} {{.i18n.Tr "settings.manage_ssh_keys"}}
@ -67,8 +65,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings delete"> <div class="user settings delete">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.twofa"}} {{.i18n.Tr "settings.twofa"}}
@ -31,8 +29,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<div class="ui small basic delete modal"> <div class="ui small basic delete modal">
<div class="ui icon header"> <div class="ui icon header">

View File

@ -1,9 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="user settings delete"> <div class="user settings delete">
<div class="ui container">
<div class="ui grid">
{{template "user/settings/navbar" .}} {{template "user/settings/navbar" .}}
<div class="twelve wide column content"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "settings.twofa_enroll"}} {{.i18n.Tr "settings.twofa_enroll"}}
@ -27,7 +25,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{{template "base/footer" .}} {{template "base/footer" .}}