Django

Code

Changeset 210

Show
Ignore:
Timestamp:
07/19/05 10:39:15 (3 years ago)
Author:
wilson
Message:

Added screenshots to admin css docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/admin_css.txt

    r209 r210  
    2020within a ``div.module`` will align to the top of the ``div`` as a header for the 
    2121whole group. 
     22 
     23.. image:: http://media.djangoproject.com/img/doc/admincss/module.gif 
     24   :alt: Example use of module class on admin homepage 
    2225 
    2326Column Types 
     
    139142 
    140143    <ul class="object-tools"> 
    141           <li><a href="/stories/add/" class="addlink">Add story</a></li> 
     144          <li><a href="/stories/add/" class="addlink">Add redirect</a></li> 
    142145         </ul> 
     146         
     147.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_01.gif 
     148   :alt: Object tools on a changelist page 
    143149 
    144150and from a form page:: 
     
    148154     <li><a href="/r/303/152383/" class="viewsitelink">View on site</a></li> 
    149155    </ul> 
     156 
     157.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_02.gif 
     158   :alt: Object tools on a form page 
    150159 
    151160Form Styles 
     
    173182Each row of the form (within the ``fieldset``) should be enclosed in a ``div`` 
    174183with class ``form-row``. If the field in the row is required, a class of 
    175 ``required`` should also be added to the ``form-row div``. 
     184``required`` should also be added to the ``div.form-row``. 
     185 
     186.. image:: http://media.djangoproject.com/img/doc/admincss/formrow.gif 
     187   :alt: Example use of form-row class 
    176188 
    177189Labels