Try a new status indicator in messaging

pull/1/head
yflory 7 years ago
parent 1cd1542d19
commit 1b2f47c0c0

@ -176,17 +176,25 @@
//opacity: 0.7; //opacity: 0.7;
//background-color: #777; //background-color: #777;
width: (@room-height - 6px); /* width: (@room-height - 6px);
top: 3px; top: 3px;
bottom: 3px; bottom: 3px;
left: 3px; left: 3px;
border-radius: 100%; border-radius: 100%;
*/
width: 10px;
height: 10px;
top: 0;
right: 0;
border-bottom-left-radius: 100%;
&.cp-app-contacts-online { &.cp-app-contacts-online {
//background-color: green; //background-color: green;
background-color: white; //background-color: white;
background-color: #c5ffa8;
} }
&.cp-app-contacts-offline { &.cp-app-contacts-offline {
display: none;
//background-color: red; //background-color: red;
} }
} }

@ -385,6 +385,8 @@ define(function () {
out.contacts_rooms = "Rooms"; out.contacts_rooms = "Rooms";
out.contacts_leaveRoom = "Leave this room"; out.contacts_leaveRoom = "Leave this room";
out.contacts_online = "Another user from this room is online";
// File manager // File manager
out.fm_rootName = "Documents"; out.fm_rootName = "Documents";

@ -465,7 +465,9 @@ define([
title: Messages.contacts_leaveRoom title: Messages.contacts_leaveRoom
}); });
var status = h('span.cp-app-contacts-status'); var status = h('span.cp-app-contacts-status', {
title: Messages.contacts_online
});
var rightCol = h('span.cp-app-contacts-right-col', [ var rightCol = h('span.cp-app-contacts-right-col', [
h('span.cp-app-contacts-name', [room.name]), h('span.cp-app-contacts-name', [room.name]),
room.isFriendChat ? remove : room.isFriendChat ? remove :

Loading…
Cancel
Save