lint compliance

master
ansuz 3 years ago
parent 6102c704e0
commit 633b8e062f

@ -509,9 +509,6 @@
position: absolute; position: absolute;
z-index: 50; z-index: 50;
} }
&.cp-app-drive-readonly { // XXX DB never applied?
// background: contrast(@cp_sidebar-right-bg, darken(@cp_sidebar-right-bg, 10%), lighten(@cp_sidebar-right-bg, 10%));
}
h1 { h1 {
padding-left: 10px; padding-left: 10px;
margin-top: 10px; margin-top: 10px;

@ -430,6 +430,16 @@ define([
return $div; return $div;
}; };
var getInstanceString = function (attr) {
var val = APP.instanceStatus[attr];
var type = typeof(val);
switch (type) {
case 'string': return val;
case 'object': return val.default;
default: return;
}
};
create['jurisdiction'] = function () { // XXX make translateable create['jurisdiction'] = function () { // XXX make translateable
var key = 'jurisdiction'; var key = 'jurisdiction';
var $div = makeBlock(key, true); // Msg.admin_jurisdictionHint, Msg.admin_jurisdictionTitle, Msg.admin_jurisdictionButton var $div = makeBlock(key, true); // Msg.admin_jurisdictionHint, Msg.admin_jurisdictionTitle, Msg.admin_jurisdictionButton
@ -519,16 +529,6 @@ define([
)); ));
}; };
var getInstanceString = function (attr) {
var val = APP.instanceStatus[attr];
var type = typeof(val);
switch (type) {
case 'string': return val;
case 'object': return val.default;
default: return;
}
};
create['name'] = function () { // XXX make translateable create['name'] = function () { // XXX make translateable
var key = 'name'; var key = 'name';
var $div = makeBlock(key, true); var $div = makeBlock(key, true);

Loading…
Cancel
Save