From 530b45b39c72a457c53b746756e7504cf243b73c Mon Sep 17 00:00:00 2001 From: hohoTT <609029365@qq.com> Date: Sun, 13 Sep 2015 19:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A2=9E=E5=8A=A0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=80=89=E9=A1=B9=EF=BC=8C=E4=B9=8B=E5=90=8E=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E9=A1=B5=E9=9D=A2=E4=B9=8B=E9=97=B4=E7=9A=84=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/src/oj/index.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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 %}