Captain Hook - Web hook server
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.
 
 
 
 
 

44 lines
1.4 KiB

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="/css/sidenav.css">
<link rel="stylesheet" type="text/css" href="/css/index.css">
</head>
<body>
<div class="sidenav container" >
<a href="/hook/create/">Create</a>
<a href="/hook/delete/">Delete</a>
</div>
<div class="test"></div>
<div class="main container-fluid">
<div id="header">
<h2>Captain Hook</h2>
<p>
A webhook server written in Go.
</p>
</div>
{{if . -}}
<h4>Currently available hooks</h4>
<ul>
{{range . -}}
<li>{{.Name}}</li>
{{- end}}
</ul>
{{- else}}
<p><strong>No hooks have been created</strong></p>
{{- end}}
</div>
<div class="center">Testing</div>
<!-- Bootstrap JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> -->
</body>
</html>