layouts: Add button to download pdf
Signed-off-by: Ida Delphine <mida@unicef.org>
This commit is contained in:
parent
dead996a53
commit
f073995976
1 changed files with 7 additions and 2 deletions
|
@ -12,12 +12,17 @@
|
|||
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .Content }}
|
||||
<div>
|
||||
<button class="btn btn-primary btn-block" id="generatePDF" > Get Pdf </button>
|
||||
</div>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-9">
|
||||
<div class="p-lg-5 p-4 bg-white">
|
||||
<h2 class="mb-5">{{ .Title }}</h2>
|
||||
<div class="p-lg-5 p-4 bg-white" id="content">
|
||||
<h2 class="mb-5" id="title">{{ .Title }}</h2>
|
||||
{{ if .Content }}
|
||||
<div class="content">{{.Content}}</div>
|
||||
{{ else }}
|
||||
|
|
Loading…
Reference in a new issue