[IMP] etherpad
bzr revid: fp@openerp.com-20120717222457-f652anzrzharlwkn
This commit is contained in:
parent
36cde3d9fc
commit
4c82865bfd
|
@ -1,8 +1,6 @@
|
||||||
.etherpad_head{
|
.etherpad_head{
|
||||||
width: 99.7%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 3px 3px 0px 0px;
|
|
||||||
background: -webkit-linear-gradient( #F7F7F7, #F1F1F1 80%);
|
|
||||||
padding-left:3px;
|
padding-left:3px;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
|
@ -18,7 +16,7 @@
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 15px;
|
top: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 98% !important;
|
height: 100% !important;
|
||||||
z-index:10001 !important;
|
z-index:10001 !important;
|
||||||
background-color:white;
|
background-color:white;
|
||||||
}
|
}
|
||||||
|
@ -31,9 +29,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.etherpad_readonly{
|
.etherpad_readonly{
|
||||||
width: 97.2%;
|
width: 100%;
|
||||||
height: 450px;
|
height: 450px;
|
||||||
padding:7px 7px 10px 10px;
|
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
}
|
}
|
||||||
.etherpad_readonly ul,.etherpad_readonly ol{
|
.etherpad_readonly ul,.etherpad_readonly ol{
|
||||||
|
|
|
@ -4,7 +4,7 @@ instance.web.form.FieldEtherpad = instance.web.form.AbstractField.extend(_.exten
|
||||||
template: 'FieldEtherpad',
|
template: 'FieldEtherpad',
|
||||||
initialize_content: function() {
|
initialize_content: function() {
|
||||||
this.$textarea = undefined;
|
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').click(_.bind(function(ev){
|
||||||
this.$element.find('span').toggleClass('etherpad_zoom_head');
|
this.$element.find('span').toggleClass('etherpad_zoom_head');
|
||||||
var iszoom = this.$element.find('span').hasClass('etherpad_zoom_head');
|
var iszoom = this.$element.find('span').hasClass('etherpad_zoom_head');
|
||||||
|
|
Loading…
Reference in New Issue