Created
July 1, 2014 15:43
-
-
Save gjbagrowski/7047e5c45ce8c49423a8 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
MainView = React.createClass | |
mixins: [RouterHelpersMixin] | |
render: -> | |
<body> | |
<NavbarView | |
actions={@props.models.actions} | |
filters={@props.models.navbarFilters} | |
account={@props.models.account} /> | |
<LoadingMessageView /> | |
<div className="container-fluid"> | |
<div className="row"> | |
<div className="col-md-2"> | |
<SidebarView | |
router={@props.router} | |
pages={@props.router.helper.pages} /> | |
</div> | |
<div className="col-md-10 main-content"> | |
<div className="row"> | |
<div className="col-xs-12"> | |
<TabsView | |
router={@props.router} | |
tabs={@props.router.helper.tabs} /> | |
</div> | |
</div> | |
<div className="tab-content"> | |
<div className="row"> | |
<div className="col-sm-12"> | |
<FilterBarAdapter | |
router={@props.router} | |
models={@props.models} | |
key={@getRouteKey()} /> | |
</div> | |
</div> | |
<hr /> | |
<div className="row"> | |
<div className="col-sm-12"> | |
{@transferPropsTo <ContentView />} | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment