svghmi/gen_index_xhtml.xslt
branchsvghmi
changeset 2919 c6e6051898f5
parent 2917 c8d923dd707f
child 2920 3ee337c8c769
equal deleted inserted replaced
2918:5cb6ab87b185 2919:c6e6051898f5
  1231 </xsl:text>
  1231 </xsl:text>
  1232     <xsl:text>    on_key_click: function(symbols) {
  1232     <xsl:text>    on_key_click: function(symbols) {
  1233 </xsl:text>
  1233 </xsl:text>
  1234     <xsl:text>        var syms = symbols.split(" ");
  1234     <xsl:text>        var syms = symbols.split(" ");
  1235 </xsl:text>
  1235 </xsl:text>
  1236     <xsl:text>        this.shift = this.caps;
  1236     <xsl:text>        this.shift |= this.caps;
  1237 </xsl:text>
  1237 </xsl:text>
  1238     <xsl:text>        this.editstr += syms[this.shift?syms.length:0];
  1238     <xsl:text>        this.editstr += syms[this.shift?syms.length-1:0];
  1239 </xsl:text>
  1239 </xsl:text>
  1240     <xsl:text>        this.shift = false;
  1240     <xsl:text>        this.shift = false;
  1241 </xsl:text>
  1241 </xsl:text>
  1242     <xsl:text>        this.update();
  1242     <xsl:text>        this.update();
  1243 </xsl:text>
  1243 </xsl:text>
  1480   </xsl:template>
  1480   </xsl:template>
  1481   <xsl:template match="/">
  1481   <xsl:template match="/">
  1482     <xsl:comment>
  1482     <xsl:comment>
  1483       <xsl:text>Made with SVGHMI. https://beremiz.org</xsl:text>
  1483       <xsl:text>Made with SVGHMI. https://beremiz.org</xsl:text>
  1484     </xsl:comment>
  1484     </xsl:comment>
  1485     <xsl:apply-templates mode="debug_as_comment" select="document('')/*/reflect:*"/>
       
  1486     <html xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml">
  1485     <html xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml">
  1487       <head/>
  1486       <head/>
  1488       <body style="margin:0;overflow:hidden;">
  1487       <body style="margin:0;overflow:hidden;">
  1489         <xsl:copy-of select="$result_svg"/>
  1488         <xsl:copy-of select="$result_svg"/>
  1490         <script>
  1489         <script>