Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save heat/540b7ae2140adc57ea5d06fad6710876 to your computer and use it in GitHub Desktop.
Save heat/540b7ae2140adc57ea5d06fad6710876 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Component.extend({
value: null,
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
bool: false,
});
{{#application-mda
right-sidebar=(component '')
left-sidebar=(component '')
as |mda| }}
{{#mda.header as |header| }}
{{mda.brand logo="nome-logo" }}
{{#mda.navmenu as |menu| }}
{{menu.action-item icon="" action=(action ... ) }}
{{menu.link-item "/route" icon="" }}
{{menu.link-item "/route" icon="" }}
{{im-notification-navbar incon="" }}
{{/mda.navmenu }}
{{/mda.header }}
{{#mda.content}} // o content sera responsavel por jaj ter o uso do left e right sidebar
{{outlet}}
{{/mda.content}}
{{#mda.footer }}
<div class="footer-copyright">
<div class="container">
<span>Copyright © 2015 <a class="grey-text text-lighten-4" href="http://themeforest.net/user/geekslabs/portfolio?ref=geekslabs" target="_blank">GeeksLabs</a> All rights reserved.</span>
<span class="right"> Design and Developed by <a class="grey-text text-lighten-4" href="http://geekslabs.com/">GeeksLabs</a></span>
</div>
</div>
{{/mda.footer }}
{{/application-mda }}
{{#application-mda-lite }}
{{#application-mda-page }}
{{#page-mda |page| }}
{{page.header-breadcrumbs "Titulo da pagina" breads }}
{{#page.header-breadcrumbs "Titulo da pagina" }}
{{page.breadcrumbs-piece 'nome' 'route' params }}
{{/page.header-breadcrumbs}}
{{#page.content }}
{{outlet}}
{{/page.content }}
{{/page-mda }}
{{input type="checkbox" checked=value }}
{{yield}}
{
"version": "0.7.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.4.3/ember.debug.js",
"ember-data": "https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/2.4.3/ember-data.js",
"ember-template-compiler": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.4.3/ember-template-compiler.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment