Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Klortho committed May 24, 2013
1 parent 7580d09 commit 33be550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 290 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Create a directory that is served by an HTTP server. Then, from a bash shell wi
that as the current working directory:

git clone https://github.com/NCBITools/PubReader.git
cd test
cd PubReader/test
./make-test-pages.sh

Point your browser to http://<em>location</em>/PubReader/test/test-article.html,
Expand Down Expand Up @@ -43,4 +43,4 @@ merchantability or fitness for any particular purpose.

<sup>1</sup> PubReader™ is a trademark of the U. S. National Library of
Medicine. If you use this software on a public site, please include the
preceding sentence as an acknowledgement on your site.
preceding sentence as an acknowledgement on your site.
288 changes: 0 additions & 288 deletions test/test-page.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -329,294 +329,6 @@
</html>
</xsl:template>

<!--
<xsl:template match="/">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta charset="utf-8"/>
<script type="text/javascript" src="../js/jr.boots.js"> </script>
<title>
<xsl:copy-of select="$title"/>
</title>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta name="viewport"
content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
<link
href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700&amp;subset=latin,greek"
rel="stylesheet" type="text/css"/>
<link href="http://fonts.googleapis.com/css?family=Tangerine&amp;text=BCINacefghilmnorty"
rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="../lib/css/normalize.css"/>
<link rel="stylesheet" href="../lib/css/figpopup.css"/>
<link rel="stylesheet" href="../css/jr.ui.css"/>
<link rel="stylesheet" href="../css/jr.pagemanager.css"/>
<link rel="stylesheet" href="../css/jr.pageturnsensor.css"/>
<link rel="stylesheet" href="../css/jr.pageprogressbar.css"/>
<link rel="stylesheet" href="../css/jr.objectbox.css"/>
<link rel="stylesheet" href="../css/jr.panel.css"/>
<link rel="stylesheet" href="../css/jr.panel.typo.css"/>
<link rel="stylesheet" href="../css/jr.panel.cmap.css"/>
<link rel="stylesheet" href="../css/jr.panel.istrip.css"/>
<link rel="stylesheet" href="../css/jr.content.css"/>
</head>
<body>
<div id="jr" data-jr-path="../">
<div id="jr-ui" class="hidden">
<nav id="jr-head">
<div class="flexh tb">
<div id="jr-tb1">
<a id="jr-pmc-sw" href="/pmc/" class="btn link wsprkl" title="PMC Home Page">
<img src="../img/pmc.logo.svg"/>
</a>
<a id="jr-links-sw" class="btn wsprkl hidden" title="Links">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path fill="#999"
d="M30,20l-20,0l0,60l80,0l0,-30l-5,5l0,20l-70,0l0,-50l10,0zM90,40l-30,-25l0,10c0,10 -70,5 -20,40c20,0 -40,-15, 20,-20 l0,10z"
/>
</svg>
</a>
<a id="jr-alt-sw" class="btn wsprkl hidden"
title="Alternative formats of the Article">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="250 150 300 300"
preserveAspectRatio="none">
<g transform="scale(0.80) skewY(25) skewX(-5) translate(240,-205)">
<path style="fill:none" stroke-width="20"
d="M417,334c0,17-10,31-22,31h-90c-12,0-22-14-22-31V209c0-17,10-31,22-31h90c12,0,22,14,22,31V334z"/>
<g stroke-width="7">
<line x1="302" y1="224" x2="396" y2="224"/>
<line x1="302" y1="248" x2="396" y2="248"/>
<line x1="302" y1="272" x2="396" y2="272"/>
</g>
</g>
<g transform="scale(0.80) skewY(-25) skewX(5) translate(20,260)">
<path style="fill:none" stroke-width="20"
d="M417,334c0,17-10,31-22,31h-90c-12,0-22-14-22-31V209c0-17,10-31,22-31h90c12,0,22,14,22,31V334z"/>
<g stroke-width="7">
<line x1="302" y1="224" x2="396" y2="224"/>
<line x1="302" y1="248" x2="396" y2="248"/>
<line x1="302" y1="272" x2="396" y2="272"/>
<line x1="302" y1="296" x2="396" y2="296"/>
<line x1="302" y1="319" x2="396" y2="319"/>
</g>
</g>
<g transform="translate(50,40)">
<path style="fill:#FFF;" stroke-width="20"
d="M417,334c0,17-10,31-22,31h-90c-12,0-22-14-22-31V209c0-17,10-31,22-31h90c12,0,22,14,22,31V334z"/>
<g transform="translate(302,205) scale(0.27) ">
<path style="fill:#F00" stroke="#F00" fill="#F91D0A"
d="M115,262c11-21,23-46,34-71l0,0l4-9C140,130,132,90,139,64l0,0c1-6,9-10,18-10l0,0l5,0h0c11-0,17,14,17,20l0,0c1,9-3,25-3,25l0,0c0-6,0-17-3-26l0,0c-4-10-9-16-13-17l0,0c-2,1-4,4-4,9l0,0c-1,7-1,17-1,22l0,0c0,17,3,41,10,65l0,0c1-3,2-7,3-10l0,0c1-5,10-40,10-40l0,0c0,0-2,46-5,61l0,0c-0,3-1,5-2,9l0,0c11,31,29,60,51,80l0,0c8,8,19,14,29,20l0,0c22-3,43-4,60-4l0,0c22,0,39,3,46,10l0,0c3,3,4,7,5,11l0,0c0,1-0,5-0,6l0,0c0-1,0-7-18-13l0,0c-14-4-41-4-74-1l0,0c37,18,74,27,85,22l0,0c2-1,6-6,6-6l0,0c0,0-2,9-3,11l0,0c-1,2-5,5-9,6l0,0c-18,4-66-6-107-30l0,0c-46,6-97,19-138,32l0,0C64,389,34,422,9,409l0,0l-9-4c-3-2-4-7-3-11l0,0c2-14,20-35,55-56l0,0c3-2,20-11,20-11l0,0c0,0-12,12-15,14l0,0c-28,23-49,52-48,63l0,0l0,0C33,401,69,353,115,262 M130,270c-7,14-15,27-22,40l0,0c38-16,79-26,119-33l0,0c-5-3-10-7-15-11l0,0c-21-18-38-41-50-65l0,0C154,220,145,242,130,270"
/>
</g>
</g>
</svg>
</a>
</div>
<div class="jr-rhead f1">
<div class="t">
<xsl:copy-of select="$title"/>
</div>
<div class="j">Journal of Interesting Things</div>
</div>
<div id="jr-tb2">
<a id="jr-help-sw" class="btn wsprkl xhidden" title="Help with PubReader"
data-path="../" data-href="../img/help.xml">?</a>
<a id="jr-typo-sw" class="btn wsprkl hidden" title="Typography configuration"
>Aa</a>
<a id="jr-cmap-sw" class="btn wsprkl hidden" title="Article navigation">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path
d="M20,20h10v8H20V20zM36,20h44v8H36V20zM20,37.33h10v8H20V37.33zM36,37.33h44v8H36V37.33zM20,54.66h10v8H20V54.66zM36,54.66h44v8H36V54.66zM20,72h10v8 H20V72zM36,72h44v8H36V72z"
/>
</svg>
</a>
</div>
</div>
</nav>
<!-/- Dashboard -/->
<nav id="jr-dash" class="noselect">
<nav id="jr-progress"/>
<nav id="jr-istrip" class="istrip hidden">
<a id="jr-is-prev" href="#" class="hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path
d="M80,40 60,65 80,90 70,90 50,65 70,40z M50,40 30,65 50,90 40,90 20,65 40,40z"/>
<text x="10" y="25" style="font-size:25px">Prev(&lt;)</text>
</svg>
</a>
<a id="jr-is-next" href="#" class="hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path
d="M20,40 40,65 20,90 30,90 50,65 30,40z M50,40 70,65 50,90 60,90 80,65 60,40z"/>
<text x="10" y="25" style="font-size:25px">Next(&gt;)</text>
</svg>
</a>
</nav>
<div id="jr-is-tb">
<a id="jr-is-sw" class="btn wsprkl hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<rect x="10" y="40" width="20" height="20"/>
<rect x="40" y="40" width="20" height="20"/>
<rect x="70" y="40" width="20" height="20"/>
</svg>
</a>
</div>
</nav>
<!-/- Other controls -/->
<aside id="jr-links-p" class="hidden flexv">
<div class="tb sk-htbar">
<a class="jr-p-close btn wsprkl">Done</a>
</div>
<div class="cnt lol f1">
<a href="/pmc/journals/" class="navlink">Journal List</a>
<a class="navlink" href="/pmc/journals/1/">Mol Biol Cell</a>
<a class="navlink" href="/pmc/issues/447/">v.11(6); Jun 2000</a>
<a href="/pmc/articles/PMC14900/citedby/">Also cited by</a>
</div>
</aside>
<aside id="jr-alt-p" class="hidden flexv">
<div class="tb sk-htbar">
<a class="jr-p-close btn wsprkl">Done</a>
</div>
<div class="cnt lol f1">
<a href="/pmc/articles/PMC14900/" class="">Article</a>
<a class="" id="jr-epub-link" href="/pmc/articles/PMC14900/epub/foo">ePub (beta)</a>
<a href="/pmc/articles/PMC14900/pdf/mk002019.pdf" class="">PDF (537K)</a>
</div>
</aside>
<aside id="jr-cmap-p" class="hidden flexv">
<div class="tb sk-htbar">
<a class="jr-p-close btn wsprkl">Done</a>
</div>
<div class="cnt lol f1"/>
</aside>
<aside id="jr-typo-p" class="hidden flexv">
<div class="tb sk-htbar">
<div>
<a class="jr-p-close btn wsprkl">Done</a>
</div>
</div>
<div class="cnt typo f1">
<div>
<a class="sf btn wsprkl">A</a>
<a class="lf btn wsprkl">A</a>
</div>
<div>
<a class="bcol-auto btn wsprkl">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"
preserveAspectRatio="none">
<text x="10" y="70" style="font-size:65px;font-family:Georgia,serif;"
>AUTO</text>
</svg>
</a>
<a class="bcol-1 btn wsprkl">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path d="M15,25 85,25zM15,40 85,40zM15,55 85,55zM15,70 85,70z"/>
</svg>
</a>
<a class="bcol-2 btn wsprkl">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"
preserveAspectRatio="none">
<path
d="M5,25 45,25z M55,25 95,25zM5,40 45,40z M55,40 95,40zM5,55 45,55z M55,55 95,55zM5,70 45,70z M55,70 95,70z"
/>
</svg>
</a>
</div>
</div>
</aside>
<aside id="jr-objectbox" class="thidden hidden">
<div class="tb sk-htbar flexh">
<div>
<a class="jr-objectbox-close btn back">Back</a>
</div>
<div class="title-text f1"/>
</div>
<div class="jr-objectbox-inner cnt">
<div class="jr-objectbox-drawer"/>
</div>
</aside>
<nav id="jr-pm-left" class="hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 1000"
preserveAspectRatio="none">
<path stroke-width="1"
d="M80,0l0,1000zM70,15l10,985zM60,30l20,970zM53,40l27,960zM46,50l34,950zM39,55l41,945zM34,60l46,940zM30,65l50,935z"/>
<text x="850" y="0" transform="rotate(87)" textLength="150" font-size="23">Previous
Page</text>
</svg>
</nav>
<nav id="jr-pm-right" class="hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 1000"
preserveAspectRatio="none">
<path stroke-width="1"
d="M20,0l0,1000zM30,15l-10,985zM40,30l-20,970zM47,40l-27,960zM54,50l-34,950zM61,55l-41,945zM66,60l-46,940zM70,65l-50,930z"/>
<text x="850" y="-90" transform="rotate(93)" textLength="150" font-size="23">Next
Page</text>
</svg>
</nav>
</div>
<xsl:copy-of select="$content"/>
<!-/- Javascript -/->
<div id="jr-scripts">
<script type="text/javascript" src="../lib/js/jquery-1.7.2.js"> </script>
<script type="text/javascript" src="../lib/js/modernizr.jr.js"> </script>
<script type="text/javascript" src="../lib/js/jquery.throttle.js"> </script>
<script src="../lib/js/rangeinput.js"> </script>
<script src="../lib/js/jquery.touchSwipe.js"> </script>
<script src="../lib/js/jquery.hoverIntent.js"> </script>
<script src="../lib/js/figpopup.js"> </script>
<script src="../lib/js/jquery.fittext.js"> </script>
<script src="../js/jr.utils.js"> </script>
<script src="../js/jquery.jr.pagemanager.js"> </script>
<script src="../js/jquery.jr.paginationstatus.js"> </script>
<script src="../js/jquery.jr.pageturnsensor.js"> </script>
<script src="../js/jquery.jr.pageprogressbar.js"> </script>
<script src="../js/jquery.jr.links.js"> </script>
<script src="../js/jquery.jr.historykeeper.js"> </script>
<script src="../js/jquery.jr.objectbox.js"> </script>
<script src="../js/jquery.jr.switcher.js"> </script>
<script src="../js/jquery.jr.panel.js"> </script>
<script src="../js/jquery.jr.panel.typo.js"> </script>
<script src="../js/jquery.jr.panel.cmap.js"> </script>
<script src="../js/jquery.jr.panel.istrip.js"> </script>
<script src="../js/jats.reader.js"> </script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
SVG: {
scale: 90,
linebreaks: {
automatic: true,
width: "container"
}
},
showProcessingMessages: false,
messageStyle: "none"
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG"> </script>
</div>
</div>
</body>
</html>
</xsl:template>
-->

<xsl:template match="@*|node()">
<xsl:copy>
Expand Down

0 comments on commit 33be550

Please sign in to comment.