1
0
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:
lian
2015-03-10 18:32:26 +08:00
committed by Daniel Pan
parent 3ea5ea36d4
commit a3b1eff49a
3 changed files with 33 additions and 0 deletions

View File

@@ -3424,3 +3424,33 @@ textarea:-moz-placeholder {/* for FF */
text-decoration: none;
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -27,3 +27,6 @@
<% if (path != '/' && !encrypted) { %>
<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>