diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 14:08:49 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 14:08:49 +0800 |
commit | a8d8e7256249cb280b39d114dd6d6eadd4fec187 (patch) | |
tree | 453006dbb24bbe88da2c76c4e00017daf6aa2f28 /public | |
parent | 3005a0f13e8861c79e3ea84ce480124fbc3c181d (diff) | |
download | gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.tar.gz gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.zip |
single repository setting page ui
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 2 | ||||
-rw-r--r-- | public/js/app.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 3d8dc3fddb..a44d4a9380 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -269,7 +269,7 @@ body { /* gogits user setting */ -#gogs-user-setting-nav > h4, #gogs-user-setting-container > h4, #gogs-ssh-keys > h4, #gogs-user-delete > h4 { +#gogs-user-setting-nav > h4, #gogs-user-setting-container > h4, #gogs-ssh-keys > h4, #gogs-user-delete > h4 ,#gogs-repo-setting-container .tab-pane > h4{ padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #CCC; diff --git a/public/js/app.js b/public/js/app.js index a789122b1b..69d21020e8 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -41,9 +41,8 @@ var Gogits = { }); }; Gogits.initTabs = function () { - var $tabs = $('[data-toggle=tab]'); - $tabs.tab("show"); - $tabs.find("li:eq(" + index + ") a").tab("show"); + var $tabs = $('[data-init=tabs]'); + $tabs.find("li:eq(0) a").tab("show"); } })(jQuery); @@ -69,6 +68,7 @@ var Gogits = { function initCore() { Gogits.initTooltips(); + Gogits.initTabs(); Gogits.initModals(); } |