From c5b2530ad212dd4a9ba27b71a33ebc0255bfa742 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Sat, 6 May 2017 17:39:18 +0200 Subject: [PATCH] HdM related logo template redefined --- .../webhelp/common/images/hdmlogo.svg | 67 +++++++++++++++++++ .../CustomLayer/webhelp/hdmextensions.xsl | 8 +++ ws/Docbook/Extensions/Tdata/Makefile | 2 +- 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 ws/Docbook/CustomLayer/webhelp/common/images/hdmlogo.svg diff --git a/ws/Docbook/CustomLayer/webhelp/common/images/hdmlogo.svg b/ws/Docbook/CustomLayer/webhelp/common/images/hdmlogo.svg new file mode 100644 index 000000000..1c1b8ccfb --- /dev/null +++ b/ws/Docbook/CustomLayer/webhelp/common/images/hdmlogo.svg @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + width="100px" height="91.818px" viewBox="0 0 100 91.818" enable-background="new 0 0 100 91.818" xml:space="preserve"> +<g> + <rect fill="#FFFFFF" width="100" height="91.818"/> + <polygon fill="#3F4847" points="93.961,80.963 90.646,71.482 87.981,71.482 87.981,85.843 89.849,85.843 89.849,74.484 + 93.9,85.843 95.852,85.843 95.852,71.482 93.961,71.482 "/> + <g> + <polygon fill="#E51433" points="10.786,4.472 10.786,45.34 4.948,45.34 4.948,4.472 10.786,4.472 10.786,4.472 "/> + <polygon fill="#E51433" points="24.13,19.485 24.13,45.34 18.292,45.34 18.292,19.485 24.13,19.485 24.13,19.485 "/> + <polygon fill="#E51433" points="39.978,19.485 39.978,45.34 34.139,45.34 34.139,19.485 39.978,19.485 39.978,19.485 "/> + <polygon fill="#E51433" points="53.322,4.472 53.322,45.34 47.483,45.34 47.483,4.472 53.322,4.472 53.322,4.472 "/> + <polygon fill="#E51433" points="69.168,19.485 69.168,45.34 63.33,45.34 63.33,19.485 69.168,19.485 69.168,19.485 "/> + <polygon fill="#E51433" points="82.512,19.485 82.512,45.34 76.674,45.34 76.674,19.485 82.512,19.485 82.512,19.485 "/> + <polygon fill="#E51433" points="95.857,19.485 95.857,45.34 90.019,45.34 90.019,19.485 95.857,19.485 95.857,19.485 "/> + </g> + <g> + <polygon fill="#3F4847" points="6.839,60.613 10.563,60.613 10.563,67.274 12.454,67.274 12.454,52.913 10.563,52.913 + 10.563,58.954 6.839,58.954 6.839,52.913 4.948,52.913 4.948,67.274 6.839,67.274 "/> + <path fill="#3F4847" d="M18.382,52.719c-2.748,0-4.141,2.481-4.141,7.374s1.393,7.374,4.141,7.374s4.141-2.481,4.141-7.374 + S21.13,52.719,18.382,52.719z M18.382,65.809c-0.966,0-2.25-0.593-2.25-5.716s1.284-5.715,2.25-5.715 + c0.965,0,2.249,0.592,2.249,5.715S19.348,65.809,18.382,65.809z"/> + <path fill="#3F4847" d="M28.16,67.467c2.481,0,3.927-1.833,3.966-5.029l0.003-0.192h-1.891l-0.002,0.188 + c-0.035,2.334-0.675,3.375-2.075,3.375c-1.688,0-2.347-1.603-2.347-5.716c0-4.113,0.658-5.715,2.347-5.715 + c1.106,0,1.705,0.941,1.882,2.963l0.016,0.173h1.89l-0.017-0.205c-0.233-3.003-1.538-4.59-3.771-4.59 + c-2.852,0-4.237,2.412-4.237,7.374C23.923,65.056,25.309,67.467,28.16,67.467z"/> + <polygon fill="#3F4847" points="41.498,67.274 41.498,52.913 39.606,52.913 39.606,58.954 35.882,58.954 35.882,52.913 + 33.991,52.913 33.991,67.274 35.882,67.274 35.882,60.613 39.606,60.613 39.606,67.274 "/> + <path fill="#3F4847" d="M47.336,58.96c-1.263-0.855-2.354-1.595-2.354-2.933c0-0.986,0.694-1.649,1.727-1.649 + c1.174,0,1.834,0.788,1.96,2.342l0.014,0.175h1.77l-0.009-0.199c-0.119-2.49-1.479-3.977-3.637-3.977 + c-2.129,0-3.56,1.384-3.56,3.443c0,2.208,1.591,3.319,3.129,4.395c1.279,0.895,2.486,1.739,2.486,3.137 + c0,1.324-0.704,2.114-1.881,2.114c-1.326,0-2.076-0.883-2.114-2.487l-0.004-0.186h-1.774l0.003,0.193 + c0.042,2.513,1.507,4.137,3.734,4.137c2.397,0,3.772-1.368,3.772-3.753C50.598,61.169,48.865,59.996,47.336,58.96z"/> + <path fill="#3F4847" d="M58.193,62.434c-0.035,2.334-0.675,3.375-2.075,3.375c-1.688,0-2.346-1.603-2.346-5.716 + c0-4.113,0.658-5.715,2.346-5.715c1.106,0,1.705,0.941,1.882,2.963l0.015,0.173h1.89l-0.016-0.205 + c-0.234-3.003-1.539-4.59-3.772-4.59c-2.852,0-4.237,2.412-4.237,7.374c0,4.962,1.386,7.374,4.237,7.374 + c2.48,0,3.926-1.833,3.966-5.029l0.002-0.192h-1.891L58.193,62.434z"/> + <polygon fill="#3F4847" points="63.841,60.613 67.565,60.613 67.565,67.274 69.456,67.274 69.456,52.913 67.565,52.913 + 67.565,58.954 63.841,58.954 63.841,52.913 61.95,52.913 61.95,67.274 63.841,67.274 "/> + <path fill="#3F4847" d="M79.104,63.405V52.913h-1.892v10.453c0,1.69-0.574,2.444-1.862,2.444c-1.287,0-1.862-0.753-1.862-2.444 + V52.913h-1.891v10.492c0,2.62,1.333,4.062,3.753,4.062C77.771,67.467,79.104,66.024,79.104,63.405z"/> + <polygon fill="#3F4847" points="87.745,65.615 83.214,65.615 83.214,52.913 81.323,52.913 81.323,67.274 87.745,67.274 "/> + <polygon fill="#3F4847" points="90.746,65.615 90.746,60.613 94.348,60.613 94.348,58.954 90.746,58.954 90.746,54.571 + 95.625,54.571 95.625,52.913 88.855,52.913 88.855,67.274 95.858,67.274 95.858,65.615 "/> + <path fill="#3F4847" d="M7.733,71.482H4.948v14.361h2.785c3.399,0,4.915-2.215,4.915-7.181 + C12.648,73.696,11.132,71.482,7.733,71.482z M6.839,73.141h0.623c2.087,0,3.295,0.903,3.295,5.521 + c0,4.619-1.208,5.522-3.295,5.522H6.839V73.141z"/> + <polygon fill="#3F4847" points="17.386,79.182 20.987,79.182 20.987,77.523 17.386,77.523 17.386,73.141 22.265,73.141 + 22.265,71.482 15.495,71.482 15.495,85.843 22.498,85.843 22.498,84.184 17.386,84.184 "/> + <path fill="#3F4847" d="M32.996,75.293c0-2.315-1.58-3.812-4.024-3.812h-3.56v14.361h1.891v-6.553l1.65-0.065l2.201,6.488 + l0.043,0.129h1.99l-2.388-7.01C32.217,78.263,32.996,77.01,32.996,75.293z M27.303,73.141h1.126c1.926,0,2.676,0.625,2.676,2.23 + c0,1.604-0.75,2.229-2.676,2.229h-1.126V73.141z"/> + <polygon fill="#3F4847" points="44.475,79.547 42.164,71.482 39.431,71.482 39.431,85.843 41.201,85.843 41.201,74.365 + 43.802,82.954 45.093,82.954 47.694,74.365 47.694,85.843 49.464,85.843 49.464,71.482 46.73,71.482 "/> + <polygon fill="#3F4847" points="54.474,79.182 58.074,79.182 58.074,77.523 54.474,77.523 54.474,73.141 59.352,73.141 + 59.352,71.482 52.583,71.482 52.583,85.843 59.584,85.843 59.584,84.184 54.474,84.184 "/> + <path fill="#3F4847" d="M65.234,71.482h-2.786v14.361h2.786c3.399,0,4.914-2.215,4.914-7.181 + C70.148,73.696,68.633,71.482,65.234,71.482z M64.339,73.141h0.624c2.087,0,3.295,0.903,3.295,5.521 + c0,4.619-1.208,5.522-3.295,5.522h-0.624V73.141z"/> + <rect x="73.001" y="71.482" fill="#3F4847" width="1.891" height="14.361"/> + <polygon fill="#3F4847" points="79.989,79.182 83.59,79.182 83.59,77.523 79.989,77.523 79.989,73.141 84.869,73.141 + 84.869,71.482 78.098,71.482 78.098,85.843 85.101,85.843 85.101,84.184 79.989,84.184 "/> + </g> +</g> +</svg> diff --git a/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl b/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl index 03288826f..48822ee0c 100644 --- a/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl +++ b/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl @@ -37,6 +37,14 @@ </xsl:if> </xsl:template> + <!-- No logo related parameter on offer, sigh! --> + <xsl:template name="webhelpheader.logo"> + <a href="index.html"> + <img style='margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px' align="right" + src='{$webhelp.common.dir}images/hdmlogo.svg' alt="{$brandname} Documentation"/> + </a> + </xsl:template> + <!--Allow for opening and closing of answers --> diff --git a/ws/Docbook/Extensions/Tdata/Makefile b/ws/Docbook/Extensions/Tdata/Makefile index 5064f07de..1684cdb6c 100644 --- a/ws/Docbook/Extensions/Tdata/Makefile +++ b/ws/Docbook/Extensions/Tdata/Makefile @@ -93,10 +93,10 @@ webhelp:${BUILDROOT_SRC}/${SCRIPTBASENAME}_html.xml '-Dxslthl.config=file://${DBOOK_XSL}/highlighting/xslthl-config.xml' \ com.icl.saxon.StyleSheet \ ${BUILDROOT_SRC}/${SCRIPTBASENAME}_html.xml ${DBOOK_XSL_CUSTOM}/webhelp/webhelpHdm.xsl keep.relative.image.uris=0 ${dbookXslWebhelpParam} -# ${BUILDROOT_SRC}/${SCRIPTBASENAME}_html.xml ${DBOOK_XSL}/webhelp/xsl/webhelp.xsl keep.relative.image.uris=0 cd ${BUILDROOT_SRC}/Resources; rsync -av * ${DIR}/${BUILDROOT_WEBHELP} cp -r ${DBOOK_XSL}/webhelp/template/* ${BUILDROOT_WEBHELP} # Images, Css cat ${DBOOK_XSL_CUSTOM}/webhelp/common/css/positioning.supp.css >> ${BUILDROOT_WEBHELP}/common/css/positioning.css # highlighting supplements + cp ${DBOOK_XSL_CUSTOM}/webhelp/common/images/hdmlogo.svg ${BUILDROOT_WEBHELP}/common/images cd ${DBOOK_XSL}/webhelp/template/search; \ cp nwSearchFnt.js default.props punctuation.props en-us.props stemmers/en_stemmer.js \ ${DIR}/${BUILDROOT_WEBHELP}/search -- GitLab