7 changed files with 134 additions and 7 deletions
@ -0,0 +1,36 @@
|
||||
{{template "header.html"}} |
||||
{{template "header_close.html"}} |
||||
{{template "navbar.html" .}} |
||||
|
||||
<div class="container"> |
||||
<br /> |
||||
<h1 class="row justify-content-center">Lista de invitaciones pendientes</h1> |
||||
|
||||
<br /> |
||||
<div class="row justify-content-center"> |
||||
<div class="col-md-8"> |
||||
<p class="float-right"><a href="/adduser/">Invitar a una amiga</a></p> |
||||
<br /> |
||||
<table class="table table-hover"> |
||||
<thead> |
||||
<tr> |
||||
<th scope="col">code</th> |
||||
<th scope="col">date</th> |
||||
<th scope="col"></th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
{{range .Data}} |
||||
<tr> |
||||
<th scope="row">{{.Code}}</th> |
||||
<td>{{.CreationDate}}</td> |
||||
<td><a href="/invites/{{.Code}}/del/"><button type="button" class="btn btn-danger">Eliminar</button></a></td> |
||||
</tr> |
||||
{{end}} |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
{{template "footer.html"}} |
Loading…
Reference in new issue