summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/base.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/xslt/base.xslt')
-rw-r--r--gentoobrowse/xslt/base.xslt11
1 files changed, 6 insertions, 5 deletions
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt
index f5ec3db..d992210 100644
--- a/gentoobrowse/xslt/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -54,6 +54,7 @@
</xsl:template>
<xsl:template match="/*">
+ <xsl:param name="tbscdn" select="'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2'"/>
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;&#10;</xsl:text>
<html lang="en">
<head>
@@ -62,8 +63,8 @@
<link rel="shortcut icon" href="/img/glogo-small.png" type="image/png" />
<link rel="start" href="/" />
<link rel="search" href="/search" />
- <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen" />
- <link href="/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen" />
+ <link href="{$tbscdn}/css/bootstrap.min.css" rel="stylesheet" media="screen" />
+ <link href="{$tbscdn}/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen" />
<link href="/css/general.css" rel="stylesheet" media="screen" />
<xsl:call-template name="head" />
</head>
@@ -85,9 +86,9 @@
<li><a accesskey="b" href="/packages">Browse</a></li>
<li><a accesskey="o" href="/packages/popular">Popular</a></li>
<li><a accesskey="u" href="/use">Use</a></li>
- <li><a accesskey="s" onclick="showPopup('#search')" rel="nofollow">Search</a></li>
+ <li><a accesskey="s" href="#search" data-keyboard="true" data-toggle="modal" rel="nofollow">Search</a></li>
<xsl:if test="not(user)">
- <li><a accesskey="l" onclick="showPopup('#login')" rel="nofollow">Login/Sign up</a></li>
+ <li><a accesskey="l" href="#login" data-keyboard="true" data-toggle="modal" rel="nofollow">Login/Sign up</a></li>
</xsl:if>
<xsl:if test="user">
<li>
@@ -168,7 +169,7 @@
</xsl:call-template>
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
- <script src="/js/bootstrap.min.js"></script>
+ <script src="{$tbscdn}/js/bootstrap.min.js"></script>
<script src="/js/js.js"></script>
<script src="/js/googletracking.js" />
</body>