hooks.tmpl 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. {{template "repo/nav" .}}
  4. {{template "repo/toolbar" .}}
  5. <div id="body" class="container">
  6. {{template "repo/setting_nav" .}}
  7. <div id="repo-setting-container" class="col-md-10">
  8. {{template "base/alert" .}}
  9. <div class="panel panel-default">
  10. <div class="panel-heading">
  11. Webhooks
  12. </div>
  13. <div class="panel-body">
  14. <p>Webhooks allow external services to be notified when certain events happen on GitHub. When the specified events happen, we'll send a POST request to each of the URLs you provide. Learn more in our Webhooks Guide.<br/>&nbsp;</p>
  15. <ul id="repo-hooks-list" class="list-unstyled">
  16. <li>
  17. <span class="pull-left status text-success"><i class="fa fa-check"></i></span>
  18. <a class="link" href="#">https://inbox-app.wercker.com/commits/11aea6e535af5eefc2a29bc25a23e89a</a>
  19. <a href="{{$.RepoLink}}/settings/hooks?remove=" class="remove-hook pull-right"><i class="fa fa-times"></i></a>
  20. <a href="{{$.RepoLink}}/settings/hooks/id" class="edit-hook pull-right"><i class="fa fa-pencil"></i></a>
  21. </li>
  22. <li>
  23. <span class="pull-left status text-success"><i class="fa fa-check"></i></span>
  24. <a class="link" href="#">https://inbox-app.wercker.com/commits/11aea6e535af5eefc2a29bc25a23e89a</a>
  25. <a href="{{$.RepoLink}}/settings/hooks?remove=" class="remove-hook pull-right"><i class="fa fa-times"></i></a>
  26. <a href="{{$.RepoLink}}/settings/hooks/id" class="edit-hook pull-right"><i class="fa fa-pencil"></i></a>
  27. </li>
  28. </ul>
  29. </div>
  30. <div class="panel-footer">
  31. <a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings/hooks/add"><button class="btn btn-primary">Add Webhook</button></a>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. {{template "base/footer" .}}