Add in download PDF button

This commit is contained in:
James Allen
2014-07-28 17:24:43 +01:00
parent 6d9072f0e2
commit fc7753d49d
2 changed files with 12 additions and 1 deletions

View File

@@ -27,6 +27,15 @@ div.full-size.pdf(ng-controller="PdfController")
}"
) {{ pdf.logEntries.errors.length + pdf.logEntries.warnings.length }}
a(
ng-href="{{pdf.url}}"
target="_blank"
ng-if="pdf.url"
tooltip="Download PDF"
tooltip-placement="bottom"
)
i.fa.fa-download
.toolbar-right
a(
href,

View File

@@ -94,8 +94,10 @@
&.toolbar-tall {
height: 58px;
padding-top: 10px;
a.btn {
margin: 0 (@line-height-computed / 2);
}
a {
margin-left: (@line-height-computed / 2);
padding: 4px 10px 5px;
}
}