more on actions; added icons
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2537 fd906abe-77d9-0310-91a1-e0d9ade77398
|
@ -1,8 +1,13 @@
|
|||
<!-- action macros -->
|
||||
|
||||
<metal:action define-macro="action">
|
||||
<div tal:condition="action/condition">
|
||||
<metal:action define-macro="action"
|
||||
tal:condition="action/condition">
|
||||
<div class="action"
|
||||
tal:attributes="class action/cssClass;
|
||||
id action/dialogName|nothing;
|
||||
title action/description;">
|
||||
<a href="#" target="target_window" title="Description text"
|
||||
tal:omit-tag="not:action/url"
|
||||
tal:attributes="href action/url;
|
||||
target action/targetWindow;
|
||||
title action/description;
|
||||
|
|
BIN
browser/icons/info.png
Normal file
After Width: | Height: | Size: 778 B |
BIN
browser/icons/ledblue.png
Normal file
After Width: | Height: | Size: 848 B |
BIN
browser/icons/ledgreen.png
Normal file
After Width: | Height: | Size: 840 B |
BIN
browser/icons/ledlightblue.png
Normal file
After Width: | Height: | Size: 780 B |
BIN
browser/icons/ledlightgreen.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
browser/icons/ledorange.png
Normal file
After Width: | Height: | Size: 784 B |
BIN
browser/icons/ledpurple.png
Normal file
After Width: | Height: | Size: 856 B |
BIN
browser/icons/ledred.png
Normal file
After Width: | Height: | Size: 783 B |
BIN
browser/icons/ledyellow.png
Normal file
After Width: | Height: | Size: 766 B |
BIN
browser/icons/tick.png
Normal file
After Width: | Height: | Size: 537 B |
|
@ -33,6 +33,8 @@ class State(object):
|
|||
|
||||
implements(IState)
|
||||
|
||||
color = 'blue'
|
||||
|
||||
def __init__(self, name, title, transitions, **kw):
|
||||
self.name = self.__name__ = name
|
||||
self.title = title
|
||||
|
|