HomeView.mxml 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Canvas
  3. xmlns:mx="http://www.adobe.com/2006/mxml"
  4. label="{resourceManager.getString('labels', 'home')}"
  5. width="100%" height="100%"
  6. hideEffect="WipeUp" showEffect="WipeDown">
  7. <mx:Zoom id="learnMoreAdd" startDelay="50"/>
  8. <mx:Parallel id="learnMoreRemove">
  9. <mx:Zoom />
  10. <mx:Fade />
  11. </mx:Parallel>
  12. <mx:Script source="../../../scripts/general/home/homeView.as" />
  13. <mx:Image id="screens" source="@Embed('images/home/screens.png')" verticalCenter="-20" />
  14. <mx:Image source="@Embed('images/general/pictoGrey.png')" top="5" right="620" />
  15. <mx:VBox top="10" right="20" verticalGap="1">
  16. <mx:Text htmlText="{resourceManager.getString('labels', 'presentation')}" paddingRight="15" selectable="false" width="590" height="100%" styleName="presentationInGeneralPage" />
  17. <mx:HBox width="100%" horizontalAlign="center" paddingTop="10" paddingRight="10" verticalGap="0">
  18. <mx:Button label="{resourceManager.getString('labels', 'learnMore')}" click="showLearnMore()"/>
  19. </mx:HBox>
  20. </mx:VBox>
  21. <mx:Canvas width="610" height="150" bottom="145" right="20"
  22. horizontalScrollPolicy="off" verticalScrollPolicy="off">
  23. <mx:SWFLoader source="@Embed('swf/physicianBanner.swf')" width="100%" height="100%" mouseOver="rollOverBanner(event)" />
  24. <mx:Text htmlText="{resourceManager.getString('labels', 'physicianDeclaration')}" selectable="false" visible="{_physicianVisible}" left="290" width="100%" styleName="declarationsInGeneralPage" hideEffect="Fade" showEffect="Fade" />
  25. <mx:Button label="{resourceManager.getString('labels', 'enter')}" visible="{_physicianVisible}" bottom="25" right="15" hideEffect="Fade" showEffect="Fade" click="displayPhysicianLogin()" />
  26. <mx:Label text="{resourceManager.getString('labels', 'connection')}" top="10" left="10" visible="{!_physicianVisible}" styleName="titlePanel" hideEffect="Fade" showEffect="Fade" />
  27. <mx:Form top="20" width="100%" visible="{!_physicianVisible}" hideEffect="Fade" showEffect="Fade">
  28. <mx:FormItem label="{resourceManager.getString('labels', 'mail')}" required="true">
  29. <mx:HBox verticalAlign="middle">
  30. <mx:TextInput id="physicianLogin" tabIndex="1" width="160" text="{ApplicationModelLocator.getInstance().sharedObject.data.physicianLogin}" focusOut="focusOutPhysicianLogin(event)" />
  31. <mx:CheckBox label="{resourceManager.getString('labels', 'rememberMe')}" tabIndex="4" selected="{ApplicationModelLocator.getInstance().sharedObject.data.physicianRememberMe}" change="rememberPhysicianLogin(event)" />
  32. </mx:HBox>
  33. </mx:FormItem>
  34. <mx:FormItem label="{resourceManager.getString('labels', 'password')}" required="true">
  35. <mx:HBox verticalAlign="middle">
  36. <mx:TextInput id="physicianPassword" tabIndex="2" width="160" displayAsPassword="true" enter="connect()" />
  37. <mx:LinkButton label="{resourceManager.getString('labels', 'forgottenPassword')}" tabIndex="5" click="sendPassword( physicianLogin.text )" />
  38. </mx:HBox>
  39. </mx:FormItem>
  40. <mx:FormItem>
  41. <mx:Button label="{resourceManager.getString('labels', 'login')}" tabIndex="3" click="connect()" width="120" />
  42. </mx:FormItem>
  43. </mx:Form>
  44. <mx:LinkButton label="{resourceManager.getString('labels', 'back')}" top="10" visible="{!_physicianVisible}" horizontalCenter="0" hideEffect="Fade" showEffect="Fade" click="resetDisplay()" />
  45. <mx:Label text="{resourceManager.getString('labels', 'register')}" top="10" left="390" visible="{!_physicianVisible}" styleName="titlePanel" hideEffect="Fade" showEffect="Fade" />
  46. <mx:Button label="{resourceManager.getString('labels', 'createAccount')}" width="150" top="65" right="40" visible="{!_physicianVisible}" hideEffect="Fade" showEffect="Fade" click="register(true)" />
  47. </mx:Canvas>
  48. <mx:Label text="{resourceManager.getString('labels', 'physicianLabel')}" visible="{_physicianVisible}" bottom="140" right="220" styleName="legalMentionsInGeneralPage" hideEffect="Fade" showEffect="Fade" />
  49. <mx:Canvas width="610" height="150" bottom="3" right="20"
  50. horizontalScrollPolicy="off" verticalScrollPolicy="off">
  51. <!--mx:SWFLoader source="@Embed('swf/clinicalBanner.swf')" width="100%" height="100%" click="redirectToImtDemo()" /-->
  52. <mx:SWFLoader source="@Embed('swf/clinicalBanner.swf')" width="100%" height="100%" />
  53. <mx:Text htmlText="{resourceManager.getString('labels', 'clinicalDeclaration')}" styleName="declarationsInGeneralPage" left="290" hideEffect="Fade" showEffect="Fade" />
  54. </mx:Canvas>
  55. </mx:Canvas>