add dialog header&footer

This commit is contained in:
Ralf Becker 2014-04-01 16:07:38 +00:00
parent 6fdf8c98d1
commit 6bf826628b
2 changed files with 15 additions and 11 deletions

View File

@ -46,6 +46,6 @@ tr.prefRow:hover .prefHelp {
}
.prefType, .prefApp {
font-size: 150%;
display: inline-block;
padding-bottom: 5px;
margin-top: 10px;
margin-right: 5px;
}

View File

@ -22,12 +22,14 @@
</grid>
</template>
<template id="preferences.settings" template="" lang="" group="0" version="1.9.002">
<hbox class="dialogHeader">
<menulist>
<menupopup id="appname" onchange="1" options="Common preferences" class="prefApp"/>
</menulist>
<menulist>
<menupopup id="type" onchange="1" class="prefType"/>
</menulist>
</hbox>
<tabbox id="tabs">
<tabs>
<tab id="tab1" label="Settings"/>
@ -36,8 +38,10 @@
<template id="preferences.settings.tab1" content="tab1"/>
</tabpanels>
</tabbox>
<hbox class="dialogFooterToolbar" width="100%">
<button label="Save" id="button[save]"/>
<button label="Apply" id="button[apply]"/>
<button label="Cancel" id="button[cancel]" onclick="window.close();"/>
</hbox>
</template>
</overlay>