1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-30 04:25:47 +00:00

Change style to navigation bar

This commit is contained in:
plt 2012-07-12 11:13:50 +08:00
parent 72d0ae8a20
commit d8336f35bf
6 changed files with 6 additions and 9 deletions

View File

@ -119,7 +119,6 @@ table img {
#header {
font-size: 14px;
font-weight: bold;
border-bottom: 1px solid #ddd;
}
#main {
min-height: 400px;
@ -170,6 +169,7 @@ table img {
#other-info { color: #ccc; text-align:right; }
#other-info .wish { font-style:italic; margin-bottom:10px; }
#other-info .version { font-size: 12px; }
#header .nav { padding: 20px 20px 0 40px; }
#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; }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block top_bar_manager_class %} class="cur"{% endblock %}
{% block nav %}
<ul class="nav w100 ovhd">
<ul class="nav ovhd">
{% if request.user.is_staff %}
<li>
<a href="{{ SITE_ROOT }}sys/seafadmin/" {% block nav_seafadmin_class %}{% endblock %}>目录管理</a>

View File

@ -62,12 +62,9 @@
<div id="header">
<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>
<img src="{{ MEDIA_URL }}img/logo.png" title="Seafile" alt="Seafile logo" class="fleft" height="48" />
{% block nav %}{% endblock %}
</div>
{% block nav %}{% endblock %}
</div>
<div id="main">

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block top_bar_myaccount_class %} class="cur"{% endblock %}
{% block nav %}
<ul class="nav w100 ovhd">
<ul class="nav ovhd">
<li>
<a href="{{ SITE_ROOT }}home/my/" {% block nav_myhome_class %}{% endblock %}>我的页面</a>
</li>

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block top_bar_manager_class %} class="cur"{% endblock %}
{% block nav %}
<ul class="nav w100 ovhd">
<ul class="nav ovhd">
{% if request.user.org.is_staff %}
<li>
<a href="{{ SITE_ROOT }}seafadmin/" {% block nav_seafadmin_class %}{% endblock %}>目录管理</a>