0

change the color of login message box (blue default color) to red color

asked 2012-05-29 09:16:44 +0800

manishashrm gravatar image manishashrm
195

Hi All,

I want to change the color of login message box which is by default blue which i want to convert it into red , how can i . please help me to modify the below code.

 
<?xml version="1.0" encoding="UTF-8"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<?page title="ZK Store - Login"?>

<style>

  
body{
background-image:url('post-276844-12834749164609[1].jpg');


}
</style>



<window id="loginWin" border="normal"  width="250px" title="Sign In With Your User Name"   position="center" mode="overlapped">
<!--        <caption image="images[10].jpg" height="0px" width="100%"/>  -->
<caption>
	<image src="images[10].jpg" width="70px"/>
</caption>


        <grid>
            <rows>
                <row>Name: 
                    <textbox id="username" width="200px"/>
                </row>
                <row>Password: 
                    <textbox id="password" type="password" width="200px"/>
                </row>
            </rows>
        </grid>
        <button id="confirmBtn" label="Login " onClick="loginCheck()"/>

        <zscript><![CDATA[
			void loginCheck () {
				if ((username.getValue().equals("sysadmin") && password.getValue().equals("redeye"))){
					Executions.sendRedirect("index.zul");
				} else if ((username.getValue().equals("pasquale") && password.getValue().equals("pasquale"))) {
					Executions.sendRedirect("index.zul");
				}else{
					Executions.sendRedirect("forum.zul");
				};
			  }
        ]]></zscript>

    </window>
    
<!--   </window>   -->
</zk>


delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-05-29 09:16:44 +0800

Seen: 90 times

Last updated: May 29 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More