[IMP] etherpad

bzr revid: fp@openerp.com-20120717222457-f652anzrzharlwkn
This commit is contained in:
Fabien Pinckaers 2012-07-18 00:24:57 +02:00
parent 36cde3d9fc
commit 4c82865bfd
2 changed files with 4 additions and 7 deletions

View File

@ -1,8 +1,6 @@
.etherpad_head{
width: 99.7%;
width: 100%;
display: block;
border-radius: 3px 3px 0px 0px;
background: -webkit-linear-gradient( #F7F7F7, #F1F1F1 80%);
padding-left:3px;
cursor:pointer;
}
@ -18,7 +16,7 @@
left: 0px;
top: 15px;
width: 100%;
height: 98% !important;
height: 100% !important;
z-index:10001 !important;
background-color:white;
}
@ -31,9 +29,8 @@
}
.etherpad_readonly{
width: 97.2%;
width: 100%;
height: 450px;
padding:7px 7px 10px 10px;
overflow:auto;
}
.etherpad_readonly ul,.etherpad_readonly ol{

View File

@ -4,7 +4,7 @@ instance.web.form.FieldEtherpad = instance.web.form.AbstractField.extend(_.exten
template: 'FieldEtherpad',
initialize_content: function() {
this.$textarea = undefined;
this.$element.find('span').text(this.field.string);
this.$element.find('span').text('Fullscreen');
this.$element.find('span').click(_.bind(function(ev){
this.$element.find('span').toggleClass('etherpad_zoom_head');
var iszoom = this.$element.find('span').hasClass('etherpad_zoom_head');