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; }
|
.italic { font-style:italic; }
|
||||||
.alc { text-align: center;}
|
.alc { text-align: center;}
|
||||||
.cspt { cursor:pointer; }
|
.cspt { cursor:pointer; }
|
||||||
|
.pos-rel { position:relative; }
|
||||||
/** for input, textarea in form **/ /* e.g repo-create */
|
/** for input, textarea in form **/ /* e.g repo-create */
|
||||||
.input, .textarea {
|
.input, .textarea {
|
||||||
width:260px;
|
width:260px;
|
||||||
|
@@ -252,6 +252,7 @@
|
|||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
<td class="dirent-icon">
|
<td class="dirent-icon">
|
||||||
|
<div class="pos-rel">
|
||||||
<% if (dirent.is_img) { %>
|
<% if (dirent.is_img) { %>
|
||||||
<% if (dirent.encoded_thumbnail_src) { %>
|
<% if (dirent.encoded_thumbnail_src) { %>
|
||||||
<img class="thumbnail" src="{{ SITE_ROOT }}<%- dirent.encoded_thumbnail_src %>" alt="" />
|
<img class="thumbnail" src="{{ SITE_ROOT }}<%- dirent.encoded_thumbnail_src %>" alt="" />
|
||||||
@@ -265,6 +266,7 @@
|
|||||||
<% if (is_pro && dirent.is_locked) { %>
|
<% if (is_pro && dirent.is_locked) { %>
|
||||||
<img class="file-locked-icon" width="16" src="{{ MEDIA_URL }}img/file-locked-32.png" alt="{% trans "locked" %}" />
|
<img class="file-locked-icon" width="16" src="{{ MEDIA_URL }}img/file-locked-32.png" alt="{% trans "locked" %}" />
|
||||||
<% } %>
|
<% } %>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="dirent-name">
|
<span class="dirent-name">
|
||||||
|
@@ -1,7 +1,4 @@
|
|||||||
/* lib view */
|
/* lib view */
|
||||||
.repo-file-list .dirent-icon {
|
|
||||||
position:relative;
|
|
||||||
}
|
|
||||||
.repo-file-list .file-locked-icon {
|
.repo-file-list .file-locked-icon {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
right:0;
|
right:0;
|
||||||
|
Reference in New Issue
Block a user