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 @@
<p:dialog id="settingsDialog" header="Settings" resizable="false"
modal="true" widgetVar="settingsDlg">
<h:form>
<h:panelGrid columns="2" cellpadding="10">
<h:outputText value="Look and Feel:" />
<p:themeSwitcher value="#{currentThemeBean.theme}"
style="width:150px" effect="fade">
<f:selectItem itemLabel="Choose Theme" itemValue="" />
<f:selectItems value="#{themeSwitcherBean.themes}" />
</p:themeSwitcher>
<h:outputText value="Language:"/>
<p:selectOneMenu effectDuration="20" style="width:150px">
<f:selectItem itemLabel="English"/>
</p:selectOneMenu>
</h:panelGrid>
<p:tabView>
<p:tab title="Common">
<h:panelGrid columns="2" cellpadding="10">
<h:outputText value="Look and Feel:" />
<p:themeSwitcher value="#{currentThemeBean.theme}"
style="width:150px" effect="fade">
<f:selectItem itemLabel="Choose Theme" itemValue="" />
<f:selectItems value="#{themeSwitcherBean.themes}" />
</p:themeSwitcher>
<h:outputText value="Language:"/>
<p:selectOneMenu effectDuration="20" style="width:150px">
<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/>
<div style="text-align: right">
<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