Nuestro burocrata preferido: Sam Lowry https://lowry.sindominio.net
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.
 
 
 
 
 
 
lowry/tmpl/users.html

27 lines
539 B

{{template "header.html"}}
{{template "navbar.html" "users"}}
<table class="table">
<thead>
<tr>
<th scope="col">Nombre</th>
<th scope="col">Shell</th>
<th scope="col">Home</th>
<th scope="col">UID</th>
<th scope="col">GID</th>
</tr>
</thead>
<tbody>
{{range .}}
<tr {{if ne .Shell "/bin/false"}}class="table-success"{{end}}>
<th scope="row">{{.Name}}</th>
<td>{{.Shell}}</td>
<td>{{.Home}}</td>
<td>{{.UID}}</td>
<td>{{.GID}}</td>
</tr>
{{end}}
</tbody>
</table>
{{template "footer.html"}}