From b68f26e42dbfe95783d63662963721bb030172e0 Mon Sep 17 00:00:00 2001 From: Wilson Miner Date: Tue, 19 Jul 2005 15:39:15 +0000 Subject: [PATCH] Added screenshots to admin css docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@210 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/admin_css.txt | 16 ++++++++++++++-- 1 file 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:: + +.. 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::
  • View on site
  • +.. 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 ------