You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							1.7 KiB
						
					
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							1.7 KiB
						
					
					
				| {{template "base/head" .}}
 | |
| {{template "base/navbar" .}}
 | |
| {{template "repo/nav" .}}
 | |
| {{template "repo/toolbar" .}}
 | |
| <div id="body" class="container">
 | |
|     {{template "repo/setting_nav" .}}
 | |
|     <div id="repo-setting-container" class="col-md-10">
 | |
|         {{template "base/alert" .}}
 | |
|         <div class="panel panel-default">
 | |
|             <div class="panel-heading">
 | |
|                 Webhooks
 | |
|             </div>
 | |
|             <div class="panel-body">
 | |
|                 <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/> </p>
 | |
|                 <ul id="repo-hooks-list" class="list-unstyled">
 | |
|                     {{range .Webhooks}}
 | |
|                     <li>
 | |
|                         {{if .IsActive}}<span class="pull-left status text-success"><i class="fa fa-check"></i></span>{{else}}<span class="pull-left status"><i class="fa fa-times"></i></span>{{end}}
 | |
|                         <a class="link" href="{{$.RepoLink}}/settings/hooks/{{.Id}}">{{.Url}}</a>
 | |
|                         <a href="{{$.RepoLink}}/settings/hooks?remove={{.Id}}" class="remove-hook pull-right"><i class="fa fa-times"></i></a>
 | |
|                         <a href="{{$.RepoLink}}/settings/hooks/{{.Id}}" class="edit-hook pull-right"><i class="fa fa-pencil"></i></a>
 | |
|                     </li>
 | |
|                     {{end}}
 | |
|                 </ul>
 | |
|             </div>
 | |
|             <div class="panel-footer">
 | |
|                 <a href="{{.RepoLink}}/settings/hooks/add"><button class="btn btn-primary">Add Webhook</button></a>
 | |
|             </div>
 | |
|         </div>
 | |
| 
 | |
|     </div>
 | |
| </div>
 | |
| {{template "base/footer" .}} |