Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvjeantet <valere.jeantet@gmail.com>2020-11-06 01:30:56 +0300
committervjeantet <valere.jeantet@gmail.com>2020-11-06 01:30:56 +0300
commitb43c043a7b9153e5cf6a1a30b057d143b1cedc52 (patch)
tree468fe0ce643f24e92c0ed06e6dc587eb52a62c13 /layouts/partials/_skwad-footer.html
parent4b0cf57d5be417ddb3167d0bd0b4c09a35c1e62b (diff)
fix some cssHEADmaster
Diffstat (limited to 'layouts/partials/_skwad-footer.html')
-rw-r--r--layouts/partials/_skwad-footer.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/_skwad-footer.html b/layouts/partials/_skwad-footer.html
new file mode 100644
index 0000000..da9c5bd
--- /dev/null
+++ b/layouts/partials/_skwad-footer.html
@@ -0,0 +1,21 @@
+{{if .Params.skwad}}
+ <span></span>
+
+ {{if ne nil .Params.skwad.mode }}
+ <div class="checklist-footer">
+ <button type="submit" class="btn btn-primary">{{T "checklist-post-answers"}}</button>
+ <p>&nbsp;</p>
+ </div>
+ {{end}}
+
+ </form>
+ {{if eq true .Params.skwad.clientside}}
+ {{if .Params.skwad.url }}
+ <div class="checklist-footer">
+ <button type="button"
+ onclick="skwad.saveDocumentAsFile(skwad.form.getAttribute('ref'));"
+ class="btn btn-success"><i class="fas fa-download"></i>&nbsp;{{T "checklist-download-answers"}}</button>
+ </div>
+ {{end}}
+ {{end}}
+{{end}} \ No newline at end of file