mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Added directory structure
This commit is contained in:
parent
d456281668
commit
988a127a3e
10 changed files with 14 additions and 1 deletions
5
ghost/admin/components/time-now.js
Normal file
5
ghost/admin/components/time-now.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
export default Ember.Component.extend({
|
||||
time: function() {
|
||||
return new Date();
|
||||
}.property()
|
||||
});
|
0
ghost/admin/controllers/.gitkeep
Normal file
0
ghost/admin/controllers/.gitkeep
Normal file
3
ghost/admin/controllers/application.js
Normal file
3
ghost/admin/controllers/application.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
export default Ember.Controller.extend({
|
||||
message: 'its a new beginning.'
|
||||
});
|
0
ghost/admin/helpers/.gitkeep
Normal file
0
ghost/admin/helpers/.gitkeep
Normal file
0
ghost/admin/models/.gitkeep
Normal file
0
ghost/admin/models/.gitkeep
Normal file
0
ghost/admin/routes/.gitkeep
Normal file
0
ghost/admin/routes/.gitkeep
Normal file
|
@ -1,3 +1,5 @@
|
|||
<h2 id='title'>Welcome to Ghost on Ember.js</h2>
|
||||
|
||||
{{message}}
|
||||
|
||||
{{outlet}}
|
||||
|
|
1
ghost/admin/templates/components/time-now.hbs
Normal file
1
ghost/admin/templates/components/time-now.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
Time is now {{time}}
|
|
@ -1 +1,3 @@
|
|||
<em>This is the index route</em>
|
||||
<em>This is the index route</em>
|
||||
|
||||
{{time-now}}
|
0
ghost/admin/views/.gitkeep
Normal file
0
ghost/admin/views/.gitkeep
Normal file
Loading…
Add table
Reference in a new issue