You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
completed project section
This commit is contained in:
30
cmd/web-app/templates/content/projects-index.gohtml
Normal file
30
cmd/web-app/templates/content/projects-index.gohtml
Normal file
@ -0,0 +1,30 @@
|
||||
{{define "title"}}Projects{{end}}
|
||||
{{define "content"}}
|
||||
{{ if HasRole $._Ctx "admin" }}
|
||||
<a href="{{ .urlProjectsCreate }}">Create Project</a>
|
||||
{{ end }}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<form method="post">
|
||||
<div class="card">
|
||||
<div class="table-responsive dataTable_card">
|
||||
{{ template "partials/datatable/html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{define "style"}}
|
||||
{{ template "partials/datatable/style" . }}
|
||||
{{ end }}
|
||||
{{define "js"}}
|
||||
{{ template "partials/datatable/js" . }}
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
//$("#dataTable_filter").hide();
|
||||
});
|
||||
</script>
|
||||
|
||||
{{end}}
|
Reference in New Issue
Block a user