1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +00:00
Files
seahub/templates/base.html

83 lines
3.4 KiB
HTML
Raw Normal View History

2011-03-19 13:15:02 +08: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-01-01 23:45:09 +08:00
<title>SeaHub</title>
2011-03-19 13:15:02 +08:00
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="文件 共享" />
2012-03-30 13:49:32 +08:00
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/ui-lightness/jquery-ui-1.8.16.custom.css" />
2011-03-19 13:15:02 +08: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 %}
{% load avatar_tags %}
2011-03-19 13:15:02 +08:00
</head>
<body>
<div id="wrapper">
2011-10-13 00:17:48 +08:00
<div id="top-bar">
<div class="top-bar">
<div class="top-bar-in ovhd">
2012-05-17 14:02:47 +08:00
{% if request.user.is_staff %}
<div class="fleft">
<a href="{{ SITE_ROOT }}seafadmin/"{% block top_bar_manager_class %}{% endblock %}>管理员控制台</a>
<a href="{{ SITE_ROOT }}home/my/"{% block top_bar_myaccount_class %}{% endblock %}>我的帐号</a>
</div>
2012-05-17 14:02:47 +08:00
{% endif %}
2011-10-13 00:17:48 +08:00
{% if request.user.is_authenticated %}
2012-05-25 14:14:51 +08:00
欢迎, <a href="{% url avatar_change %}">{% avatar request.user 16 %}</a> {{ request.user }}
2011-10-13 00:17:48 +08:00
<a href="{{ SITE_ROOT }}profile/">设置</a>
<!--
2011-10-13 00:17:48 +08:00
{% if request.user.is_staff %}
<a href="{{ SITE_ROOT }}admin/">管理</a>
{% endif %}
-->
2011-10-13 00:17:48 +08:00
<a href="{{ SITE_ROOT }}accounts/logout/">退出</a>
{% else %}
<a href="{{ SITE_ROOT }}accounts/login/">登录</a>
<a href="{{ SITE_ROOT }}accounts/register/">注册</a>
{% endif %}
</div>
</div>
</div>
2011-03-19 13:15:02 +08:00
<div id="header">
2012-05-05 10:51:18 +08:00
<div class="top-info ovhd">
<a href="{{ SITE_ROOT }}" class="fleft"><img src="{{ MEDIA_URL }}img/logo.png" title="Seafile" alt="Seafile logo" /></a>
2012-05-05 20:35:08 +08:00
<div id="other-info" class="fright">
2012-05-05 10:51:18 +08:00
<p class="wish">Hope our efforts will bring you benefits.</p>
<p class="version">服务器版本: {{ seafile_version }}</p>
2012-01-01 23:45:09 +08:00
</div>
</div>
{% block nav %}{% endblock %}
2011-03-19 13:15:02 +08:00
</div>
<div id="main">
<div id="left-panel">
2011-03-19 22:06:58 +08:00
{% block left_panel %}{% endblock %}
2011-03-19 13:15:02 +08:00
</div>
<div id="right-panel">
2011-03-19 22:06:58 +08:00
{% block right_panel %}{% endblock %}
2011-03-19 13:15:02 +08:00
</div>
2012-03-22 20:33:27 +08:00
<div id="main-panel" class="clear">
2011-11-25 13:06:01 +08:00
{% block main_panel %}{% endblock %}
2011-03-19 13:15:02 +08:00
</div>
<div id="dialog-confirm" class="hide">
<p class="mgb5" id="confirm-con">确定要删除?</p>
2012-03-27 17:42:08 +08:00
<button id="yes-btn">确定</button>
<button class="simplemodal-close">取消</button>
</div>
2011-03-19 13:15:02 +08:00
</div>
2012-03-22 20:33:27 +08:00
<div id="footer" class="ovhd">
<p class="fleft">Copyright © 2012 海文互知. All rights reserved.</p>
2011-03-19 13:15:02 +08:00
<p class="fright">Contact | About</p>
</div>
</div><!-- wrapper -->
2012-03-22 20:33:27 +08: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-03-30 13:49:32 +08:00
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.cookie.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ui-1.8.16.custom.min.js"></script>
2012-03-27 17:42:08 +08:00
<script type="text/javascript" src="{{ MEDIA_URL }}js/utils.js"></script>
{% block extra_script %}{% endblock %}
2011-03-19 13:15:02 +08:00
</body>
</html>