mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +00:00
modification for ie
This commit is contained in:
parent
7abacb8b6a
commit
01f65e4f22
@ -12,7 +12,7 @@
|
||||
<form enctype="multipart/form-data" method="POST" action="{% url avatar_add %}">
|
||||
{{ upload_avatar_form.avatar }}<br />
|
||||
{{ upload_avatar_form.avatar.errors }}
|
||||
<input type="submit" value="{% trans "Upload New Image" %}" />
|
||||
<input type="submit" value="{% trans "Upload New Image" %}" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<p class="error">{{ error_msg }}</p>
|
||||
{% endif %}
|
||||
<p class="error hide" id="error">请输入邮箱地址。</p>
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -18,7 +18,7 @@
|
||||
{% if error_msg %}
|
||||
<p class="error">{{ error_msg }}</p>
|
||||
{% endif %}
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
<input type="submit" value="提交" class="submit" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -10,6 +10,7 @@ ol { padding-left:2em; }
|
||||
/* input button */
|
||||
textarea { border: 1px solid #80B0B0; }
|
||||
input {
|
||||
display:inline-block;/*for ie*/
|
||||
height:20px;
|
||||
line-height:20px;
|
||||
margin:3px 0;
|
||||
@ -19,6 +20,7 @@ input[type=checkbox] {
|
||||
height:auto;
|
||||
}
|
||||
input[type=submit],
|
||||
input.submit,
|
||||
button {
|
||||
font-size:13px;/*for ff*/
|
||||
color: #080;
|
||||
@ -32,6 +34,7 @@ button {
|
||||
margin-top:8px;
|
||||
}
|
||||
button {
|
||||
display:inline-block;/*for ie*/
|
||||
margin:0;
|
||||
}
|
||||
input[type=submit]:hover,
|
||||
@ -105,8 +108,8 @@ table img {
|
||||
|
||||
/* container */
|
||||
#wrapper { font: 13px/1.5 Arial, Helvetica, sans-serif; }
|
||||
#header, #main, #footer { width:950px; }
|
||||
#header, #main { margin:0 auto; }
|
||||
#header, #main, #footer, .top-bar-in { width:950px; }
|
||||
#header, #main, .top-bar-in { margin:0 auto; }
|
||||
#header {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
@ -114,6 +117,7 @@ table img {
|
||||
}
|
||||
#main {
|
||||
min-height: 400px;
|
||||
_height: 400px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
#left-panel { float:right; width:220px; }
|
||||
@ -136,7 +140,6 @@ table img {
|
||||
/* top-bar */
|
||||
#top-bar { height:20px; padding-bottom:21px; background:#fff url('../img/dropshadow.png') repeat-x center bottom; }
|
||||
.top-bar { height:20px; color:#fff; text-align:right; font-weight:bold; background:#606; }
|
||||
.top-bar-in { width:950px; margin:0 auto; }
|
||||
.top-bar a { color:#ddd; font-weight:normal; }
|
||||
.top-bar a.avatar-link {
|
||||
display:inline-block;
|
||||
@ -159,13 +162,13 @@ table img {
|
||||
background:none;
|
||||
}
|
||||
/* header */
|
||||
#header .top-info { margin-bottom:5px;}
|
||||
#header .top-info { margin-bottom:13px;}
|
||||
#other-info { color: #ccc; text-align:right; }
|
||||
#other-info .wish { font-style:italic; margin-bottom:10px; }
|
||||
#other-info .version { font-size: 12px; }
|
||||
#header .nav li { float: left; height: 18px; padding: 0px 25px 4px 0; }
|
||||
#header .nav a, #header .nav a:visited { color:#8A948F; font-weight:bold; text-decoration:none; }
|
||||
#header .nav a.cur { color: #000; }
|
||||
#header .nav a.cur { color:#000; }
|
||||
#header .nav a:hover { color: #ff9933; text-decoration: underline; }
|
||||
/* footer */
|
||||
#footer a { color:#333; text-decoration:none; }
|
||||
@ -212,12 +215,25 @@ p.path, p.access-notice { margin: 12px 0 6px 0; }
|
||||
.narrow-panel h3 {
|
||||
margin-top:0;
|
||||
}
|
||||
.narrow-panel input[type="text"],
|
||||
.narrow-panel input[type="password"] {
|
||||
width:96%;
|
||||
.narrow-panel input {
|
||||
width:24em;
|
||||
height:1.8em;
|
||||
margin:0 0 0.6em;
|
||||
}
|
||||
.narrow-panel input.submit {
|
||||
width:3em;
|
||||
color: #080;
|
||||
height:23px;
|
||||
line-height:21px;
|
||||
padding:0 3px;
|
||||
background: #EEE;
|
||||
border: 1px solid #80B0B0;
|
||||
margin:8px 0 3px;
|
||||
}
|
||||
.login-form a {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
/*text-panel: for pages with few text*/
|
||||
.text-panel {
|
||||
font-size:16px;
|
||||
|
@ -7,7 +7,7 @@
|
||||
<form action="" method="post">
|
||||
<label for="id_message">通知:</label>
|
||||
{{ form.message }}
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -17,7 +17,7 @@
|
||||
{{ form.password2.errors }}
|
||||
<p class="error hide" id="error"></p>
|
||||
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block top_bar_manager_class %} class="cur"{% endblock %}
|
||||
{% block nav %}
|
||||
<ul class="nav ovhd">
|
||||
<ul class="nav w100 ovhd">
|
||||
{% if request.user.is_staff %}
|
||||
<li>
|
||||
<a href="{{ SITE_ROOT }}seafadmin/" {% block nav_seafadmin_class %}{% endblock %}>目录管理</a>
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<div id="top-bar">
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-in ovhd">
|
||||
<div class="top-bar-in w100 ovhd">
|
||||
{% if request.user.is_staff %}
|
||||
<div class="fleft">
|
||||
<a href="{{ SITE_ROOT }}seafadmin/"{% block top_bar_manager_class %}{% endblock %}>管理员控制台</a>
|
||||
@ -50,8 +50,8 @@
|
||||
</div>
|
||||
|
||||
<div id="header">
|
||||
<div class="top-info ovhd">
|
||||
<a href="{{ SITE_ROOT }}" class="fleft"><img src="{{ MEDIA_URL }}img/logo.png" title="Seafile" alt="Seafile logo" /></a>
|
||||
<div class="top-info w100 ovhd">
|
||||
<img src="{{ MEDIA_URL }}img/logo.png" title="Seafile" alt="Seafile logo" class="fleft" />
|
||||
<div id="other-info" class="fright">
|
||||
<p class="wish">Hope our efforts will bring you benefits.</p>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block top_bar_myaccount_class %} class="cur"{% endblock %}
|
||||
{% block nav %}
|
||||
<ul class="nav ovhd">
|
||||
<ul class="nav w100 ovhd">
|
||||
<li>
|
||||
<a href="{{ SITE_ROOT }}home/my/" {% block nav_myhome_class %}{% endblock %}>我的页面</a>
|
||||
</li>
|
||||
|
@ -3,13 +3,13 @@
|
||||
{% block main_panel %}
|
||||
<div class="narrow-panel">
|
||||
<h2>登录</h2>
|
||||
<form action="" method="post">
|
||||
<form action="" method="post" class="login-form">
|
||||
<label for="username">邮箱:</label>
|
||||
<input type="text" name="username" value="" autocomplete="off" />
|
||||
<label for="password">密码:</label>
|
||||
<input type="password" name="password" value="" autocomplete="off" />
|
||||
<p class="error hide"></p>
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
<a href="{{ SITE_ROOT }}accounts/password/reset/">忘记密码?</a>
|
||||
{% if next %}
|
||||
<input type="hidden" name="next" value="{{ next|escape }}" />
|
||||
|
@ -17,7 +17,7 @@
|
||||
{{ form.new_password2.errors }}
|
||||
<p class="error hide"></p>
|
||||
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -15,7 +15,7 @@
|
||||
<label for="id_new_password2">新密码确认:</label>
|
||||
{{ form.new_password2 }}
|
||||
{{ form.new_password2.errors }}
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
<span>(我们会把新密码设置说明通过邮件发送给您)</span>
|
||||
{{ form.email }}
|
||||
{{ form.email.errors }}
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -17,7 +17,7 @@
|
||||
{{ form.email.errors }}
|
||||
{{ form.password1.errors }}
|
||||
{{ form.password2.errors }}
|
||||
<input type="submit" value="提交" />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user