equal
deleted
inserted
replaced
20 __authors__ = [ |
20 __authors__ = [ |
21 '"Todd Larsen" <tlarsen@google.com>', |
21 '"Todd Larsen" <tlarsen@google.com>', |
22 ] |
22 ] |
23 |
23 |
24 |
24 |
25 from soc.logic import menu |
|
26 |
|
27 |
|
28 class HtmlMenu: |
25 class HtmlMenu: |
29 """Ordered collection of MenuItem objects as <p>...</p> paragraphs. |
26 """Ordered collection of MenuItem objects as <p>...</p> paragraphs. |
30 """ |
27 """ |
31 ITEM_PREFIX_FMT = '%(indent)s<p>' |
28 ITEM_PREFIX_FMT = '%(indent)s<p>' |
32 ITEM_SUFFIX_FMT = '%(indent)s</p>' |
29 ITEM_SUFFIX_FMT = '%(indent)s</p>' |