Django

Code

Changeset 1380

Show
Ignore:
Timestamp:
11/23/05 17:12:24 (3 years ago)
Author:
adrian
Message:

Added Wilson's CSS tweaks to the template error screen

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/debug.py

    r1379 r1380  
    173173    table td.code { width:100%; } 
    174174    table td.code div { overflow:hidden; } 
     175    table.source th { color:#666; } 
     176    table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } 
    175177    ul.traceback { list-style-type:none; } 
    176178    ul.traceback li.frame { margin-bottom:1em; } 
     
    185187    #summary h2 { font-weight: normal; color: #666; } 
    186188    #explanation { background:#eee; } 
     189    #template { background:#f6f6f6; } 
    187190    #traceback { background:#eee; } 
    188191    #requestinfo { background:#f6f6f6; padding-left:120px; } 
     
    190193    #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } 
    191194    #requestinfo h3 { margin-bottom:-1em; } 
    192     table.source td { font-family: monospace; white-space: pre; } 
    193     span.specific { background:#ffcab7; } 
    194195    .error { background: #ffc; } 
     196    .specific { color:#cc3300; font-weight:bold; } 
    195197  </style> 
    196198  <script type="text/javascript">