eventman/angular_app/ticket-edit.html

55 lines
3.2 KiB
HTML
Raw Normal View History

2016-06-02 21:46:26 +02:00
<!-- show details of an Event -->
<div class="container">
<div eventman-message="eventman-message" control="message"></div>
<div class="container">
<div class="row">
<div class="col-md-7 col-xs-7 vcenter">
<h1>{{event.title}} - {{'new ticket' | translate}}</h1>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-info table-striped top5">
<div class="panel-heading">{{'Register to this event' | translate}}</div>
<div class="panel-body">
<form>
<div class="input-group input-group-sm">
<span class="input-group-addon min70-compact">{{'Name' | translate}}</span>
2016-06-09 23:13:56 +02:00
<input type="text" class="form-control" placeholder="{{'Name' | translate}}" ng-model="ticket.name" ng-required="1">
2016-06-02 21:46:26 +02:00
</div>
<div class="input-group input-group-sm top5">
<span class="input-group-addon min70-compact">{{'Surname' | translate}}</span>
2016-06-09 23:13:56 +02:00
<input type="text" class="form-control" placeholder="{{'Surname' | translate}}" ng-model="ticket.surname">
2016-06-02 21:46:26 +02:00
</div>
<div class="input-group top5">
<span class="input-group-addon min70-compact">{{'Email' | translate}}</span>
2016-06-09 23:13:56 +02:00
<input type="email" name="email" class="form-control" placeholder="{{'name.surname@example.com' | translate}}" ng-model="ticket.email">
2016-06-02 21:46:26 +02:00
</div>
<div class="input-group top5">
<span class="input-group-addon min70-compact">{{'Company' | translate}}</span>
2016-06-09 23:13:56 +02:00
<input name="company" class="form-control" placeholder="{{'Acme Corporation' | translate}}" ng-model="ticket.company">
2016-06-02 21:46:26 +02:00
</div>
<div class="input-group top5">
<span class="input-group-addon min70-compact">{{'Job' | translate}}</span>
2016-06-09 23:13:56 +02:00
<input name="job_title" class="form-control" placeholder="{{'Evil Ruler' | translate}}" ng-model="ticket.job_title">
2016-06-02 21:46:26 +02:00
</div>
2016-06-09 23:13:56 +02:00
<button ng-if="!(ticket && ticket._id)" reset-focus ng-disabled="!(ticket.name && ticket.surname)" ng-click="addTicket(ticket)" class="btn btn-success top5">
2016-06-02 21:46:26 +02:00
<span class="fa fa-plus-circle vcenter"></span>
{{'Add' | translate}}
</button>
2016-06-09 23:13:56 +02:00
<button ng-if="ticket._id" reset-focus ng-disabled="!(ticket.name && ticket.surname)" ng-click="updateTicket(ticket)" class="btn btn-success top5">
<span class="fa fa-save vcenter"></span>
{{'Update' | translate}}
</button>
2016-06-02 21:46:26 +02:00
</form>
</div>
</div>
</div>
</div>
</div>
</div>