Skip to content

Instantly share code, notes, and snippets.

@ashish2199
Created February 17, 2020 11:27
Show Gist options
  • Save ashish2199/87eed988d5e537ae4628335e7c15cd70 to your computer and use it in GitHub Desktop.
Save ashish2199/87eed988d5e537ae4628335e7c15cd70 to your computer and use it in GitHub Desktop.
Ashish2199
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
.cmp{
width: 80%;
border: 1px solid black;
margin-left: auto;
margin-right: auto;
padding: 2px;
}
.side{
border: 1px solid black;
display: inline-block;
float: left;
margin: 1px;
padding-right:25px;
width: 20%;
}
.cnt{
display: inline-block;
border: 1px solid black;
margin: 1px;
width: 75%;
}
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{outlet}}
<br>
<br>
<div class="cmp">
<div class="side">
<ul>
<li>A </li>
<li>B </li>
<li>C </li>
</ul>
</div>
<div class="cnt">
<ul>
<li>D </li>
<li>E </li>
<li>F </li>
</ul>
</div>
</div>
{
"version": "0.15.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js",
"ember": "3.4.3",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
},
"addons": {
"ember-data": "3.4.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment