mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-24 17:25:19 +08:00
single repository setting page ui
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user