Skip to content
Snippets Groups Projects
Commit 1a0ceb0b authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Modified the settings dialog.

parent 3bc1e8dd
No related branches found
No related tags found
No related merge requests found
...@@ -8,19 +8,43 @@ ...@@ -8,19 +8,43 @@
<p:dialog id="settingsDialog" header="Settings" resizable="false" <p:dialog id="settingsDialog" header="Settings" resizable="false"
modal="true" widgetVar="settingsDlg"> modal="true" widgetVar="settingsDlg">
<h:form> <h:form>
<h:panelGrid columns="2" cellpadding="10"> <p:tabView>
<h:outputText value="Look and Feel:" /> <p:tab title="Common">
<p:themeSwitcher value="#{currentThemeBean.theme}" <h:panelGrid columns="2" cellpadding="10">
style="width:150px" effect="fade"> <h:outputText value="Look and Feel:" />
<f:selectItem itemLabel="Choose Theme" itemValue="" /> <p:themeSwitcher value="#{currentThemeBean.theme}"
<f:selectItems value="#{themeSwitcherBean.themes}" /> style="width:150px" effect="fade">
</p:themeSwitcher> <f:selectItem itemLabel="Choose Theme" itemValue="" />
<f:selectItems value="#{themeSwitcherBean.themes}" />
<h:outputText value="Language:"/> </p:themeSwitcher>
<p:selectOneMenu effectDuration="20" style="width:150px">
<f:selectItem itemLabel="English"/> <h:outputText value="Language:"/>
</p:selectOneMenu> <p:selectOneMenu effectDuration="20" style="width:150px">
</h:panelGrid> <f:selectItem itemLabel="English"/>
</p:selectOneMenu>
</h:panelGrid>
</p:tab>
<p:tab title="Analysis Editor">
<h:panelGrid columns="2" cellpadding="10">
<h:outputText value="Tool Palette"/>
<p:selectOneMenu style="width:150px">
<f:selectItem itemLabel="Lists"/>
</p:selectOneMenu>
<h:outputText value="Grid-Size:"/>
<p:spinner style="width:150px"/>
<h:outputText value="Grid-Color:"/>
<p:colorPicker style="width:150px"/>
</h:panelGrid>
</p:tab>
<p:tab title="Analysis Controller" disabled="true">
</p:tab>
<p:tab title="Cockpit Editor" disabled="true">
</p:tab>
<p:tab title="Cockpit" disabled="true">
</p:tab>
</p:tabView>
<hr/> <hr/>
<div style="text-align: right"> <div style="text-align: right">
<p:commandButton value="Ok" oncomplete="settingsDlg.hide();" /> <p:commandButton value="Ok" oncomplete="settingsDlg.hide();" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment