new junto images
This commit is contained in:
parent
987cd7f5a0
commit
e29b683b38
6 changed files with 4 additions and 3 deletions
BIN
app/assets/images/ellipsis.gif
Normal file
BIN
app/assets/images/ellipsis.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 220 B |
BIN
app/assets/images/invitepeer16.png
Normal file
BIN
app/assets/images/invitepeer16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 223 B |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
BIN
app/assets/images/junto_spinner_dark.gif
Normal file
BIN
app/assets/images/junto_spinner_dark.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -15,7 +15,7 @@ Metamaps.Views.chatView = (function () {
|
|||
participantHTML: "<div class='participant participant-{{ id }}'>" +
|
||||
"<div class='chat-participant-image'><img src='{{ image }}' style='border: 2px solid {{ color }};' /></div>" +
|
||||
"<div class='chat-participant-name'>{{ username }}</div>" +
|
||||
"<button type='button' class='button chat-participant-invite' onclick='Metamaps.Realtime.inviteACall({{ id}});'>I</button>" +
|
||||
"<button type='button' class='button chat-participant-invite' onclick='Metamaps.Realtime.inviteACall({{ id}});'></button>" +
|
||||
"<div class='clearfloat'></div>" +
|
||||
"</div>",
|
||||
templates: function() {
|
||||
|
@ -121,7 +121,7 @@ Metamaps.Views.chatView = (function () {
|
|||
var date = (m.timestamp.getMonth() + 1) + '/' + m.timestamp.getDate();
|
||||
date += " " + addZero(m.timestamp.getHours()) + ":" + addZero(m.timestamp.getMinutes());
|
||||
m.timestamp = date;
|
||||
m.image = m.user_image || 'http://www.hotpepper.ca/wp-content/uploads/2014/11/default_profile_1_200x200.png';
|
||||
m.image = m.user_image || 'http://www.hotpepper.ca/wp-content/uploads/2014/11/default_profile_1_200x200.png'; // TODO: remove
|
||||
m.message = linker.link(m.message);
|
||||
var $html = $(this.messageTemplate(m));
|
||||
this.$messages.append($html);
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
.chat-box .chat-button.active {
|
||||
background: url(<%= asset_path 'junto.gif' %>) no-repeat 2px 9px, url(<%= asset_path 'tray_tab.png' %>) no-repeat !important;
|
||||
background: url(<%= asset_path 'junto_spinner_dark.gif' %>) no-repeat 2px 8px, url(<%= asset_path 'tray_tab.png' %>) no-repeat !important;
|
||||
}
|
||||
.chat-box .chat-button .chat-unread {
|
||||
display: none;
|
||||
|
@ -231,6 +231,7 @@
|
|||
}
|
||||
.chat-box .participants .participant .chat-participant-invite {
|
||||
float: right;
|
||||
background: #4FC059 url(<%= asset_path 'invitepeer16.png' %>) no-repeat center center;
|
||||
}
|
||||
.chat-box .chat-header {
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in a new issue