Sha256: 66e1278d6f568945592bbf694e1384b3f9e062b0c88557e399abfd12bdfb6388

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<core:EmergentComponent
	xmlns:mx="http://ns.adobe.com/mxml/2009"
	xmlns:core="com.fourD.emergent.core.*"
	xmlns:nav="<%= base_package %>.views.navigation.*"
	xmlns:presentation="<%= base_package %>.models.presentation.*"
	width="100%" height="100%">
	
	<mx:Script>
		<![CDATA[
			import org.restfulx.Rx;
	
		]]>
	</mx:Script>
	
	<!-- Presenter and Model________________________________________________________ -->
	
	<!-- Presenter Wraps the View and Handles Navigation Animations
		 Model allows you to easily call CRUD methods and handle sorting on data -->
	<mx:Declarations>
		<presentation:NavigationBarTopModel id="model"/>
		<nav:NavigationBarTopPresenter id="presenter" view="{this}"/>
	</mx:Declarations>
	
	<!-- GUI ______________________________________________________________________ -->
	
	<mx:Canvas width="100%" height="40" x="0" top="10" horizontalScrollPolicy="off">
		<mx:ApplicationControlBar x="0" y="0" width="100%" height="40" verticalAlign="middle">
			<mx:Label text="Welcome to <%= project_name %>" width="50%" fontFamily="Georgia" fontSize="18" color="#ffffff"/>

			<mx:Spacer width="100%" height="30"/>

			<mx:HBox id="mainButtons">
				<mx:Button id="homeButton" label="Home"/>
				<mx:Button id="aboutButton" label="About"/>
				<mx:Button id="contactUsButton" label="Contact Us"/>
			</mx:HBox>

			<mx:Spacer width="100%" height="30"/>

			<mx:HBox id="themeButtons" width="33%" horizontalScrollPolicy="off">
				<mx:Label text="Toggle CMS Mode:" color="#ffffff"/>
				<mx:Button id="cmsButton" label="CMS"/>
				<mx:Button id="regularButton" label="Actual"/>
			</mx:HBox>
		</mx:ApplicationControlBar>
	</mx:Canvas>
	
</core:EmergentComponent>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_view.mxml
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_view.mxml
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_view.mxml