1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-10 17:05:06 +00:00

Added logo link and icon preview

This commit is contained in:
zhengxie 2012-11-08 17:29:38 +08:00
parent 89f1fb13d7
commit 6c8101e7f3
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -33,7 +33,7 @@ MAX_INT = 2147483647
PREVIEW_FILEEXT = {
'Text': ('ac', 'am', 'bat', 'c', 'cc', 'cmake', 'cpp', 'cs', 'css', 'diff', 'el', 'h', 'html', 'htm', 'java', 'js', 'json', 'less', 'make', 'org', 'php', 'pl', 'properties', 'py', 'rb', 'scala', 'script', 'sh', 'sql', 'txt', 'text', 'tex', 'vi', 'vim', 'xhtml', 'xml'),
'Image': ('gif', 'jpeg', 'jpg', 'png'),
'Image': ('gif', 'jpeg', 'jpg', 'png', 'ico'),
'Document': ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'),
'SVG': ('svg',),
'PDF': ('pdf',),