mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 10:51:17 +00:00
show setting/trash/history icon
This commit is contained in:
@@ -3424,3 +3424,33 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
/* multi repo operation */
|
||||||
|
.repo-setting-icon,
|
||||||
|
.repo-trash-icon,
|
||||||
|
.repo-history-icon {
|
||||||
|
display:inline-block;
|
||||||
|
margin-right:25px;
|
||||||
|
outline:none; /* removing the dotted outline for FireFox */
|
||||||
|
width:30px;
|
||||||
|
height:30px;
|
||||||
|
}
|
||||||
|
.repo-setting-icon {
|
||||||
|
background-image: url('../img/multi-repo-op.png');
|
||||||
|
}
|
||||||
|
.repo-setting-icon:hover {
|
||||||
|
background-position: 0 -30px;
|
||||||
|
}
|
||||||
|
.repo-trash-icon {
|
||||||
|
background-image: url('../img/multi-repo-op.png');
|
||||||
|
background-position: 0 -60px;
|
||||||
|
}
|
||||||
|
.repo-trash-icon:hover {
|
||||||
|
background-position: 0 -90px;
|
||||||
|
}
|
||||||
|
.repo-history-icon {
|
||||||
|
background-image: url('../img/multi-repo-op.png');
|
||||||
|
background-position: 0 -120px;
|
||||||
|
}
|
||||||
|
.repo-history-icon:hover {
|
||||||
|
background-position: 0 -150px;
|
||||||
|
}
|
||||||
|
BIN
media/img/multi-repo-op.png
Normal file
BIN
media/img/multi-repo-op.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
@@ -27,3 +27,6 @@
|
|||||||
<% if (path != '/' && !encrypted) { %>
|
<% if (path != '/' && !encrypted) { %>
|
||||||
<button class="op-btn" id="share-cur-dir">{% trans "Share" %}</button>
|
<button class="op-btn" id="share-cur-dir">{% trans "Share" %}</button>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<a class="repo-history-icon fright" href="repo/history/<%- repo_id %>/" target="_blank" title="{% trans 'Settings' %}"></a>
|
||||||
|
<a class="repo-trash-icon fright" href="repo/recycle/<%- repo_id %>/" target="_blank" title="{% trans 'Settings' %}"></a>
|
||||||
|
<a class="repo-setting-icon fright" href="repo/<%- repo_id %>/settings/" target="_blank" title="{% trans 'Settings' %}"></a>
|
||||||
|
Reference in New Issue
Block a user