mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
modified add-new-file
This commit is contained in:
@@ -484,6 +484,10 @@ p {
|
|||||||
padding-left:23px;
|
padding-left:23px;
|
||||||
background-image:url('../img/folder-add.png');
|
background-image:url('../img/folder-add.png');
|
||||||
}
|
}
|
||||||
|
#add-new-file {
|
||||||
|
padding-left:23px;
|
||||||
|
background-image:url('../img/file-add.jpg');
|
||||||
|
}
|
||||||
.more-op {
|
.more-op {
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
|
BIN
media/img/file-add.jpg
Normal file
BIN
media/img/file-add.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 456 B |
@@ -444,7 +444,7 @@ $('#add-new-file').click(function () {
|
|||||||
$('#add-new-file-form').modal({appendTo:'#main'});
|
$('#add-new-file-form').modal({appendTo:'#main'});
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#upload-file, #add-new-dir').hover(
|
$('#upload-file, #add-new-dir, #add-new-file').hover(
|
||||||
function() {
|
function() {
|
||||||
$(this).css({'background-color': '#fff', 'cursor': 'pointer'});
|
$(this).css({'background-color': '#fff', 'cursor': 'pointer'});
|
||||||
},
|
},
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button id="recommend">发送到私信</button></div>';
|
var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button>发送到私信</button></div>';
|
||||||
$('#wrapper').append(Bottom_bar);
|
$('#wrapper').append(Bottom_bar);
|
||||||
$('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15});
|
$('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15});
|
||||||
$('#recommend').click(function() {
|
$('#recommend').click(function() {
|
||||||
|
Reference in New Issue
Block a user