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
2d43f6e3
Commit
2d43f6e3
authored
13 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
make foldernames also bold after renaming
parent
468319fe
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
files/css/files.css
+1
-0
1 addition, 0 deletions
files/css/files.css
files/js/filelist.js
+1
-1
1 addition, 1 deletion
files/js/filelist.js
files/templates/part.list.php
+1
-1
1 addition, 1 deletion
files/templates/part.list.php
with
3 additions
and
2 deletions
files/css/files.css
+
1
−
0
View file @
2d43f6e3
...
...
@@ -27,6 +27,7 @@ table th#headerSize, table td.filesize { width:5em; padding:0 1em; text-align:ri
table
th
#headerDate
,
table
td
.date
{
width
:
10em
;
padding
:
0
.1em
0
1em
;
text-align
:
left
;
}
table
td
.selection
,
table
th
.selection
,
table
td
.fileaction
{
width
:
2em
;
text-align
:
center
;
}
table
td
.filename
a
.name
{
display
:
block
;
background-image
:
url('../img/file.png')
;
height
:
1.5em
;
vertical-align
:
middle
;
}
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
3em
;
background-position
:
1em
.5em
;
background-repeat
:
no-repeat
;
}
table
td
.filename
.nametext
,
.modified
{
float
:
left
;
padding
:
.3em
0
;
}
...
...
This diff is collapsed.
Click to expand it.
files/js/filelist.js
+
1
−
1
View file @
2d43f6e3
...
...
@@ -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"><input type="checkbox" /><a class="name" style="background-image:url(img/folder.png)" href="index.php?dir=
'
+
$
(
'
#dir
'
).
val
()
+
'
/
'
+
name
+
'
">
<strong>
'
+
name
+
'
</strong>
</a></td>
'
;
html
+=
'
<td class="filename"><input type="checkbox" /><a class="name" style="background-image:url(img/folder.png)" 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/templates/part.list.php
+
1
−
1
View file @
2d43f6e3
...
...
@@ -10,7 +10,7 @@
<a
class=
"name"
style=
"background-image:url(
<?php
if
(
$file
[
'type'
]
==
'dir'
)
echo
mimetype_icon
(
'dir'
);
else
echo
mimetype_icon
(
$file
[
'mime'
]);
?>
)"
href=
"
<?php
if
(
$file
[
'type'
]
==
'dir'
)
echo
link_to
(
'files'
,
'index.php?dir='
.
$file
[
'directory'
]
.
'/'
.
$file
[
'name'
]);
else
echo
link_to
(
'files'
,
'download.php?file='
.
$file
[
'directory'
]
.
'/'
.
$file
[
'name'
]);
?>
"
title=
""
>
<span
class=
"nametext"
>
<?php
if
(
$file
[
'type'
]
==
'dir'
)
:
?>
<strong>
<?php
echo
htmlspecialchars
(
$file
[
'name'
]);
?>
</strong>
<?php
echo
htmlspecialchars
(
$file
[
'name'
]);
?>
<?php
else
:
?>
<?php
echo
htmlspecialchars
(
$file
[
'basename'
]);
?>
<span
class=
'extention'
>
<?php
echo
$file
[
'extention'
];
?>
</span>
<?php
endif
;
?>
...
...
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