Author: DavidK Date: 2010-02-21 18:31:06 +0100 (Sun, 21 Feb 2010) New Revision: 1809 Modified: trunk/server/webServer2/WebContent/secured/plug/planningModalDynamic.xhtml Log: reverted file- mistake... Modified: trunk/server/webServer2/WebContent/secured/plug/planningModalDynamic.xhtml =================================================================== --- trunk/server/webServer2/WebContent/secured/plug/planningModalDynamic.xhtml 2010-02-21 15:01:37 UTC (rev 1808) +++ trunk/server/webServer2/WebContent/secured/plug/planningModalDynamic.xhtml 2010-02-21 17:31:06 UTC (rev 1809) @@ -4,102 +4,30 @@ xmlns:f="http://java.sun.com/jsf/core"; xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:a4j="http://richfaces.org/a4j"; - xmlns:rich="http://richfaces.org/rich";> - - - <head> - <title>#{lbl['login.title']}</title> - <link rel="shortcut icon" type="image/vnd.microsoft.icon" - href="/webServer2/favicon.ico" /> - <link href="/webServer2/styles/login_body.css" rel="stylesheet" - type="text/css" /> - </head> - <body> - <f:view style="border:0px" locale="cs"> - - <rich:panel styleClass="loginMain"> - <!-- on reconnect --> - <h:outputText id="reconnection" value="${lbl['login.reconnect']}" - styleClass="loginErrorMessage" rendered="#{not empty reconnecting}" /> - <!-- on bad logon --> - <h:message id="BadLogonMessage" for="UsernameField" - styleClass="loginErrorMessage" /> - - <!-- Pulsujici logo neni momentalne vyuzivano <h:graphicImage url="images/logo_live.gif" styleClass="loginElvysLogoLive" /> --> - <h:graphicImage rendered="false" url="/images/icons/icn_help.png" - styleClass="loginHelpButton" /> - <br /> - <h:form id="LoginForm" styleClass="loginForm"> - <h:outputText value="${lbl['login.welcome']}" - styleClass="loginFormHeader" /> - <br /> - <h:panelGrid columns="2"> - <h:panelGrid columns="2"> - <h:outputLabel for="UsernameField"> - <h:outputText value="${lbl['login.username']}:" - styleClass="loginFormLabelUserName" /> - </h:outputLabel> - <h:inputText value="#{user.username}" id="UsernameField" - styleClass="loginFormInputUserName" /> - <h:outputLabel for="PasswordField"> - <h:outputText value="${lbl['login.password']}:" - styleClass="loginFormLabelPass" /> - </h:outputLabel> - <h:inputSecret value="#{user.password}" id="PasswordField" - styleClass="loginFormInputPass" /> - </h:panelGrid> - <h:commandButton id="Login" action="#{user.login}" - alt="${lbl['login.submit']}" styleClass="loginFormSubmitActive" /> - </h:panelGrid> - </h:form> - <h:outputText value="${lbl['login.createdby']}" - styleClass="loginFootnote" /> - <h:form> - <h:commandButton - value="OSOLIT HESLA! STISKNI POUZE JEDNOUT PRED PRIHLASENIM!! POKUD DVAKRAT, PRESOLIS,POKUD VUBEC, CAJICKY NEPOUSTIME!!" - immediate="true" action="#{user.XXXsaltMethodXXX}" rendered="true" /> - </h:form> - - <rich:simpleTogglePanel switchType="ajax" - label="${lbl['login.lostPassword']}" - opened="#{userLostPasswordBean.openLostPassword}" - styleClass="loginLostPassword"> - ${lbl['login.lostPassword.infoMessage']} - <h:form id="LostPasswordForm"> - <h:outputLabel for="UserLostPasswordField"> - <h:outputText value="${lbl['login.username']}" - styleClass="lostPasswordUserName" />: - </h:outputLabel> - <h:inputText value="#{userLostPasswordBean.username}" - id="UserLostPasswordField" styleClass="lostPasswordInputUserName" - required="true" /> - - <h:commandButton value="${lbl['login.lostPassword.Send']}" - immediate="true" action="#{userLostPasswordBean.lostPassword}" - rendered="true" /> - <br /> - - <h:message id="LostPassswordMessage" for="UserLostPasswordField" - styleClass="lostPasswordErrorMessage" /> - </h:form> - </rich:simpleTogglePanel> - - </rich:panel> - </f:view> - - - <script type="text/javascript"> - //<![CDATA[ - function formfocus() { - document.getElementById('LoginForm:UsernameField').focus(); - } - window.onload = formfocus; - //]]> -</script> - - - </body> + xmlns:rich="http://richfaces.org/rich"; + xmlns:elvys="http://www.elvys.farm.particle.cz";> + + <!-- dynamic text value --> + <h:outputLabel value="#{lbl['elvys.plan.modal.form.chosendynamic']}: "></h:outputLabel> + <br/> + <h:inputTextarea id="DynamicPlanningTextField_input" + value="#{planningModalDynamicBean.formData.text}" + style="width: 100%;" + rows="5"/> + <a4j:outputPanel ajaxRendered="true"> + <h:message id="DynamicPlanningTextField_error" + for="DynamicPlanningTextField_input" + styleClass="error"/> + </a4j:outputPanel> + <br/> + + <!-- dynamic text size --> + <elvys:label id="DynamicPlanningTextSize" + label="#{lbl['elvys.plan.modal.form.chosendynamicsize']}" + tooltip="#{lbl['elvys.plan.modal.form.chosendynamicsize.tooltip']}"/> + <rich:inputNumberSlider id="DynamicPlanningTextSize_input" + minValue="10" maxValue="100" step="10" showInput="true" + value="#{planningModalDynamicBean.formData.size}" + /> + </ui:composition> - - -