Try a new status indicator in messaging

This commit is contained in:
yflory 2018-09-13 11:49:01 +02:00
parent 1cd1542d19
commit 1b2f47c0c0
3 changed files with 15 additions and 3 deletions

View File

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

View File

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

View File

@ -465,7 +465,9 @@ define([
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', [
h('span.cp-app-contacts-name', [room.name]),
room.isFriendChat ? remove :