Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1318 -- Made changes to docs/admin_css.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bd41a51942c191d8a58536518f2e1d08456976af 1 parent 8626c0f
Adrian Holovaty authored February 02, 2006

Showing 1 changed file with 11 additions and 10 deletions. Show diff stats Hide diff stats

  1. 21  docs/admin_css.txt
21  docs/admin_css.txt
@@ -26,10 +26,13 @@ whole group.
26 26
 Column Types
27 27
 ============
28 28
 
  29
+.. admonition:: Note
  30
+
  31
+    In the Django development version, all admin pages (except the dashboard) are fluid-width. All fixed-width classes have been removed.
  32
+
29 33
 The base template for each admin page has a block that defines the column
30 34
 structure for the page. This sets a class on the page content area
31  
-(``div#content``) so everything on the page knows how wide it should be. So far
32  
-there are three options available, and one special hybrid option.
  35
+(``div#content``) so everything on the page knows how wide it should be. There are three column types available.
33 36
 
34 37
 colM
35 38
     This is the default column setting for all pages. The "M" stands for "main".
@@ -43,27 +46,25 @@ colMS
43 46
 colSM
44 47
     Same as above, with the sidebar on the left. The source order of the columns
45 48
     doesn't matter.
46  
-colM superwide
  49
+colM superwide (removed in Django development version)
47 50
     This is for ridiculously wide pages. Doesn't really work very well for
48 51
     anything but colM. With superwide, you've got 1000px to work with. Don't
49 52
     waste them.
50  
-flex
  53
+flex (removed in Django development version)
51 54
     This is for liquid-width pages, such as changelists. Currently only works
52 55
     with single-column pages (does not combine with ``.colMS`` or ``.colSM``).
53 56
     Form pages should never use ``.flex``.
54 57
 
55  
-For instance, you could stick this in a template to make a superwide page::
  58
+For instance, you could stick this in a template to make a two-column page with the sidebar on the right::
56 59
 
57  
-    {% block coltype %}colM superwide{% endblock %}
  60
+    {% block coltype %}colMS{% endblock %}
58 61
 
59  
-or this to make a liquid-width page (note that ``flex`` replaces ``colM``, so
60  
-both classes are not required)::
61  
-
62  
-    {% block coltype %}flex{% endblock %}
63 62
 
64 63
 Widths
65 64
 ======
66 65
 
  66
+**Removed in Django development version (see note above).**
  67
+
67 68
 There's a whole mess of classes in the stylesheet for custom pixel widths on
68 69
 objects. They come in handy for tables and table cells, if you want to avoid
69 70
 using the ``width`` attribute. Each class sets the width to the number of pixels

0 notes on commit bd41a51

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