comparison createHTML.sh @ 1:440f4aa3db97 draft

Added option to dowload iReports
author saskia-hiltemann
date Wed, 30 Jul 2014 07:03:43 -0400
parents ac5f9272033b
children a4813532bbc6
comparison
equal deleted inserted replaced
0:ac5f9272033b 1:440f4aa3db97
2 echo "Creating Intro Page" 2 echo "Creating Intro Page"
3 title="$1" 3 title="$1"
4 coverimage=$2 4 coverimage=$2
5 link=$3 5 link=$3
6 htmlout=$4 6 htmlout=$4
7 zipireport=$5
7 8
8 echo -e "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"> 9 echo -e "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">
9 <html> 10 <html>
10 <head> 11 <head>
11 </head> 12 </head>
17 <b><font size=\"15\"> iReport: ${title} </font></b><br/> 18 <b><font size=\"15\"> iReport: ${title} </font></b><br/>
18 <br/> 19 <br/>
19 <br/> 20 <br/>
20 <a href=\"$link\"> Click here to view report </a> <br/><br/> 21 <a href=\"$link\"> Click here to view report </a> <br/><br/>
21 <a href=\"$link\"> <img src="$coverimage" width=\"50%\" alt=\"loading image..\"/> </a><br/><br/> 22 <a href=\"$link\"> <img src="$coverimage" width=\"50%\" alt=\"loading image..\"/> </a><br/><br/>
23 <a href=\"$zipireport\"> Click here to download a copy of this iReport </a> <br/><br/>
22 </center> 24 </center>
23 </body> 25 </body>
24 </html>" > $htmlout 26 </html>" > $htmlout
25 27
26 } 28 }
464 <head> 466 <head>
465 <meta charset=\"utf-8\"> 467 <meta charset=\"utf-8\">
466 <title>jQuery UI Tabs - Default functionality</title> 468 <title>jQuery UI Tabs - Default functionality</title>
467 469
468 470
469 <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css\"> 471 <link rel=\"stylesheet\" href=\"jquery-ui.css\">
470 <link rel=\"stylesheet\" href=\"/resources/demos/style.css\"> 472 <script src=\"jquery-1.10.2.js\"></script>
471 473 <script src=\"jquery-ui.js\"></script>
472 <script src=\"//code.jquery.com/jquery-1.10.2.js\"></script>
473 <script src=\"//code.jquery.com/ui/1.10.4/jquery-ui.js\"></script>
474 <script type=\"text/javascript\" src=\"iframe-resizer/src/iframeResizer.js\"></script> 474 <script type=\"text/javascript\" src=\"iframe-resizer/src/iframeResizer.js\"></script>
475 <script type=\"text/javascript\" src=\"jquery.zoom.js\"></script> 475 <script type=\"text/javascript\" src=\"jquery.zoom.js\"></script>
476
476 <script> 477 <script>
477 \$(function() { 478 \$(function() {
478 \$( \"#tabs\" ).tabs(); 479 \$( \"#tabs\" ).tabs();
479 }); 480 });
480 481