Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
f62b3151
Commit
f62b3151
authored
13 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Patches
Plain Diff
file hovering now very fancy, CSS fade for row and extension
parent
9ba303a9
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
core/js/js.js
+1
-1
1 addition, 1 deletion
core/js/js.js
files/css/files.css
+10
-0
10 additions, 0 deletions
files/css/files.css
files/js/filelist.js
+2
-2
2 additions, 2 deletions
files/js/filelist.js
files/js/files.js
+1
-1
1 addition, 1 deletion
files/js/files.js
with
14 additions
and
4 deletions
core/js/js.js
+
1
−
1
View file @
f62b3151
...
...
@@ -290,7 +290,7 @@ $(document).ready(function(){
$
(
'
#settings #expand+span
'
).
fadeToggle
();
});
$
(
'
a
.file_action
'
).
tipsy
({
gravity
:
'
s
'
,
live
:
true
});
$
(
'
.file_action
'
).
tipsy
({
gravity
:
'
s
'
,
live
:
true
});
$
(
'
.selectedActions a
'
).
tipsy
({
gravity
:
'
n
'
,
live
:
true
});
$
(
'
.selectedActions a.delete
'
).
tipsy
({
gravity
:
'
ne
'
,
live
:
true
});
});
...
...
This diff is collapsed.
Click to expand it.
files/css/files.css
+
10
−
0
View file @
f62b3151
...
...
@@ -26,10 +26,20 @@
/* FILE TABLE */
span
#emptyfolder
{
position
:
absolute
;
margin
:
10em
0
0
10em
;
font-size
:
1.5em
;
font-weight
:
bold
;
color
:
#888
;
text-shadow
:
#fff
0
1px
0
;
}
table
{
position
:
relative
;
top
:
37px
;
width
:
100%
;
}
table
tr
{
-webkit-transition
:
background-color
100ms
ease-in
100ms
;
-moz-transition
:
background-color
100ms
ease-in
100ms
;
-o-transition
:
background-color
100ms
ease-in
100ms
;
transition
:
background-color
100ms
ease-in
100ms
;
}
tbody
tr
:hover
,
tbody
tr
:active
,
tbody
tr
.selected
{
background-color
:
#f8f8f8
;
height
:
1em
;
}
tbody
tr
.selected
{
background-color
:
#eee
;
}
tbody
a
{
color
:
#000
;
}
span
.extention
,
td
.date
{
color
:
#999
;
}
span
.extention
{
opacity
:
0
;
-webkit-transition
:
opacity
100ms
ease-in
100ms
;
-moz-transition
:
opacity
100ms
ease-in
100ms
;
-o-transition
:
opacity
100ms
ease-in
100ms
;
transition
:
opacity
100ms
ease-in
100ms
;
}
tr
:hover
span
.extention
{
opacity
:
1
;
}
div
.crumb
{
float
:
left
;
display
:
block
;
background
:
no-repeat
right
0
;
padding
:
.75em
1.5em
0
1em
;
height
:
2.9em
;
}
div
.crumb
:first-child
{
padding-left
:
1.5em
;
}
div
.crumb
:last-child
{
font-weight
:
bold
;
}
...
...
This diff is collapsed.
Click to expand it.
files/js/filelist.js
+
2
−
2
View file @
f62b3151
...
...
@@ -3,7 +3,7 @@ FileList={
$
(
'
#fileList
'
).
empty
().
html
(
fileListHtml
);
},
addFile
:
function
(
name
,
size
,
lastModified
,
loading
){
var
img
=
(
loading
)?
OC
.
imagePath
(
'
core
'
,
'
loading.gif
'
):
OC
.
imagePath
(
'
core
'
,
'
filetypes/file
.png
'
);
var
img
=
(
loading
)?
OC
.
imagePath
(
'
core
'
,
'
loading.gif
'
):
OC
.
imagePath
(
'
core
'
,
'
filetypes/file
'
);
var
html
=
'
<tr data-file="
'
+
name
+
'
" data-type="file" data-size="
'
+
size
+
'
">
'
;
if
(
name
.
indexOf
(
'
.
'
)
!=-
1
){
var
basename
=
name
.
substr
(
0
,
name
.
indexOf
(
'
.
'
));
...
...
@@ -38,7 +38,7 @@ FileList={
},
addDir
:
function
(
name
,
size
,
lastModified
){
var
html
=
'
<tr data-file="
'
+
name
+
'
" data-type="dir" data-size="
'
+
size
+
'
">
'
;
html
+=
'
<td class="filename" style="background-image:url(
img
/folder
.png
)"><input type="checkbox" /><a class="name" href="index.php?dir=
'
+
$
(
'
#dir
'
).
val
()
+
'
/
'
+
name
+
'
">
'
+
name
+
'
</a></td>
'
;
html
+=
'
<td class="filename" style="background-image:url(
'
+
OC
.
imagePath
(
'
core
'
,
'
places
/folder
'
)
+
'
)"><input type="checkbox" /><a class="name" href="index.php?dir=
'
+
$
(
'
#dir
'
).
val
()
+
'
/
'
+
name
+
'
">
'
+
name
+
'
</a></td>
'
;
if
(
size
!=
'
Pending
'
){
simpleSize
=
simpleFileSize
(
size
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
files/js/files.js
+
1
−
1
View file @
f62b3151
...
...
@@ -423,5 +423,5 @@ function getMimeIcon(mime){
if
(
knownMimes
.
indexOf
(
mime
)
==-
1
){
mime
=
'
file
'
;
}
return
OC
.
imagePath
(
'
core
'
,
'
mim
etypes/
'
+
mime
+
'
.png
'
);
return
OC
.
imagePath
(
'
core
'
,
'
fil
etypes/
'
+
mime
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment