mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Added directory structure
This commit is contained in:
parent
d456281668
commit
988a127a3e
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…
Reference in New Issue
Block a user