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