Added collaborators list widget
This commit is contained in:
parent
c01447347c
commit
ec39aaaaf4
3 changed files with 24 additions and 0 deletions
|
@ -921,10 +921,13 @@ class kolab_files_engine
|
||||||
'filepreviewframe' => array($this, 'file_preview_frame'),
|
'filepreviewframe' => array($this, 'file_preview_frame'),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$placeholder = $this->rc->output->asset_url('program/resources/blank.gif');
|
||||||
|
|
||||||
// this one is for styling purpose
|
// this one is for styling purpose
|
||||||
$this->rc->output->set_env('extwin', true);
|
$this->rc->output->set_env('extwin', true);
|
||||||
$this->rc->output->set_env('file', $file);
|
$this->rc->output->set_env('file', $file);
|
||||||
$this->rc->output->set_env('file_data', $this->file_data);
|
$this->rc->output->set_env('file_data', $this->file_data);
|
||||||
|
$this->rc->output->set_env('photo_placeholder', $placeholder);
|
||||||
$this->rc->output->set_pagetitle(rcube::Q($file));
|
$this->rc->output->set_pagetitle(rcube::Q($file));
|
||||||
$this->rc->output->send('kolab_files.' . ($viewer & 4 ? 'docedit' : 'filepreview'));
|
$this->rc->output->send('kolab_files.' . ($viewer & 4 ? 'docedit' : 'filepreview'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,6 +79,22 @@
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#collaborators {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: -6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#collaborators #members img.photo {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
overflow: hidden;
|
||||||
|
background: url(../../../../skins/larry/images/contactpic_32px.png) center center no-repeat #fff;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: solid 3px #eee;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#quicksearchbar #filesearchmenulink {
|
#quicksearchbar #filesearchmenulink {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
<label for="document-title"><roundcube:label name="kolab_files.documenttitle" /> <input id="document-title" type="text" value="" /></label>
|
<label for="document-title"><roundcube:label name="kolab_files.documenttitle" /> <input id="document-title" type="text" value="" /></label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h2 id="aria-label-collaborators" class="voice"><roundcube:label name="kolab_files.arialabelcollaborators" /></h2>
|
||||||
|
<div id="collaborators" class="toolbar" role="toolbar" aria-labelledby="aria-label-collaborators">
|
||||||
|
<div id="members"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="filecontent" class="uibox docedit">
|
<div id="filecontent" class="uibox docedit">
|
||||||
<div class="iframebox">
|
<div class="iframebox">
|
||||||
<roundcube:object name="filepreviewframe" id="fileframe" frameborder="0" title="kolab_files.arialabelfilecontent" />
|
<roundcube:object name="filepreviewframe" id="fileframe" frameborder="0" title="kolab_files.arialabelfilecontent" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue