Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added screenshots to admin css docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b68f26e42dbfe95783d63662963721bb030172e0 1 parent 0bb0ad8
authored July 19, 2005

Showing 1 changed file with 14 additions and 2 deletions. Show diff stats Hide diff stats

  1. 16  docs/admin_css.txt
16  docs/admin_css.txt
@@ -20,6 +20,9 @@ group in a box and applies certain styles to the elements within. An ``h2``
20 20
 within a ``div.module`` will align to the top of the ``div`` as a header for the
21 21
 whole group.
22 22
 
  23
+.. image:: http://media.djangoproject.com/img/doc/admincss/module.gif
  24
+   :alt: Example use of module class on admin homepage
  25
+
23 26
 Column Types
24 27
 ============
25 28
 
@@ -138,8 +141,11 @@ additional class on the ``a`` for that tool. These are ``.addlink`` and
138 141
 Example from a changelist page::
139 142
 
140 143
     <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>
142 145
 	 </ul>
  146
+	
  147
+.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_01.gif
  148
+   :alt: Object tools on a changelist page
143 149
 
144 150
 and from a form page::
145 151
 
@@ -148,6 +154,9 @@ and from a form page::
148 154
      <li><a href="/r/303/152383/" class="viewsitelink">View on site</a></li>
149 155
     </ul>
150 156
 
  157
+.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_02.gif
  158
+   :alt: Object tools on a form page
  159
+
151 160
 Form Styles
152 161
 ===========
153 162
 
@@ -172,7 +181,10 @@ Form Rows
172 181
 
173 182
 Each row of the form (within the ``fieldset``) should be enclosed in a ``div``
174 183
 with 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
176 188
 
177 189
 Labels
178 190
 ------

0 notes on commit b68f26e

Please sign in to comment.
Something went wrong with that request. Please try again.