One toolbar color per app

This commit is contained in:
yflory
2017-06-20 12:33:50 +02:00
parent 5a248db267
commit 59fb5bd8be
10 changed files with 157 additions and 63 deletions

View File

@@ -67,6 +67,11 @@ define([
id: uid(),
});
var parsed = Cryptpad.parsePadUrl(window.location.href);
if (typeof parsed.type === "string") {
$toolbar.addClass(parsed.type);
}
var $topContainer = $('<div>', {'class': TOP_CLS});
var $userContainer = $('<span>', {
'class': USER_CLS