2011-03-19 05:15:02 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2012-05-30 14:42:21 +00:00
|
|
|
<title>{{ seahub_title }}</title>
|
2011-03-19 05:15:02 +00:00
|
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="keywords" content="文件 共享" />
|
2012-03-30 05:49:32 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/ui-lightness/jquery-ui-1.8.16.custom.css" />
|
2011-03-19 05:15:02 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/seahub.css" />
|
|
|
|
<link rel="icon" type="image/png" href="{{ MEDIA_URL }}img/favicon.png" />
|
|
|
|
{% block extra_style %}{% endblock %}
|
2012-07-03 15:05:35 +00:00
|
|
|
{% load seahub_tags avatar_tags %}
|
2011-03-19 05:15:02 +00:00
|
|
|
</head>
|
|
|
|
|
2012-05-29 09:26:00 +00:00
|
|
|
<body>
|
2011-03-19 05:15:02 +00:00
|
|
|
<div id="wrapper">
|
2012-06-12 02:13:14 +00:00
|
|
|
{% block info_bar_message %}
|
2012-06-04 13:27:32 +00:00
|
|
|
{% if request.user.is_authenticated and request.cur_note %}
|
|
|
|
<div id="info-bar">
|
2012-07-03 15:05:35 +00:00
|
|
|
<span class="info">{{ request.cur_note.message|urlize|url_target_blank }}</span>
|
2012-06-05 11:38:28 +00:00
|
|
|
<a href="{{ SITE_ROOT }}notification/close/{{ request.cur_note.id }}/?next={{ request.path }}"><span class="close"></span></a>
|
2012-06-04 13:27:32 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2012-06-12 02:13:14 +00:00
|
|
|
{% endblock info_bar_message %}
|
|
|
|
|
2011-10-12 16:17:48 +00:00
|
|
|
<div id="top-bar">
|
|
|
|
<div class="top-bar">
|
2012-06-06 03:52:37 +00:00
|
|
|
<div class="top-bar-in w100 ovhd">
|
2012-06-20 11:39:21 +00:00
|
|
|
{% if request.user.is_staff or request.user.org.is_staff %}
|
2012-06-04 13:27:32 +00:00
|
|
|
<div class="fleft">
|
2012-06-20 11:39:21 +00:00
|
|
|
{% if request.user.is_staff %}
|
|
|
|
<a href="{{ SITE_ROOT }}sys/seafadmin/"
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ SITE_ROOT }}seafadmin/"
|
|
|
|
{% endif %}
|
|
|
|
{% block top_bar_manager_class %}{% endblock %}>管理员控制台</a>
|
|
|
|
<a href="{{ SITE_ROOT }}home/my/"{% block top_bar_myaccount_class %}{% endblock %}>我的帐号</a>
|
2012-06-04 13:27:32 +00:00
|
|
|
</div>
|
2012-05-17 06:02:47 +00:00
|
|
|
{% endif %}
|
2012-05-25 09:15:15 +00:00
|
|
|
|
|
|
|
<div class="fright">
|
2011-10-12 16:17:48 +00:00
|
|
|
{% if request.user.is_authenticated %}
|
2012-05-30 05:51:25 +00:00
|
|
|
<span>欢迎,</span> <a href="{% url avatar_add %}" class="avatar-link">{% avatar request.user 16 %}</a> <span>{{ request.user }}</span>
|
2011-10-12 16:17:48 +00:00
|
|
|
<a href="{{ SITE_ROOT }}profile/">设置</a>
|
2012-04-11 11:48:20 +00:00
|
|
|
<!--
|
2011-10-12 16:17:48 +00:00
|
|
|
{% if request.user.is_staff %}
|
|
|
|
<a href="{{ SITE_ROOT }}admin/">管理</a>
|
|
|
|
{% endif %}
|
2012-04-11 11:48:20 +00:00
|
|
|
-->
|
2011-10-12 16:17:48 +00:00
|
|
|
<a href="{{ SITE_ROOT }}accounts/logout/">退出</a>
|
|
|
|
{% else %}
|
2012-06-20 11:39:21 +00:00
|
|
|
<a href="{{ SITE_ROOT }}accounts/login/">登录</a>
|
|
|
|
{% if account_type == 'business' %}
|
|
|
|
<a href="{{ SITE_ROOT }}accounts/business/register/">注册</a>
|
|
|
|
{% else %}
|
2011-10-12 16:17:48 +00:00
|
|
|
<a href="{{ SITE_ROOT }}accounts/register/">注册</a>
|
|
|
|
{% endif %}
|
2012-06-20 11:39:21 +00:00
|
|
|
{% endif %}
|
2012-05-25 09:15:15 +00:00
|
|
|
</div>
|
2011-10-12 16:17:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-05-29 09:26:00 +00:00
|
|
|
|
2011-03-19 05:15:02 +00:00
|
|
|
<div id="header">
|
2012-06-06 03:52:37 +00:00
|
|
|
<div class="top-info w100 ovhd">
|
2012-07-12 03:13:50 +00:00
|
|
|
<img src="{{ MEDIA_URL }}img/logo.png" title="Seafile" alt="Seafile logo" class="fleft" height="48" />
|
|
|
|
{% block nav %}{% endblock %}
|
2011-04-30 05:18:32 +00:00
|
|
|
</div>
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
2012-05-29 09:26:00 +00:00
|
|
|
|
2011-03-19 05:15:02 +00:00
|
|
|
<div id="main">
|
|
|
|
<div id="left-panel">
|
2011-03-19 14:06:58 +00:00
|
|
|
{% block left_panel %}{% endblock %}
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
|
|
|
<div id="right-panel">
|
2011-03-19 14:06:58 +00:00
|
|
|
{% block right_panel %}{% endblock %}
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
2012-07-04 09:06:25 +00:00
|
|
|
<div id="main-panel" class="clear w100 ovhd">
|
2011-11-25 05:06:01 +00:00
|
|
|
{% block main_panel %}{% endblock %}
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
2012-05-18 09:48:20 +00:00
|
|
|
<div id="dialog-confirm" class="hide">
|
2012-05-29 09:26:00 +00:00
|
|
|
<p id="confirm-con">确定要删除?</p>
|
2012-03-27 09:42:08 +00:00
|
|
|
<button id="yes-btn">确定</button>
|
|
|
|
<button class="simplemodal-close">取消</button>
|
|
|
|
</div>
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
2012-05-29 09:26:00 +00:00
|
|
|
|
2012-03-22 12:33:27 +00:00
|
|
|
<div id="footer" class="ovhd">
|
2012-07-04 09:06:25 +00:00
|
|
|
<div class="items fleft">
|
|
|
|
<div class="item">
|
|
|
|
<h4>SeaCloud</h4>
|
|
|
|
<ul>
|
2012-07-04 09:57:16 +00:00
|
|
|
<li><a href="http://seafile.com/" target="_blank">介绍</a></li>
|
2012-07-04 09:06:25 +00:00
|
|
|
<li><a href="http://wiki.seafile.com.cn/" target="_blank">Wiki</a></li>
|
|
|
|
<li><a href="http://gonggeng.org/vanilla/" target="_blank">论坛</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="item">
|
|
|
|
<h4>客户端</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="http://www.seafile.com/download/">Seafile for Windows</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="item">
|
|
|
|
<h4>文档</h4>
|
|
|
|
<ul>
|
|
|
|
<li><a href="http://www.seafile.com/help/" target="_blank">使用帮助</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="other-info fright">
|
|
|
|
<p>服务器版本:{{ seafile_version }}</p>
|
2012-07-04 09:57:16 +00:00
|
|
|
<p>© 2012 海文互知</p>
|
|
|
|
<p><a href="http://seafile.com/contact/" target="_blank">联系我们</a>
|
2012-07-04 09:06:25 +00:00
|
|
|
</div>
|
2011-03-19 05:15:02 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- wrapper -->
|
2012-03-22 12:33:27 +00:00
|
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.simplemodal.1.4.1.min.js"></script>
|
2012-07-04 09:06:25 +00:00
|
|
|
<!--script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.cookie.js"></script-->
|
2012-03-30 05:49:32 +00:00
|
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ui-1.8.16.custom.min.js"></script>
|
2012-03-27 09:42:08 +00:00
|
|
|
<script type="text/javascript" src="{{ MEDIA_URL }}js/utils.js"></script>
|
2012-02-21 09:11:58 +00:00
|
|
|
{% block extra_script %}{% endblock %}
|
2011-03-19 05:15:02 +00:00
|
|
|
</body>
|
|
|
|
</html>
|