1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-22 19:49:31 +00:00

modified favicon; modified system logo/favicon setting

This commit is contained in:
llj
2017-05-27 14:18:51 +08:00
parent 59c494f419
commit f92fc53178
7 changed files with 10 additions and 6 deletions

View File

@@ -3585,6 +3585,9 @@ img.thumbnail {
opacity:0; opacity:0;
filter:alpha(opacity=0); filter:alpha(opacity=0);
} }
.web-setting-cur-img {
margin-bottom:5px;
}
/* view shared dir */ /* view shared dir */
.mode-link { .mode-link {
display:inline-block; display:inline-block;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -10,7 +10,7 @@
{% block viewport %} {% block viewport %}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
{% endblock %} {% endblock %}
<link rel="icon" href="{{ MEDIA_URL }}{{ favicon_path }}" /> <link rel="shortcut icon" href="{{ MEDIA_URL }}{{ favicon_path }}" />
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/> <link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/>
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jstree_default_theme/style.min.css" /> <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jstree_default_theme/style.min.css" />
<link rel="stylesheet" type="text/css" href="{% static "css/magnific-popup.css" %}" /> <link rel="stylesheet" type="text/css" href="{% static "css/magnific-popup.css" %}" />

View File

@@ -9,7 +9,7 @@
<meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" /> <meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="icon" href="{{ MEDIA_URL }}{{ favicon_path }}" /> <link rel="shortcut icon" href="{{ MEDIA_URL }}{{ favicon_path }}" />
{% compress css %} {% compress css %}
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}" /> <link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}" />
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jstree_default_theme/style.min.css" /> <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jstree_default_theme/style.min.css" />

View File

@@ -31,7 +31,8 @@
<form class="web-setting-form" action="">{% csrf_token %} <form class="web-setting-form" action="">{% csrf_token %}
<h5 class="web-setting-name">{{ setting_display_name }}</h5> <h5 class="web-setting-name">{{ setting_display_name }}</h5>
<div class="web-setting-input web-setting-file-input"> <div class="web-setting-input web-setting-file-input">
<img src="{{ MEDIA_URL }}{{ file_path }}" alt="" /> <img src="{{ MEDIA_URL }}{{ file_path }}" alt="" width="{{ file_width }}" height="{{file_height}}" class="web-setting-cur-img" />
<p class="tip">{{ help_tip }}</p>
<div class="web-setting-file-upload"> <div class="web-setting-file-upload">
<input type="file" name="{{ setting_name }}" class="web-setting-file-upload-input transparent-file-input" /> <input type="file" name="{{ setting_name }}" class="web-setting-file-upload-input transparent-file-input" />
<button type="button" class="web-setting-file-upload-btn">{% trans "Change" %}</button> <button type="button" class="web-setting-file-upload-btn">{% trans "Change" %}</button>

View File

@@ -25,12 +25,12 @@
<h4>{% trans "Logo" %}</h4> <h4>{% trans "Logo" %}</h4>
{% with type="file" setting_name="logo" file_path=logo_path %} {% with type="file" setting_name="logo" file_path=logo_path file_width=256 file_height=64 help_tip="logo.png, 256px * 64px" %}
{% trans "Logo" as setting_display_name %} {% trans "Logo" as setting_display_name %}
{% include "snippets/web_settings_form.html" %} {% include "snippets/web_settings_form.html" %}
{% endwith %} {% endwith %}
{% with type="file" setting_name="favicon" file_path=favicon_path %} {% with type="file" setting_name="favicon" file_path=favicon_path file_width=32 file_height=32 help_tip="favicon.ico, 32px * 32px" %}
{% trans "Favicon" as setting_display_name %} {% trans "Favicon" as setting_display_name %}
{% include "snippets/web_settings_form.html" %} {% include "snippets/web_settings_form.html" %}
{% endwith %} {% endwith %}

View File

@@ -9,7 +9,7 @@
<meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" /> <meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="icon" href="{{ MEDIA_URL }}{{ favicon_path }}" /> <link rel="shortcut icon" href="{{ MEDIA_URL }}{{ favicon_path }}" />
{% compress css %} {% compress css %}
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/> <link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/>