hook_new.tmpl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. <div id="repo-wrapper">
  4. {{template "repo/header" .}}
  5. <div id="setting-wrapper" class="main-wrapper">
  6. <div id="repo-setting" class="container clear">
  7. {{template "repo/settings/nav" .}}
  8. <div class="grid-4-5 left">
  9. <div class="setting-content">
  10. {{template "ng/base/alert" .}}
  11. <div id="setting-content">
  12. <div id="repo-hooks-panel" class="panel panel-radius">
  13. <div class="panel-header">
  14. <strong>{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}</strong>
  15. </div>
  16. {{template "repo/settings/hook_types" .}}
  17. {{template "repo/settings/hook_gogs" .}}
  18. {{template "repo/settings/hook_slack" .}}
  19. </div>
  20. </div>
  21. {{if .PageIsSettingsHooksEdit}}
  22. <br>
  23. <div id="setting-content">
  24. <div id="repo-hooks-history-panel" class="panel panel-radius">
  25. <div class="panel-header">
  26. <strong>{{.i18n.Tr "repo.settings.recent_deliveries"}}</strong>
  27. </div>
  28. <ul class="panel-body setting-list">
  29. <li>Coming soon!</li>
  30. </ul>
  31. </div>
  32. </div>
  33. {{end}}
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. {{template "ng/base/footer" .}}