mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 23:56:18 +00:00
Improve icon for grid/list mode switch in folder share link
This commit is contained in:
@@ -3730,7 +3730,7 @@ img.thumbnail {
|
||||
border-right:0;
|
||||
}
|
||||
.cur-mode-link {
|
||||
background:#eee;
|
||||
background:#ccc;
|
||||
}
|
||||
.shared-dir-zip {
|
||||
margin-left:5px;
|
||||
|
BIN
media/img/grid-white.png
Normal file
BIN
media/img/grid-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 B |
BIN
media/img/list-white.png
Normal file
BIN
media/img/list-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 167 B |
@@ -25,9 +25,17 @@
|
||||
|
||||
<div class="fright">
|
||||
<a href="?p={{ path|urlencode }}&mode=list" title="{% trans "List" %}" class="mode-link vam{% if mode == 'list' %} cur-mode-link{% endif %} list-mode-link">
|
||||
<img src="{{ MEDIA_URL }}img/list.png" alt="" width="20" />
|
||||
{% if mode == 'list' %}
|
||||
<img src="{{ MEDIA_URL }}img/list-white.png" alt="" width="20" />
|
||||
{% else %}
|
||||
<img src="{{ MEDIA_URL }}img/list.png" alt="" width="20" />
|
||||
{% endif %}
|
||||
</a><a href="?p={{ path|urlencode }}&mode=grid" title="{% trans "Grid" %}" class="mode-link vam{% if mode == 'grid' %} cur-mode-link{% endif %}">
|
||||
<img src="{{ MEDIA_URL }}img/grid.png" alt="" width="20" />
|
||||
{% if mode == 'grid' %}
|
||||
<img src="{{ MEDIA_URL }}img/grid-white.png" alt="" width="20" />
|
||||
{% else %}
|
||||
<img src="{{ MEDIA_URL }}img/grid.png" alt="" width="20" />
|
||||
{% endif %}
|
||||
</a>
|
||||
{% if not traffic_over_limit %}
|
||||
<a href="?p={{ path|urlencode }}&dl=1" class="obv-btn vam shared-dir-zip">{% trans "ZIP"%}</a>
|
||||
|
Reference in New Issue
Block a user