mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-22 11:43:33 +00:00
modified favicon; modified system logo/favicon setting
This commit is contained in:
@@ -3585,6 +3585,9 @@ img.thumbnail {
|
||||
opacity:0;
|
||||
filter:alpha(opacity=0);
|
||||
}
|
||||
.web-setting-cur-img {
|
||||
margin-bottom:5px;
|
||||
}
|
||||
/* view shared dir */
|
||||
.mode-link {
|
||||
display:inline-block;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -10,7 +10,7 @@
|
||||
{% block viewport %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
{% 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="{{ MEDIA_URL }}css/jstree_default_theme/style.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/magnific-popup.css" %}" />
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<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 %}
|
||||
<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" />
|
||||
|
@@ -31,7 +31,8 @@
|
||||
<form class="web-setting-form" action="">{% csrf_token %}
|
||||
<h5 class="web-setting-name">{{ setting_display_name }}</h5>
|
||||
<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">
|
||||
<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>
|
||||
|
@@ -25,12 +25,12 @@
|
||||
|
||||
<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 %}
|
||||
{% include "snippets/web_settings_form.html" %}
|
||||
{% 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 %}
|
||||
{% include "snippets/web_settings_form.html" %}
|
||||
{% endwith %}
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<meta name="keywords" content="{% trans "File Collaboration Team Organization" %}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<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 %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap.min.css" %}"/>
|
||||
|
Reference in New Issue
Block a user