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:
parent
89f1fb13d7
commit
6c8101e7f3
@ -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>
|
||||
|
2
utils.py
2
utils.py
@ -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',),
|
||||
|
Loading…
Reference in New Issue
Block a user