1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-22 03:16:34 +00:00

add styles for org remove notice

This commit is contained in:
llj
2013-03-01 11:27:58 +08:00
parent bfd74931be
commit b240a551c2
3 changed files with 14 additions and 1 deletions

View File

@@ -480,6 +480,16 @@ textarea:-moz-placeholder {/* for FF */
}
/* header */
#notice {
text-align:center;
}
#notice-con {
color:red;
padding:3px 5px;
background:#ffc;
box-shadow:0 0 6px gray;
border-radius:1px;
}
#logo {
width:95px;
height:40px;

View File

@@ -81,6 +81,7 @@
<div id="header">
<div id="header-inner">
{% block notice_panel %}{% endblock %}
<a href="http://seafile.com/" id="logo" class="fleft">
<img src="{{ MEDIA_URL }}img/logo.png?t=1359353100" title="Seafile" alt="Seafile logo" />
</a>

View File

@@ -3,8 +3,10 @@
{% load i18n %}
{% block top_bar_org_myaccount_class %} class="cur"{% endblock %}
{% block notice_panel %}
<p id="notice"><span id="notice-con">{% trans "Organization will be removed in next version, data will be merged into your current account." %}</span></p>
{% endblock %}
{% block nav %}
<p>{% trans "Organization will be removed in next version, data will be merged into your current account." %}</p>
<ul class="nav">
<li>
<a href="{% url 'organizations.views.org_personal' org.url_prefix %}" {% block nav_org_personal_class %}{% endblock %}>{% trans "Personal" %}</a>