diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-10 21:12:49 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-10 21:12:49 +0800 |
commit | efa039a0f75ff9ba9376af1cbd3d948752c074fc (patch) | |
tree | c98399f49124b90f513d2a8e029118802849ef29 /templates/base | |
parent | 3ca7a33907e674c2c90e9f795b57bf87868f16b7 (diff) | |
download | gitea-efa039a0f75ff9ba9376af1cbd3d948752c074fc.tar.gz gitea-efa039a0f75ff9ba9376af1cbd3d948752c074fc.zip |
finish ssh key pages ui
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/footer.tmpl | 5 | ||||
-rw-r--r-- | templates/base/navbar.tmpl | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 4ae4a95fa0..a2131a9532 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -1,7 +1,8 @@ <script> $(function(){ - initCore(); - {{if .PageIsSignUp}}initRegister();{{end}} + initCore();{{if .PageIsSignUp}} + initRegister();{{end}}{{if .PageIsUserSetting}} + initUserSetting();{{end}} }); </script> </body> diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl index e78f6bb221..38fc0a3992 100644 --- a/templates/base/navbar.tmpl +++ b/templates/base/navbar.tmpl @@ -2,7 +2,7 @@ <div class="container"> <nav class="gogs-nav"> <a id="gogs-nav-logo" class="gogs-nav-item{{if .PageIsHome}} active{{end}}" href="/"><img src="/img/favicon.png" alt="Gogs Logo" id="gogs-logo"></a> - <a class="gogs-nav-item{{if .PageIsUserDashboard}} active{{end}}" href="#">Dashboard</a> + <a class="gogs-nav-item{{if .PageIsUserDashboard}} active{{end}}" href="/">Dashboard</a> <a class="gogs-nav-item" href="#">Explore</a> <a class="gogs-nav-item" href="#">Help</a>{{if .IsSigned}} <a id="gogs-nav-out" class="gogs-nav-item navbar-right navbar-btn btn btn-danger" href="/user/logout/"><i class="fa fa-power-off fa-lg"></i></a> |