hook_new.tmpl 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_gogs" .}}
  17. </div>
  18. </div>
  19. {{if .PageIsSettingsHooksEdit}}
  20. <br>
  21. <div id="setting-content">
  22. <div id="repo-hooks-history-panel" class="panel panel-radius">
  23. <div class="panel-header">
  24. <strong>{{.i18n.Tr "repo.settings.recent_deliveries"}}</strong>
  25. </div>
  26. <ul class="panel-body setting-list">
  27. <li>Coming soon!</li>
  28. </ul>
  29. </div>
  30. </div>
  31. {{end}}
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. {{template "ng/base/footer" .}}