2014-08-09 18:40:10 -04:00
|
|
|
{{template "ng/base/head" .}}
|
|
|
|
{{template "ng/base/header" .}}
|
|
|
|
<div id="repo-wrapper">
|
2015-07-23 16:50:05 -04:00
|
|
|
{{template "repo/header_old" .}}
|
2014-08-09 18:40:10 -04:00
|
|
|
<div id="setting-wrapper" class="main-wrapper">
|
|
|
|
<div id="repo-setting" class="container clear">
|
|
|
|
{{template "repo/settings/nav" .}}
|
|
|
|
<div class="grid-4-5 left">
|
|
|
|
<div class="setting-content">
|
|
|
|
{{template "ng/base/alert" .}}
|
|
|
|
<div id="setting-content">
|
|
|
|
<div id="repo-hooks-panel" class="panel panel-radius">
|
|
|
|
<div class="panel-header">
|
|
|
|
<strong>{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}</strong>
|
|
|
|
</div>
|
2014-08-24 08:59:47 -04:00
|
|
|
{{template "repo/settings/hook_types" .}}
|
2014-08-31 12:33:40 -04:00
|
|
|
{{template "repo/settings/hook_gogs" .}}
|
|
|
|
{{template "repo/settings/hook_slack" .}}
|
2014-08-09 18:40:10 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-09 18:50:06 -04:00
|
|
|
{{if .PageIsSettingsHooksEdit}}
|
2014-08-09 18:40:10 -04:00
|
|
|
<br>
|
|
|
|
<div id="setting-content">
|
|
|
|
<div id="repo-hooks-history-panel" class="panel panel-radius">
|
|
|
|
<div class="panel-header">
|
|
|
|
<strong>{{.i18n.Tr "repo.settings.recent_deliveries"}}</strong>
|
|
|
|
</div>
|
|
|
|
<ul class="panel-body setting-list">
|
|
|
|
<li>Coming soon!</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-09 18:50:06 -04:00
|
|
|
{{end}}
|
2014-08-09 18:40:10 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-24 08:59:47 -04:00
|
|
|
{{template "ng/base/footer" .}}
|