single repository setting page ui
This commit is contained in:
parent
3005a0f13e
commit
a8d8e72562
10 changed files with 86 additions and 44 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue