[IMP] live chat useablity
bzr revid: fp@tinyerp.com-20130213110420-l75p4u6onjql9126
This commit is contained in:
@@ -123,9 +123,9 @@ class live_support_channel(osv.osv):
|
||||
'are_you_inside': fields.function(_are_you_inside, type='boolean', string='Are you inside the matrix?', store=False),
|
||||
'script': fields.function(_script, type='text', string='Script', store=False),
|
||||
'web_page': fields.function(_web_page, type='url', string='Web Page', store=False, size="200"),
|
||||
'button_text': fields.char(string="Button Text", size=200),
|
||||
'input_placeholder': fields.char(string="Input Placeholder", size=200),
|
||||
'default_message': fields.char(string="Default Message", size=200),
|
||||
'button_text': fields.char(string="Text of the Button", size=200),
|
||||
'input_placeholder': fields.char(string="Chat Input Placeholder", size=200),
|
||||
'default_message': fields.char(string="Welcome Message", size=200, help="This is an automated 'welcome' message that your visitor will see when they initiate a new chat session."),
|
||||
# image: all image fields are base64 encoded and PIL-supported
|
||||
'image': fields.binary("Photo",
|
||||
help="This field holds the image used as photo for the group, limited to 1024x1024px."),
|
||||
@@ -148,7 +148,7 @@ class live_support_channel(osv.osv):
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'button_text': "Chat with one of our collaborators",
|
||||
'button_text': "Have a Question? Chat with us.",
|
||||
'input_placeholder': "How may I help you?",
|
||||
'default_message': '',
|
||||
'user_ids': lambda self,cr, uid, ctx={}: [uid],
|
||||
|
||||
@@ -37,45 +37,25 @@
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -150px 0 0 -210px;
|
||||
width: 100%;
|
||||
margin-top: -150px;
|
||||
color: white;
|
||||
text-shadow: 0 1px 0 rgba(34, 52, 72, 0.2);
|
||||
z-index: 10;
|
||||
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.main h1 {
|
||||
position: relative;
|
||||
left: -4px;
|
||||
padding-bottom: 5px;
|
||||
font-size: 64px;
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
font-size: 54px;
|
||||
}
|
||||
.main h1 .strong {
|
||||
position: absolute;
|
||||
bottom: 39px;
|
||||
height: 21px;
|
||||
line-height: 22px;
|
||||
margin: -2px 0 0 10px;
|
||||
background: white;
|
||||
color: #aeb0cf;
|
||||
font-size: 18px;
|
||||
padding: 2px 6px 2px 5px;
|
||||
-moz-box-shadow: 0 0 1px rgba(34, 52, 72, 0.2), 0 1px 0 rgba(34, 52, 72, 0.1);
|
||||
-webkit-box-shadow: 0 0 1px rgba(34, 52, 72, 0.2), 0 1px 0 rgba(34, 52, 72, 0.1);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 1px rgba(34, 52, 72, 0.2), 0 1px 0 rgba(34, 52, 72, 0.1);
|
||||
text-shadow: none;
|
||||
.main div {
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main" style="opacity: 1;">
|
||||
<h1>OpenERP<span class="strong">7.0</span></h1>
|
||||
<div class="channel_name">{{channelName | escape}}</div>
|
||||
<h1 class="channel_name">{{channelName | escape}}</h1>
|
||||
<div>Live Chat Powered by <strong>OpenERP</strong>.</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user