web/data/cubicweb.log.css
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 10 Jun 2014 16:01:49 +0200
changeset 10354 635cfac73d28
parent 7995 9a9f35ef418c
permissions -rw-r--r--
[repoapi] fold ClientConnection into Connection Connection replaces ClientConnection everywhere. Some notes: * testlib: .client_cnx and .repo_cnx become aliases of .cnx (we might not want to tell people to update their tests again for just no real benefit, so we'll live with these aliases for a while) * entity.as_rset must not be cached because we risk caching result sets having a Connection object as .req (helps unittest_breadcrumbs) * entity._cw_dont_cache_attributes loses its repo/request special paths and only keeps its storage/bfss user (this helps unittest_wfobjs) * moreover, entity.cw_instantiate and .cw_set stop overriding the attributes cache *after* the before_*_entity hooks have run, because there is no need to (it is now actually harmful to do it and unittest_hooks.test_html_tidy* tests remain green because of this) * rset._build_entity sticks its .req onto the entity just fetched from the cache, because otherwise it might carry a _cw that is a Connection object where a Request is expected (helps unittest_views_actions) * we get overall better cache usages (entity caches were split over Request + ClientConnection and Connection), hence the changes unittest_entity and unittest_wfobjs * void the ecache when providing the cnx to a request object Having the entity cache pre-filled when we bind it to the request object hurts because these entities are bound to Connection objects, that lack e.g. `.form` or `.add_js` and crash the views subsystem. Thus, the unittest_testlib.test_error_raised test will are kept green. Closes #3837233

/* sample css file for logs
 *
 * Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE).
 * http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

pre.rawtext {
    overflow: auto;
    max-width: 110em;
    padding: 0 0 0 0;
}

table.listing td.logSeverity {
    font-weight: bold;
    padding-left: 0.5em;
    padding-right: 1em;
}

table.listing pre{
    color: black;
}

table.listing .logDebug a{
    color : #444 ;
}
table.listing .logDebug td{
    color : #444 ;
    border-color: grey #AAA;
}

table.listing .logDebug pre{
    background-color : transparent ;
    border: none;
}

table.listing .logSeverity .internallink {
    visibility: hidden;
    color: #FF4500;
    font-weight: bolder;
}

table.listing tr:hover .internallink {
    visibility: visible;
}

table.listing .internallink:hover {
    background-color: #FF4500;
    color: White;
    font-weight: bolder;
}

table.listing .logInfo a{
    color : #240 ;
}

table.listing .logInfo td{
    color : #240 ;
    background-color : #DFD ;
    border-color: grey #AFA;
}

table.listing .logInfo pre{
    background-color : transparent ;
    border: none;
}

table.listing .logWarning a{
    color : #A42 ;
}
table.listing .logWarning td{
    color : #A42 ;
    background-color : #FFC ;
    border-color: grey #FA6;
}

table.listing .logWarning pre{
    background-color : transparent ;
    border: none;
}

table.listing .logError a{
    color : #A00 ;
}
table.listing .logError td{
    color : #A00 ;
    background-color : #FDD ;
    border-color: grey #FAA;
}

table.listing .logError pre{
    background-color : transparent ;
    border: none;
}

table.listing .logFatal a{
    color : #00A;
}
table.listing .logFatal td{
    color : #00A;
    background-color : #DDF ;
    border-color: grey #AAF;
}

table.listing .logFatal pre{
    background-color : transparent ;
    border: none;
}

div.validPlan{
  color: green;
  text-align: center;
}

div.invalidPlan{
  color: red;
  text-align: center;
}