mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 16:06:15 +00:00
Add basic icon to delete conversation
This commit is contained in:
parent
e183c9f478
commit
a83c494d47
@ -71,15 +71,30 @@
|
|||||||
#ocsms-phone-label {
|
#ocsms-phone-label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #555;
|
color: #555;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ocsms-phone-opt-number {
|
#ocsms-phone-opt-number {
|
||||||
color: #999;
|
color: #999;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ocsms-phone-msg-nb {
|
#ocsms-phone-msg-nb {
|
||||||
color: #555;
|
color: #555;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ocsms-conversation-removal {
|
||||||
|
display: none;
|
||||||
|
float: left;
|
||||||
|
margin-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ocsms-conversation-removal:hover {
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ocsms-empty-conversation {
|
#ocsms-empty-conversation {
|
||||||
|
@ -99,6 +99,9 @@ var refreshConversation = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setMessageCountInfo(jsondata);
|
setMessageCountInfo(jsondata);
|
||||||
|
if ($('#ocsms-conversation-removal').is(':hidden')) {
|
||||||
|
$('#ocsms-conversation-removal').show();
|
||||||
|
}
|
||||||
|
|
||||||
if ($('#app-content-header').is(':hidden')) {
|
if ($('#app-content-header').is(':hidden')) {
|
||||||
$('#app-content-header').show();
|
$('#app-content-header').show();
|
||||||
@ -234,6 +237,10 @@ function fetchConversation(phoneNumber) {
|
|||||||
$('#app-content-header').show();
|
$('#app-content-header').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($('#ocsms-conversation-removal').is(':hidden')) {
|
||||||
|
$('#ocsms-conversation-removal').show();
|
||||||
|
}
|
||||||
|
|
||||||
$('#app-content-wrapper').html(conversationBuf);
|
$('#app-content-wrapper').html(conversationBuf);
|
||||||
$('#app-content').scrollTop(1E10);
|
$('#app-content').scrollTop(1E10);
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ use \OCA\OcSms\Lib\CountryCodes;
|
|||||||
|
|
||||||
<div id="app-content">
|
<div id="app-content">
|
||||||
<div id="app-content-header" style="display: none;">
|
<div id="app-content-header" style="display: none;">
|
||||||
<div id="ocsms-phone-label"></div>
|
<div id="ocsms-phone-label"></div><div id="ocsms-conversation-removal" class="icon-delete svn delete action"></div>
|
||||||
<div id="ocsms-phone-opt-number"></div>
|
<div id="ocsms-phone-opt-number"></div>
|
||||||
<div id="ocsms-phone-msg-nb"></div>
|
<div id="ocsms-phone-msg-nb"></div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user