Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
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
RocketChat
Rocket.Chat
Commits
34bcd2bd
Commit
34bcd2bd
authored
9 years ago
by
Johan Ekhager
Browse files
Options
Downloads
Patches
Plain Diff
Added some styling for files list.
parent
c235f9ce
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/views/app/tabBar/uploadedFilesList.html
+6
-4
6 additions, 4 deletions
client/views/app/tabBar/uploadedFilesList.html
packages/rocketchat-theme/assets/stylesheets/base.less
+17
-0
17 additions, 0 deletions
packages/rocketchat-theme/assets/stylesheets/base.less
with
23 additions
and
4 deletions
client/views/app/tabBar/uploadedFilesList.html
+
6
−
4
View file @
34bcd2bd
<template
name=
"uploadedFilesList"
>
<div
class=
"content"
>
<div
class=
"list-view"
>
<div
class=
"list-view
uploaded-files-list
"
>
<div
class=
"status"
>
<h2>
{{_ "Room_uploaded_file_list"}}
</h2>
</div>
...
...
@@ -9,8 +9,10 @@
<ul
class=
'list clearfix lines'
>
{{#each files}}
<li>
<i
class=
"{{getFileIcon type}}"
></i>
<a
title=
"{{name}}"
href=
"{{url}}"
target=
"_blank"
class=
"room-file-item {{customClassForFileType}}"
>
{{name}}
</a>
<a
title=
"{{name}}"
href=
"{{url}}"
target=
"_blank"
class=
"room-file-item {{customClassForFileType}}"
>
<i
class=
"{{getFileIcon type}}"
></i>
<p>
{{name}}
</p>
</a>
</li>
{{/each}}
</ul>
...
...
@@ -22,4 +24,4 @@
{{/if}}
</div>
</div>
</template>
</template>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
packages/rocketchat-theme/assets/stylesheets/base.less
+
17
−
0
View file @
34bcd2bd
...
...
@@ -2785,6 +2785,23 @@ a.github-fork {
border: none;
}
}
&.uploaded-files-list {
a {
color: #008ce3;
padding: 10px 5px;
border-bottom: 1px solid #eaeaea;
display: block;
&:hover {
color: #006db0;
text-decoration: underline;
}
}
i {
float: left;
color: #444;
margin-right: 10px;
}
}
}
.user-view {
...
...
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