Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
d32799e4
Commit
d32799e4
authored
12 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Patches
Plain Diff
show text for file actions
parent
5868199e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/css/files.css
+3
-3
3 additions, 3 deletions
files/css/files.css
files/js/fileactions.js
+3
-4
3 additions, 4 deletions
files/js/fileactions.js
with
6 additions
and
7 deletions
files/css/files.css
+
3
−
3
View file @
d32799e4
...
...
@@ -60,7 +60,7 @@ table tr[data-type="dir"] td.filename a.name {font-weight:bold; }
table
td
.filename
a
.name
input
,
table
td
.filename
a
.name
form
{
width
:
100%
;
cursor
:
text
;
}
table
td
.filename
a
,
table
td
.login
,
table
td
.logout
,
table
td
.download
,
table
td
.upload
,
table
td
.create
,
table
td
.delete
{
padding
:
.2em
.5em
.5em
0
;
}
table
td
.filename
.nametext
,
.modified
{
float
:
left
;
padding
:
.3em
0
;
}
table
td
.filename
.nametext
{
width
:
6
0%
;
}
table
td
.filename
.nametext
{
width
:
7
0%
;
overflow
:
hidden
;
}
table
td
.filename
form
{
float
:
left
;
font-size
:
.85em
;
}
table
thead
.fixed
tr
{
position
:
fixed
;
top
:
6.5em
;
z-index
:
49
;
-moz-box-shadow
:
0
-3px
7px
#ddd
;
-webkit-box-shadow
:
0
-3px
7px
#ddd
;
box-shadow
:
0
-3px
7px
#ddd
;
}
table
thead
.fixed
{
height
:
2em
;
}
...
...
@@ -70,8 +70,8 @@ table thead.fixed { height:2em; }
#fileList
tr
td
.filename
{
-webkit-transition
:
background-image
500ms
;
-moz-transition
:
background-image
500ms
;
-o-transition
:
background-image
500ms
;
transition
:
background-image
500ms
;
}
#select_all
{
float
:
left
;
margin
:
.3em
0.6em
0
.5em
;
}
#uploadsize-message
,
#delete-confirm
{
display
:
none
;
}
.selectedActions
a
,
#fileList
a
.action
{
float
:
right
;
display
:
inline
;
margin
:
0
.5em
;
padding
:
.3em
.3em
0
.3em
!important
;
}
a
.action
>
img
{
max-height
:
16px
;
max-width
:
16px
;
}
.selectedActions
a
,
#fileList
a
.action
{
display
:
inline
;
margin
:
0
.5em
;
padding
:
.3em
.3em
0
.3em
!important
;
}
a
.action
>
img
{
max-height
:
16px
;
max-width
:
16px
;
vertical-align
:
text-top
;
}
.selectedActions
{
display
:
none
;
}
/* add breadcrumb divider to the File item in navigation panel */
...
...
This diff is collapsed.
Click to expand it.
files/js/fileactions.js
+
3
−
4
View file @
d32799e4
...
...
@@ -67,11 +67,10 @@ FileActions={
if
(
img
.
call
){
img
=
img
(
file
);
}
var
html
=
'
<a href="#" original-title="
'
+
name
+
'
" class="action" style="display:none" />
'
;
var
html
=
'
<a href="#" class="action" style="display:none">
'
;
if
(
img
)
{
html
+=
'
<img src="
'
+
img
+
'
"/>
'
;
}
html
+=
name
+
'
</a>
'
;
var
element
=
$
(
html
);
if
(
img
){
element
.
append
(
$
(
'
<img src="
'
+
img
+
'
"/>
'
));
}
element
.
data
(
'
action
'
,
name
);
element
.
click
(
function
(
event
){
event
.
stopPropagation
();
...
...
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