diff options
author | Unknwon <u@gogs.io> | 2015-04-24 05:21:10 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-04-24 05:21:10 -0400 |
commit | c08baee0855807d24a1b86adfcea86d0731e2a3a (patch) | |
tree | c033d0fd4a4c4104b0b6304ec9f2a26c6047ce10 /public | |
parent | 7a7c096fd09035f759168800402389457648f47e (diff) | |
parent | f92bdf875b4ccb2a8eadaa571d112ebf653986d6 (diff) |
Merge branch 'develop' of github.com:gogits/gogs into develop
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/js/gogs.js | 7 | ||||
-rw-r--r-- | public/ng/less/gogs/sign.less | 7 |
2 files changed, 13 insertions, 1 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index c5fd719c..7ffef8af 100644 --- a/public/ng/js/gogs.js +++ b/public/ng/js/gogs.js @@ -753,10 +753,17 @@ function initAdmin() { if (v == 2) { $('.ldap').toggleShow(); $('.smtp').toggleHide(); + $('.pam').toggleHide(); } if (v == 3) { $('.smtp').toggleShow(); $('.ldap').toggleHide(); + $('.pam').toggleHide(); + } + if (v == 4) { + $('.pam').toggleShow(); + $('.smtp').toggleHide(); + $('.ldap').toggleHide(); } }); diff --git a/public/ng/less/gogs/sign.less b/public/ng/less/gogs/sign.less index 55a9ffbb..3950be03 100644 --- a/public/ng/less/gogs/sign.less +++ b/public/ng/less/gogs/sign.less @@ -25,6 +25,11 @@ The register and sign-in page style .form-label { width: 160px; } + .chk-label { + width: auto; + text-align: left; + margin-left: 176px; + } .alert{ margin:0 30px 24px 30px; } @@ -60,4 +65,4 @@ The register and sign-in page style background-color: #FFF; margin-left: -15px; } -}
\ No newline at end of file +} |