Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1256d929
Commit
1256d929
authored
Apr 03, 2013
by
Davis King
Browse files
Made stylesheet display right in chrome
parent
0b2a2317
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
docs/docs/stylesheet.xsl
docs/docs/stylesheet.xsl
+14
-12
No files found.
docs/docs/stylesheet.xsl
View file @
1256d929
...
...
@@ -940,10 +940,12 @@ function BigToggle(node)
<xsl:template
name=
"term_list_go"
>
<xsl:param
name=
"num"
/>
<xsl:if
test=
"$num < 27"
>
<ul>
<xsl:variable
name=
"cur_letter"
select=
"substring($ucletters, $num, 1)"
/>
<div
style=
"padding:1em"
>
<div
style=
"display: inline-block;width:100% "
>
<a
name=
"{$cur_letter}"
/>
<h1><xsl:value-of
select=
"$cur_letter"
/></h1>
<xsl:for-each
select=
"term"
>
<xsl:sort
order=
"ascending"
select=
"translate(@name,$lcletters, $ucletters)"
/>
...
...
@@ -952,33 +954,33 @@ function BigToggle(node)
<xsl:if
test=
"$cur_letter = substring(translate(@name,$lcletters, $ucletters),1,1)"
>
<xsl:choose>
<xsl:when
test=
"@link"
>
<li
id=
"term"
>
<div
id=
'{$line}'
><div
id=
'name'
><a
href=
"{@link}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'{$line}'
><div
id=
'name'
><a
href=
"{@link}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'inc'
><xsl:if
test=
'@include'
>
#include
<
<xsl:value-of
select=
"@include"
/>
>
</xsl:if></div>
</div>
</li>
</div>
</xsl:when>
<xsl:when
test=
"@file"
>
<li
id=
"term"
>
<div
id=
'{$line}'
><div
id=
'name'
><a
href=
"{@file}#{@name}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'{$line}'
><div
id=
'name'
><a
href=
"{@file}#{@name}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'inc'
><xsl:if
test=
'@include'
>
#include
<
<xsl:value-of
select=
"@include"
/>
>
</xsl:if></div>
</div>
</li>
</div>
</xsl:when>
<xsl:otherwise>
<li
id=
"term"
>
<xsl:value-of
select=
"@name"
/>
<ul
>
<xsl:value-of
select=
"@name"
/>
<div
style=
"padding-left: 50px;"
>
<xsl:for-each
select=
"term"
>
<xsl:sort
order=
"ascending"
select=
"translate(@name,$lcletters, $ucletters)"
/>
<xsl:variable
name=
"alt2"
select=
"1+(($alt+position()) mod 2)"
/>
<xsl:variable
name=
"line2"
select=
"concat('line',format-number($alt2,'0'))"
/>
<li
id=
"term"
>
<div
id=
'{$line2}'
><div
id=
'name'
><a
href=
"{@link}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'{$line2}'
><div
id=
'name'
><a
href=
"{@link}"
><xsl:value-of
select=
"@name"
/></a></div>
<div
id=
'inc'
><xsl:if
test=
'@include'
>
#include
<
<xsl:value-of
select=
"@include"
/>
>
</xsl:if></div>
</div>
</li>
</div>
</xsl:for-each>
</ul>
</li>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</ul>
</div>
</div>
<xsl:call-template
name=
"term_list_go"
>
<xsl:with-param
name=
"num"
select=
"$num + 1"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment