]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxToolbar.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1265 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / UIxToolbar.wox
1 <?xml version="1.0" standalone="yes"?>
2   <var:if condition="hasButtons"
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:var="http://www.skyrix.com/od/binding"
5     xmlns:const="http://www.skyrix.com/od/constant"
6     xmlns:rsrc="OGo:url"
7     xmlns:label="OGo:label"
8     xmlns:so="http://www.skyrix.com/od/so-lookup">
9     <div id="toolbar" class="toolbar">
10       <var:foreach list="toolbarConfig" item="toolbarGroup"
11         ><var:foreach list="toolbarGroup" item="buttonInfo"
12           ><var:if condition="isButtonEnabled"
13             ><button class="toolbarButton"
14               var:href="buttonInfo.link"
15               var:target="buttonInfo.target"
16               var:onclick="buttonInfo.onclick"
17               var:title="buttonTooltip"
18               ><img class="buttonImage"
19                   var:src="buttonImage"
20                   var:alt="buttonTooltip"
21                   /><var:if condition="hasMenu"
22                   ><img class="buttonMenuArrow"
23                     rsrc:src="arrow-dwn-sharp.gif"
24                     var:alt="buttonTooltip"
25                     /></var:if
26                   ><br
27                   /><span class="buttonLabel"
28                   ><var:string
29                     value="buttonLabel"
30                     /></span
31                 ></button
32               ></var:if
33             ><var:if condition="isButtonEnabled"
34             const:negate="YES"
35             ><span class="disabledToolbarButton"
36               ><img class="buttonImage"
37                 var:src="buttonImage"
38                 var:alt="buttonTooltip"
39                 /><br
40                 /><span class="buttonLabel"
41                 ><var:string
42                   value="buttonLabel"
43                   /></span
44                 ></span
45               ></var:if
46             ></var:foreach>
47         <var:if condition="isLastGroup" const:negate="YES"
48           ><span class="toolbarSeparator"
49             ><var:entity const:name="nbsp"
50               /></span
51             ></var:if>
52         </var:foreach>
53       <img id="progressIndicator" rsrc:src="busy.gif" />
54     </div>
55   </var:if>