mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
[file lock] modified for firefox
This commit is contained in:
@@ -277,6 +277,7 @@ p { margin:0.5em 0; }
|
||||
.italic { font-style:italic; }
|
||||
.alc { text-align: center;}
|
||||
.cspt { cursor:pointer; }
|
||||
.pos-rel { position:relative; }
|
||||
/** for input, textarea in form **/ /* e.g repo-create */
|
||||
.input, .textarea {
|
||||
width:260px;
|
||||
|
@@ -252,6 +252,7 @@
|
||||
<% } %>
|
||||
</td>
|
||||
<td class="dirent-icon">
|
||||
<div class="pos-rel">
|
||||
<% if (dirent.is_img) { %>
|
||||
<% if (dirent.encoded_thumbnail_src) { %>
|
||||
<img class="thumbnail" src="{{ SITE_ROOT }}<%- dirent.encoded_thumbnail_src %>" alt="" />
|
||||
@@ -265,6 +266,7 @@
|
||||
<% if (is_pro && dirent.is_locked) { %>
|
||||
<img class="file-locked-icon" width="16" src="{{ MEDIA_URL }}img/file-locked-32.png" alt="{% trans "locked" %}" />
|
||||
<% } %>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="dirent-name">
|
||||
|
@@ -1,7 +1,4 @@
|
||||
/* lib view */
|
||||
.repo-file-list .dirent-icon {
|
||||
position:relative;
|
||||
}
|
||||
.repo-file-list .file-locked-icon {
|
||||
position:absolute;
|
||||
right:0;
|
||||
|
Reference in New Issue
Block a user