diff --git a/template/src/oj/index.html b/template/src/oj/index.html index c8c1d8f1..ee937250 100644 --- a/template/src/oj/index.html +++ b/template/src/oj/index.html @@ -29,6 +29,36 @@ padding: 20px 20px 0 20px; } + #login { + float: right; + position: relative; + height: 30px; + line-height: 64px; + margin-right: 30px; + z-index: 10; + margin-top: 4px; + } + + .login-zone .button:first-child { + margin-right: 5px; + } + + .button { + display: inline-block; + padding: 0 2em; + text-transform: none; + line-height: 2em; + height: 2em; + border-radius: 2em; + border: 1px solid #FFF; + outline: 0; + cursor: pointer; + } + + .button:first-child { + margin-right: 5px; + } + #name { font-size: 45px; margin-right: 20px; @@ -100,6 +130,12 @@ 小组   关于 + {% if not request.user.is_authenticated %} +
+ 登录 + 注册 +
+ {% endif %}