mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Small fixes
This commit is contained in:
parent
67f666fa7d
commit
9b59ad32dc
16 changed files with 433 additions and 233 deletions
|
|
@ -273,6 +273,16 @@ AbstractApp.prototype.pub = function (sName, aArgs)
|
|||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} sName
|
||||
* @return {boolean}
|
||||
*/
|
||||
AbstractApp.prototype.capa = function (sName)
|
||||
{
|
||||
var mCapa = this.settingsGet('Capa');
|
||||
return Utils.isArray(mCapa) && Utils.isNormal(sName) && -1 < Utils.inArray(sName, mCapa);
|
||||
};
|
||||
|
||||
AbstractApp.prototype.bootstart = function ()
|
||||
{
|
||||
var self = this;
|
||||
|
|
|
|||
|
|
@ -212,6 +212,11 @@ AdminApp.prototype.bootstart = function ()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!RL.capa(Enums.Capa.Prem))
|
||||
{
|
||||
Utils.removeSettingsViewModel(AdminBranding);
|
||||
}
|
||||
|
||||
if (!!RL.settingsGet('Auth'))
|
||||
{
|
||||
// TODO
|
||||
|
|
|
|||
|
|
@ -27,6 +27,13 @@ Enums.StateType = {
|
|||
'Admin': 1
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
*/
|
||||
Enums.Capa = {
|
||||
'Prem': 'PREM'
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.b-domain-content {
|
||||
|
||||
&.modal {
|
||||
width: 645px;
|
||||
width: 810px;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
|
|
@ -11,17 +11,17 @@
|
|||
.modal-body {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 1300px;
|
||||
height: 390px;
|
||||
width: 1600px;
|
||||
height: 370px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&.domain-edit .modal-body {
|
||||
height: 350px;
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
&.domain-white-list-page .modal-body {
|
||||
left: -640px;
|
||||
left: -800px;
|
||||
}
|
||||
|
||||
.error-desc {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue