person-detail.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!-- show details of a single Person (editing also take place here) -->
  2. <div class="container">
  3. <form ng-model="persondetails" ng-submit="save()">
  4. <div class="input-group input-group-lg">
  5. <span class="input-group-addon">Name</span>
  6. <input type="text" class="form-control" placeholder="Name" ng-model="person.name" ng-required="1">
  7. </div>
  8. <div class="input-group input-group-lg top5">
  9. <span class="input-group-addon">Surname</span>
  10. <input type="text" class="form-control" placeholder="Surname" ng-model="person.surname">
  11. </div>
  12. <div class="input-group top5">
  13. <span class="input-group-addon">Email</span>
  14. <input type="email" name="email" class="form-control" placeholder="root@example.com" ng-model="person.email">
  15. </div>
  16. <input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>
  17. </form>
  18. <div class="panel panel-primary table-striped top5">
  19. <div class="panel-heading">Actions</div>
  20. <table class="table">
  21. <thead>
  22. <tr>
  23. <th>Action</th>
  24. <th>Event ID</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. <tr ng-repeat="action in actions">
  29. <td>{{action.action}}</td>
  30. <td>{{action.event_id}}</td>
  31. </tr>
  32. </tbody>
  33. </table>
  34. </div>
  35. </div>