basic new Event page
This commit is contained in:
parent
4e7fff358e
commit
0db7feb547
2 changed files with 22 additions and 9 deletions
|
@ -1,11 +1,16 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="input-group input-group-lg">
|
||||||
<div class="col-md-10">
|
<span class="input-group-addon" id="basic-addon1">Title</span>
|
||||||
<h1><span class="label label-primary">{{event.title}}</span></h1>
|
<input type="text" class="form-control" placeholder="Title" aria-describedby="basic-addon-2" value="{{event.title}}">
|
||||||
|
|
||||||
<p>Date: {{event['begin-datetime']}}</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group top5">
|
||||||
|
<span class="input-group-addon" id="basic-addon1">Begin time</span>
|
||||||
|
<input type="text" class="form-control" placeholder="Date and time" aria-describedby="basic-addon1" value="{{event['begin-datetime']}}">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group top5">
|
||||||
|
<span class="input-group-addon" id="basic-addon1">End time</span>
|
||||||
|
<input type="text" class="form-control" placeholder="Date and time" aria-describedby="basic-addon1" value="{{event['end-datetime']}}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
8
angular_app/js/app.js
vendored
8
angular_app/js/app.js
vendored
|
@ -23,6 +23,14 @@ eventManApp.config(['$routeProvider',
|
||||||
templateUrl: 'event-detail.html',
|
templateUrl: 'event-detail.html',
|
||||||
controller: 'EventDetailsCtrl'
|
controller: 'EventDetailsCtrl'
|
||||||
}).
|
}).
|
||||||
|
when('/new-event', {
|
||||||
|
templateUrl: 'event-detail.html',
|
||||||
|
controller: 'EventDetailsCtrl'
|
||||||
|
}).
|
||||||
|
when('/new-person', {
|
||||||
|
templateUrl: 'person-detail.html',
|
||||||
|
controller: 'PersonDetailsCtrl'
|
||||||
|
}).
|
||||||
otherwise({
|
otherwise({
|
||||||
redirectTo: '/events'
|
redirectTo: '/events'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue