Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
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
Matrix
Commits
bb4490c2
Commit
bb4490c2
authored
10 years ago
by
Emmanuel ROHEE
Browse files
Options
Downloads
Patches
Plain Diff
Show image fullscreen when clicking on the thumbnail
parent
e4f0e1af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webclient/app.css
+24
-1
24 additions, 1 deletion
webclient/app.css
webclient/room/room.html
+7
-2
7 additions, 2 deletions
webclient/room/room.html
with
31 additions
and
3 deletions
webclient/app.css
+
24
−
1
View file @
bb4490c2
...
...
@@ -66,6 +66,10 @@ h1 {
background-color
:
#faa
;
}
.mouse-pointer
{
cursor
:
pointer
;
}
/*** Participant list ***/
#usersTableWrapper
{
...
...
@@ -89,7 +93,6 @@ h1 {
height
:
100px
;
position
:
relative
;
background-color
:
#000
;
cursor
:
pointer
;
}
.userAvatar
.userAvatarImage
{
...
...
@@ -245,6 +248,26 @@ h1 {
text-align
:
left
! important
;
}
#room-fullscreen-image
{
position
:
absolute
;
top
:
0px
;
height
:
0px
;
width
:
100%
;
height
:
100%
;
}
#room-fullscreen-image
img
{
max-width
:
100%
;
max-height
:
100%
;
bottom
:
0
;
left
:
0
;
margin
:
auto
;
overflow
:
auto
;
position
:
fixed
;
right
:
0
;
top
:
0
;
}
/*** Profile ***/
.profile-avatar
{
...
...
This diff is collapsed.
Click to expand it.
webclient/room/room.html
+
7
−
2
View file @
bb4490c2
...
...
@@ -10,7 +10,7 @@
<div
id=
"usersTableWrapper"
>
<table
id=
"usersTable"
>
<tr
ng-repeat=
"member in members | orderMembersList"
>
<td
class=
"userAvatar"
ng-click=
"goToUserPage(member.id)"
>
<td
class=
"userAvatar
mouse-pointer
"
ng-click=
"goToUserPage(member.id)"
>
<img
class=
"userAvatarImage"
ng-src=
"{{member.avatar_url || 'img/default-profile.jpg'}}"
alt=
"{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}"
...
...
@@ -46,7 +46,8 @@
<img
class=
"image"
ng-src=
"{{ msg.content.url }}"
/>
</div>
<div
ng-show=
'msg.content.thumbnail_url'
ng-style=
"{ 'height' : msg.content.thumbnail_info.h }"
>
<img
class=
"image"
ng-src=
"{{ msg.content.thumbnail_url }}"
/>
<img
class=
"image mouse-pointer"
ng-src=
"{{ msg.content.thumbnail_url }}"
ng-click=
"$parent.fullScreenImageURL = msg.content.url"
/>
</div>
</div>
</div>
...
...
@@ -96,4 +97,8 @@
</div>
</div>
<div
id=
"room-fullscreen-image"
ng-show=
"fullScreenImageURL"
ng-click=
"fullScreenImageURL = undefined;"
>
<img
ng-src=
"{{ fullScreenImageURL }}"
/>
</div>
</div>
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