PDF export (part 2)
This commit is contained in:
parent
f913a1dee0
commit
72f5f4394e
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
#Date Sun Sep 22 2013 23:14:34
|
||||
#Date Mon Sep 23 2013 18:11:38
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
|
524
res-min/main.js
524
res-min/main.js
File diff suppressed because one or more lines are too long
@ -1417,7 +1417,7 @@ th.hidden-lg,td.hidden-lg{display:table-cell !important}
|
||||
@media (max-width:767px){.hidden-lg.hidden-xs{display:none !important} tr.hidden-lg.hidden-xs{display:none !important} th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm{display:none !important} tr.hidden-lg.hidden-sm{display:none !important} th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md{display:none !important} tr.hidden-lg.hidden-md{display:none !important} th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important} tr.hidden-lg{display:none !important} th.hidden-lg,td.hidden-lg{display:none !important}}.visible-print{display:none !important}
|
||||
tr.visible-print{display:none !important}
|
||||
th.visible-print,td.visible-print{display:none !important}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1009;background-color:#000;opacity:0.8}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:absolute;z-index:1009;background:#000;opacity:0.8;top:0;left:0;width:100%}
|
||||
.tour-step-backdrop{position:relative;z-index:1011}
|
||||
.tour-step-background{position:absolute;z-index:1010;background:#fff;border-radius:6px}
|
||||
.popover[class*="tour-"] .popover-navigation{padding:9px 14px}
|
||||
@ -1665,6 +1665,7 @@ div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||
.viewer .document-panel .search-bar{padding:20px 20px 10px}
|
||||
.viewer .document-panel .search-bar .input-group-btn{display:none}
|
||||
.viewer .ui-layout-toggler{display:none !important}
|
||||
body.pdf{background-color:transparent}
|
||||
body.pdf{font-family:"DejaVu Sans";background-color:transparent}
|
||||
body.pdf code,body.pdf pre{font-family:"DejaVu Sans Mono"}
|
||||
.navbar .working-indicator.show{background-image:url("../img/loader-blue-gray.gif")}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-blue-gray2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-blue-gray2x.gif");background-size:50px 17px}}
|
||||
|
@ -1417,7 +1417,7 @@ th.hidden-lg,td.hidden-lg{display:table-cell !important}
|
||||
@media (max-width:767px){.hidden-lg.hidden-xs{display:none !important} tr.hidden-lg.hidden-xs{display:none !important} th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm{display:none !important} tr.hidden-lg.hidden-sm{display:none !important} th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md{display:none !important} tr.hidden-lg.hidden-md{display:none !important} th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important} tr.hidden-lg{display:none !important} th.hidden-lg,td.hidden-lg{display:none !important}}.visible-print{display:none !important}
|
||||
tr.visible-print{display:none !important}
|
||||
th.visible-print,td.visible-print{display:none !important}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1009;background-color:#000;opacity:0.8}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:absolute;z-index:1009;background:#000;opacity:0.8;top:0;left:0;width:100%}
|
||||
.tour-step-backdrop{position:relative;z-index:1011}
|
||||
.tour-step-background{position:absolute;z-index:1010;background:#fff;border-radius:6px}
|
||||
.popover[class*="tour-"] .popover-navigation{padding:9px 14px}
|
||||
@ -1665,4 +1665,5 @@ div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||
.viewer .document-panel .search-bar{padding:20px 20px 10px}
|
||||
.viewer .document-panel .search-bar .input-group-btn{display:none}
|
||||
.viewer .ui-layout-toggler{display:none !important}
|
||||
body.pdf{background-color:transparent}
|
||||
body.pdf{font-family:"DejaVu Sans";background-color:transparent}
|
||||
body.pdf code,body.pdf pre{font-family:"DejaVu Sans Mono"}
|
||||
|
@ -1417,7 +1417,7 @@ th.hidden-lg,td.hidden-lg{display:table-cell !important}
|
||||
@media (max-width:767px){.hidden-lg.hidden-xs{display:none !important} tr.hidden-lg.hidden-xs{display:none !important} th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm{display:none !important} tr.hidden-lg.hidden-sm{display:none !important} th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md{display:none !important} tr.hidden-lg.hidden-md{display:none !important} th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important} tr.hidden-lg{display:none !important} th.hidden-lg,td.hidden-lg{display:none !important}}.visible-print{display:none !important}
|
||||
tr.visible-print{display:none !important}
|
||||
th.visible-print,td.visible-print{display:none !important}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1009;background-color:#000;opacity:0.8}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:absolute;z-index:1009;background:#000;opacity:0.8;top:0;left:0;width:100%}
|
||||
.tour-step-backdrop{position:relative;z-index:1011}
|
||||
.tour-step-background{position:absolute;z-index:1010;background:#fff;border-radius:6px}
|
||||
.popover[class*="tour-"] .popover-navigation{padding:9px 14px}
|
||||
@ -1665,7 +1665,8 @@ div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||
.viewer .document-panel .search-bar{padding:20px 20px 10px}
|
||||
.viewer .document-panel .search-bar .input-group-btn{display:none}
|
||||
.viewer .ui-layout-toggler{display:none !important}
|
||||
body.pdf{background-color:transparent}
|
||||
body.pdf{font-family:"DejaVu Sans";background-color:transparent}
|
||||
body.pdf code,body.pdf pre{font-family:"DejaVu Sans Mono"}
|
||||
.form-control:focus{-webkit-box-shadow:inset 0 1px 1px rgba(255,255,255,0),0 0 8px rgba(255,255,255,0.75);box-shadow:inset 0 1px 1px rgba(255,255,255,0),0 0 8px rgba(255,255,255,0.75)}
|
||||
.navbar .working-indicator.show{background-image:url("../img/loader-night.gif")}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-night2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-night2x.gif");background-size:50px 17px}}.ace-tm .ace_cursor{border-left-color:#fff}
|
||||
|
@ -1417,7 +1417,7 @@ th.hidden-lg,td.hidden-lg{display:table-cell !important}
|
||||
@media (max-width:767px){.hidden-lg.hidden-xs{display:none !important} tr.hidden-lg.hidden-xs{display:none !important} th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm{display:none !important} tr.hidden-lg.hidden-sm{display:none !important} th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md{display:none !important} tr.hidden-lg.hidden-md{display:none !important} th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important} tr.hidden-lg{display:none !important} th.hidden-lg,td.hidden-lg{display:none !important}}.visible-print{display:none !important}
|
||||
tr.visible-print{display:none !important}
|
||||
th.visible-print,td.visible-print{display:none !important}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1009;background-color:#000;opacity:0.8}
|
||||
@media print{.visible-print{display:block !important} tr.visible-print{display:table-row !important} th.visible-print,td.visible-print{display:table-cell !important} .hidden-print{display:none !important} tr.hidden-print{display:none !important} th.hidden-print,td.hidden-print{display:none !important}}.tour-backdrop{position:absolute;z-index:1009;background:#000;opacity:0.8;top:0;left:0;width:100%}
|
||||
.tour-step-backdrop{position:relative;z-index:1011}
|
||||
.tour-step-background{position:absolute;z-index:1010;background:#fff;border-radius:6px}
|
||||
.popover[class*="tour-"] .popover-navigation{padding:9px 14px}
|
||||
@ -1665,7 +1665,8 @@ div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||
.viewer .document-panel .search-bar{padding:20px 20px 10px}
|
||||
.viewer .document-panel .search-bar .input-group-btn{display:none}
|
||||
.viewer .ui-layout-toggler{display:none !important}
|
||||
body.pdf{background-color:transparent}
|
||||
body.pdf{font-family:"DejaVu Sans";background-color:transparent}
|
||||
body.pdf code,body.pdf pre{font-family:"DejaVu Sans Mono"}
|
||||
@font-face{font-family:'cursive_standardregular';src:url('../font/cursive_standard-webfont.eot');src:url('../font/cursive_standard-webfont.eot?#iefix') format('embedded-opentype'),url('../font/cursive_standard-webfont.woff') format('woff'),url('../font/cursive_standard-webfont.ttf') format('truetype'),url('../font/cursive_standard-webfont.svg#cursive_standardregular') format('svg');font-weight:normal;font-style:normal}.navbar{background-image:-webkit-gradient(linear, left 0, left 100%, from(#385e50), to(#34584b));background-image:-webkit-linear-gradient(top, #385e50, 0, #34584b, 100%);background-image:-moz-linear-gradient(top, #385e50 0, #34584b 100%);background-image:linear-gradient(to bottom, #385e50 0, #34584b 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff385e50', endColorstr='#ff34584b', GradientType=0)}
|
||||
.ui-layout-resizer-north .resizer-decorator{position:absolute;width:100%;height:7px;background-color:#b9aa9f;-webkit-box-shadow:0 -1px 15px rgba(0,0,0,0.3);box-shadow:0 -1px 15px rgba(0,0,0,0.3);z-index:10;display:block !important}
|
||||
.ui-layout-resizer-east{z-index:1 !important}
|
||||
|
@ -125,6 +125,8 @@ define([
|
||||
utils.setInputValue("#input-settings-publish-commit-msg", settings.commitMsg);
|
||||
// Template
|
||||
utils.setInputValue("#textarea-settings-publish-template", settings.template);
|
||||
// PDF template
|
||||
utils.setInputValue("#textarea-settings-publish-pdf-template", settings.pdfTemplate);
|
||||
// SSH proxy
|
||||
utils.setInputValue("#input-settings-ssh-proxy", settings.sshProxy);
|
||||
|
||||
@ -154,6 +156,8 @@ define([
|
||||
newSettings.commitMsg = utils.getInputTextValue("#input-settings-publish-commit-msg", event);
|
||||
// Template
|
||||
newSettings.template = utils.getInputTextValue("#textarea-settings-publish-template", event);
|
||||
// PDF template
|
||||
newSettings.pdfTemplate = utils.getInputTextValue("#textarea-settings-publish-pdf-template", event);
|
||||
// SSH proxy
|
||||
newSettings.sshProxy = utils.checkUrl(utils.getInputTextValue("#input-settings-ssh-proxy", event), true);
|
||||
|
||||
|
@ -987,6 +987,16 @@
|
||||
class="form-control"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-lg-4 control-label"
|
||||
for="textarea-settings-publish-pdf-template">PDF
|
||||
template <a href="#" class="tooltip-template">(?)</a>
|
||||
</label>
|
||||
<div class="col-lg-7">
|
||||
<textarea id="textarea-settings-publish-pdf-template"
|
||||
class="form-control"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-lg-4 control-label"
|
||||
for="input-settings-ssh-proxy">SSH proxy</label>
|
||||
|
Loading…
Reference in New Issue
Block a user