* hydra: updated jquery version, needed for tabs (to be added later)

This commit is contained in:
Rob Vermaas 2010-02-01 12:07:26 +00:00
parent 9f9e18e3a6
commit 3677a5fc6e
2 changed files with 7 additions and 4 deletions

View file

@ -21,8 +21,8 @@ let
buildInputs = [zip unzip];
jquery = fetchurl {
url = http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;
sha1 = "c10dbe0c2b23444d0794f3376398702d84f41583";
url = http://jqueryui.com/download/jquery-ui-1.7.2.custom.zip;
sha256 = "1l9dwaaqvdysmzlkg1vb8j0s0xn63d475gh53pjjwxw85668krdh";
};
tablesorter = fetchurl {
@ -32,7 +32,8 @@ let
# Since we don't have a `make dist', just tar everything.
distPhase = ''
cp $jquery src/root/static/js/jquery-pack.js
ensureDir src/root/static/js/jquery
unzip -d src/root/static/js/jquery $jquery
rm -rf src/root/static/js/tablesorter
unzip -d src/root/static/js $tablesorter

View file

@ -14,7 +14,9 @@
<link rel="stylesheet" href="/static/css/nix-common.css" type="text/css" />
<link rel="stylesheet" href="/static/css/nixos-site.css" type="text/css" />
<link rel="stylesheet" href="/static/css/logfile.css" type="text/css" />
<script type="text/javascript" src="/static/js/jquery-pack.js"></script>
<link type="text/css" href="/static/js/jquery/css/smoothness/jquery-ui-1.7.2.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="/static/js/jquery/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/static/js/jquery/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="/static/js/tablesorter/jquery.tablesorter.js"></script>
<script type="text/javascript">