web/data/cubicweb.acl.css
author Rémi Cardona <remi.cardona@logilab.fr>
Wed, 11 Mar 2015 15:17:25 +0100
changeset 10224 996cf2c0ec99
parent 5819 1017163825c7
permissions -rw-r--r--
[config] Lowercase the FQDN we get from the OS (closes #5040345) Browsers convert the host name part of URLs to lowercase. This has the unfortunate effect of triggering various CORS error messages in CubicWeb (because the Origin: header will contain lowercase letters). As per RFC 4343, host name comparison should be case-insensitive. So let's put it in lowercase when we grab it from the host system. If admins put uppercase letters in "host" or "base-url" in their all-in-one.conf, then it's their fault.

/* styles for access control forms)
 *
 *  :organization: Logilab
 *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/******************************************************************************/
/* security edition form (views/management.py)   web/views/schema.py          */
/******************************************************************************/

h2.schema{
 color: %(aColor)s;
}

table.schemaInfo td a.users{
 color : #00CC33;
 font-weight: bold;
}

table.schemaInfo td a.guests{
 color:  #ff7700;
 font-weight: bold;
}

table.schemaInfo td a.owners{
 color: #8b0000;
 font-weight: bold;
}

table.schemaInfo td a.managers{
 color: #000000;
 font-weight: bold;
}

.discret,
table.schemaInfo td a.grey{
 color:#666;
}

a.grey:hover{
 color:#000;
}

.red{
 color:  #ff7700;
 }

div#schema_security{
 width:100%;
 }