diff options
| author | Wilson Miner <wminer@gmail.com> | 2005-07-19 15:39:15 +0000 |
|---|---|---|
| committer | Wilson Miner <wminer@gmail.com> | 2005-07-19 15:39:15 +0000 |
| commit | b68f26e42dbfe95783d63662963721bb030172e0 (patch) | |
| tree | a722ccfc07847cfe02b08b91f87db4a232e96b13 /docs/admin_css.txt | |
| parent | 0bb0ad8d435cc4eb3f7d9481ead7085e12e0a088 (diff) | |
Added screenshots to admin css docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/admin_css.txt')
| -rw-r--r-- | docs/admin_css.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/admin_css.txt b/docs/admin_css.txt index 8b343779db..1edd709b11 100644 --- a/docs/admin_css.txt +++ b/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:: http://media.djangoproject.com/img/doc/admincss/module.gif + :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> </ul> + +.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_01.gif + :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> </ul> +.. image:: http://media.djangoproject.com/img/doc/admincss/objecttools_02.gif + :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:: http://media.djangoproject.com/img/doc/admincss/formrow.gif + :alt: Example use of form-row class Labels ------ |
