1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-15 13:43:36 +00:00
seahub/templates/base.html

82 lines
3.4 KiB
HTML
Raw Normal View History

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-01-01 15:45:09 +00:00
<title>SeaHub</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 %}
2011-03-19 05:15:02 +00:00
</head>
<body>
<div id="wrapper">
2011-10-12 16:17:48 +00:00
<div id="top-bar">
<div class="top-bar">
<div class="top-bar-in ovhd">
2012-05-17 06:02:47 +00: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 06:02:47 +00:00
{% endif %}
2011-10-12 16:17:48 +00:00
{% if request.user.is_authenticated %}
2012-03-22 12:33:27 +00:00
欢迎, {{ request.user }}
2011-10-12 16:17:48 +00:00
<a href="{{ SITE_ROOT }}profile/">设置</a>
<!--
2011-10-12 16:17:48 +00:00
{% if request.user.is_staff %}
<a href="{{ SITE_ROOT }}admin/">管理</a>
{% endif %}
-->
2011-10-12 16:17:48 +00: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 05:15:02 +00:00
<div id="header">
2012-05-05 02:51:18 +00: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 12:35:08 +00:00
<div id="other-info" class="fright">
2012-05-05 02:51:18 +00:00
<p class="wish">Hope our efforts will bring you benefits.</p>
<p class="version">服务器版本: {{ seafile_version }}</p>
2012-01-01 15:45:09 +00:00
</div>
</div>
{% block nav %}{% endblock %}
2011-03-19 05:15:02 +00:00
</div>
<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-03-22 12:33:27 +00:00
<div id="main-panel" class="clear">
2011-11-25 05:06:01 +00:00
{% block main_panel %}{% endblock %}
2011-03-19 05:15:02 +00:00
</div>
<div id="dialog-confirm" class="hide">
<p class="mgb5" 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-03-22 12:33:27 +00:00
<div id="footer" class="ovhd">
<p class="fleft">Copyright © 2012 海文互知. All rights reserved.</p>
2011-03-19 05:15:02 +00:00
<p class="fright">Contact | About</p>
</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-03-30 05:49:32 +00: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 09:42:08 +00:00
<script type="text/javascript" src="{{ MEDIA_URL }}js/utils.js"></script>
{% block extra_script %}{% endblock %}
2011-03-19 05:15:02 +00:00
</body>
</html>