Browse files

Added screenshots to admin css docs

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0bb0ad8 commit b68f26e42dbfe95783d63662963721bb030172e0 Wilson Miner committed Jul 19, 2005
Showing with 14 additions and 2 deletions.
  1. +14 −2 docs/admin_css.txt
@@ -20,6 +20,9 @@ group in a box and applies certain styles to the elements within. An ``h2``
within a ``div.module`` will align to the top of the ``div`` as a header for the
whole group.
+.. image::
+ :alt: Example use of module class on admin homepage
Column Types
@@ -138,8 +141,11 @@ additional class on the ``a`` for that tool. These are ``.addlink`` and
Example from a changelist page::
<ul class="object-tools">
- <li><a href="/stories/add/" class="addlink">Add story</a></li>
+ <li><a href="/stories/add/" class="addlink">Add redirect</a></li>
+.. image::
+ :alt: Object tools on a changelist page
and from a form page::
@@ -148,6 +154,9 @@ and from a form page::
<li><a href="/r/303/152383/" class="viewsitelink">View on site</a></li>
+.. image::
+ :alt: Object tools on a form page
Form Styles
@@ -172,7 +181,10 @@ Form Rows
Each row of the form (within the ``fieldset``) should be enclosed in a ``div``
with class ``form-row``. If the field in the row is required, a class of
-``required`` should also be added to the ``form-row div``.
+``required`` should also be added to the ``div.form-row``.
+.. image::
+ :alt: Example use of form-row class

0 comments on commit b68f26e

Please sign in to comment.