48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<bindings id="dialogBindings"
|
|
xmlns="http://www.mozilla.org/xbl"
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<binding id="smallheader">
|
|
<content>
|
|
<xul:box class="box-smallheader-box toolbar-primary" align="center" flex="1">
|
|
<xul:label class="box-smallheader-left" inherits="value=title"/>
|
|
<xul:spacer flex="1"/>
|
|
<xul:label class="box-smallheader-right" inherits="value=description"/>
|
|
</xul:box>
|
|
</content>
|
|
<implementation>
|
|
<property name="title" onset="this.setAttribute('title',val); return val;"
|
|
onget="return this.getAttribute('title');"/>
|
|
<property name="description" onset="this.setAttribute('description',val); return val;"
|
|
onget="return this.getAttribute('description');"/>
|
|
</implementation>
|
|
</binding>
|
|
|
|
<binding id="largeheader">
|
|
<content>
|
|
<xul:box class="box-header-header toolbar-primary" flex="1" align="center">
|
|
<xul:box class="box-header-circle-box" align="center">
|
|
<xul:image inherits="src" class="box-header-circle"/>
|
|
</xul:box>
|
|
<xul:box align="center" class="box-header-text-box">
|
|
<xul:label class="box-header-text" inherits="value"/>
|
|
</xul:box>
|
|
<xul:spacer flex="1"/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="status">
|
|
<content>
|
|
<xul:box class="box-status-bg toolbar-standard" flex="1">
|
|
<xul:label class="box-status-text" inherits="label"/>
|
|
<xul:spacer flex="1"/>
|
|
<xul:label class="box-status-progress" inherits="value=progress"/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
</bindings>
|