-
-
Save anonymous/b59903d92a0a6bb93983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addProjectClick(){ | |
alert('addProjectClick'); | |
} | |
function projectsClick(){ | |
alert('projectsClick'); | |
} | |
function hsedocClick(){ | |
alert('hsedocClick'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
".button": { | |
width:"100", | |
height: "100" | |
} | |
"#btnProjects":{ | |
//backgroundImage:'/images/ProjectList.png' | |
backgroundColor: "#f00" | |
} | |
"#btnNewProject":{ | |
//backgroundImage:'/images/AddProject.png' | |
backgroundColor: "#ff0" | |
} | |
"#btnDoc":{ | |
//backgroundImage:'/images/ViewHSEDoc.png' | |
backgroundColor: "#f0f" | |
} | |
"#btnCategories":{ | |
//backgroundImage:'/images/SafetyTopics.png' | |
backgroundColor: "#00f" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Alloy > | |
<Window> | |
<View id="mainContainer" class="container" layout="vertical"> | |
<View height="20%" width="50%" class="logo" > | |
<ImageView id="logo" image="/images/HSELogo.png"></ImageView> | |
</View> | |
<View height="35%" width="90%" layout="horizontal" > | |
<View width="50%" > | |
<Button id="btnNewProject" class="button" onClick="addProjectClick" /> | |
</View> | |
<View width="50%" > | |
<Button id="btnProjects" class="button" onClick="projectsClick" /> | |
</View> | |
</View> | |
<View height="35%" width="90%" layout="horizontal" > | |
<View width="50%"> | |
<Button id="btnDoc" class="button" onClick="hsedocClick" /> | |
</View> | |
<View width="50%"> | |
<Button id="btnCategories" class="button" /> | |
</View> | |
</View> | |
<View height= "10%"></View> | |
</View> | |
</Window> | |
</Alloy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment