New actions on the left bar (closed #56)

This commit is contained in:
RainLoop Team 2014-02-08 02:35:48 +04:00
parent 126b55b2d5
commit ab07d102f9
11 changed files with 259 additions and 264 deletions

View file

@ -274,24 +274,6 @@ LinkBuilder.prototype.openPgpJs = function ()
this.sVersion + '/static/js/openpgp.js';
};
/**
* @return {string}
*/
LinkBuilder.prototype.ckeditorPath = function ()
{
return ('' === this.sCdnStaticDomain ? 'rainloop/v/' : this.sCdnStaticDomain) +
this.sVersion + '/static/ckeditor/';
};
/**
* @return {string}
*/
LinkBuilder.prototype.ckeditorJs = function ()
{
return ('' === this.sCdnStaticDomain ? 'rainloop/v/' : this.sCdnStaticDomain) +
this.sVersion + '/static/ckeditor/ckeditor.js';
};
/**
* @return {string}
*/

View file

@ -14,10 +14,20 @@
color: #fff;
}
.b-footer {
position: absolute;
bottom: 20px;
right: 0;
left: 0;
height: 20px;
padding: 0 10px 0 0;
z-index: 101;
}
.b-content {
position: absolute;
top: 50px + @rlLowMargin;
bottom: @rlLowMargin + @rlBottomMargin;
bottom: 30px + @rlLowMargin + @rlBottomMargin;
// left: @rlLowMargin;
left: 0;
right: 0;
@ -36,7 +46,7 @@
border-bottom: 1px solid #999;
}
.e-item {
.b-content .e-item {
overflow: hidden;
white-space: nowrap;

View file

@ -111,6 +111,16 @@ MailBoxFolderListViewModel.prototype.composeClick = function ()
kn.showScreenPopup(PopupsComposeViewModel);
};
MailBoxFolderListViewModel.prototype.createFolder = function ()
{
kn.showScreenPopup(PopupsFolderCreateViewModel);
};
MailBoxFolderListViewModel.prototype.configureFolders = function ()
{
kn.setHash(RL.link().settings('folders'));
};
MailBoxFolderListViewModel.prototype.contactsClick = function ()
{
if (this.allowContacts)