cubicweb/web/data/cubicweb.manageview.css
author Laurent Peuch <cortex@worlddomination.be>
Thu, 16 May 2019 04:42:59 +0200
changeset 12614 8ac9ac8d9143
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[mod] make ViolatedConstraint actually display useful information Move from: (Pdb++) raise some_exception *** ViolatedConstraint: To: (Pdb++) raise some_exception *** ViolatedConstraint: constraint 'cstr56c2ab4b3154f21d08b067742ce5bd9d' is being violated by the query 'ALTER TABLE cw_Bibliography ADD CONSTRAINT cstr56c2ab4b3154f21d08b067742ce5bd9d CHECK(cw_item_type IN ('journalArticle', 'note', 'book', 'thesis', 'film', 'web page', 'manuscrit', 'tapuscrit'))'. You can run the inverted constraint on the database to list the problematic rows. And save hours of debugging to actually understand what is going on.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     1
/***************************************/
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     2
/* Manage view (views/startup.py)      */
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     3
/***************************************/
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     4
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     5
table.startup {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     6
  width: 100%;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     7
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     8
5477
f79c39be0b9b [css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 850
diff changeset
     9
/* table.startup td { */
f79c39be0b9b [css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 850
diff changeset
    10
/*   padding: 0.1em 0.2em; */
f79c39be0b9b [css] introducing scale and rhythm composition
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 850
diff changeset
    11
/* } */
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    12
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    13
table.startup td.addcol {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    14
  text-align: right;
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5477
diff changeset
    15
  width: 0.5em;
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    16
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    17
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5477
diff changeset
    18
table.startup th{
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5477
diff changeset
    19
  text-align: left;
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5477
diff changeset
    20
}