@@ -10,35 +10,56 @@ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10
10
PURPOSE. See the above copyright notices for more information.
11
11
=========================================================================*/
12
12
13
- $ this ->headScript ()->appendFile ($ this ->moduleWebroot . '/public/js/item/index.index.js ' );
14
- $ this ->headScript ()->appendFile ($ this ->moduleWebroot . '/public/js/jquery.jqplot.js ' );
15
- $ this ->headScript ()->appendFile ($ this ->moduleWebroot . '/public/js/jqplot/jqplot.dateAxisRenderer.min.js ' );
16
- $ this ->headScript ()->appendFile ($ this ->moduleWebroot . '/public/js/jqplot/jqplot.pieRenderer.min.js ' );
13
+ $ this ->headScript ()->appendFile ('http://maps.googleapis.com/maps/api/js?sensor=false ' );
14
+ $ this ->headScript ()->appendFile ($ this ->moduleWebroot .'/public/js/item/index.index.js ' );
15
+ $ this ->headScript ()->appendFile ($ this ->moduleWebroot .'/public/js/jquery.jqplot.js ' );
16
+ $ this ->headScript ()->appendFile ($ this ->moduleWebroot .'/public/js/jqplot/jqplot.dateAxisRenderer.min.js ' );
17
+ $ this ->headScript ()->appendFile ($ this ->moduleWebroot .'/public/js/jqplot/jqplot.pieRenderer.min.js ' );
17
18
?>
18
19
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="<?php echo $ this ->moduleWebroot ?> /public/js/excanvas.min.js"></script><![endif]-->
19
20
<link rel="stylesheet" type="text/css" href="<?php echo $ this ->moduleWebroot ?> /public/css/jquery.jqplot.css" />
20
21
21
22
<link type="text/css" rel="stylesheet" href="<?php echo $ this ->moduleWebroot ?> /public/css/item/index.index.css" />
22
23
<link type="text/css" rel="stylesheet" href="<?php echo $ this ->coreWebroot ?> /public/css/common/common.genericPage.css" />
24
+ <link type="text/css" rel="stylesheet" href="<?php echo $ this ->moduleWebroot ?> /public/css/index/index.index.css" />
23
25
<div class="viewMain">
24
26
<div class ="genericWrapperTopRight">
25
- <?php
26
- echo '<div style="float:right;margin-right:2px;" class="genericBigButton "> ' ;
27
- echo "<a href=' {$ this ->webroot }/item/ " .$ this ->itemDao ->getKey ()."'><img style='float:left;margin-right:2px;' alt='' src=' {$ this ->coreWebroot }/public/images/icons/back.png'/> " ;
28
- echo $ this ->t ('Back ' );
29
- echo "</a> " ;
30
- echo '</div> ' ;
31
-
32
- ?>
33
- </div>
27
+ <?php
28
+ echo '<div style="float:right;margin-right:2px;" class="genericBigButton "> ' ;
29
+ echo "<a href=' {$ this ->webroot }/item/ " .$ this ->itemDao ->getKey ()."'><img style='float:left;margin-right:2px;' alt='' src=' {$ this ->coreWebroot }/public/images/icons/back.png'/> " ;
30
+ echo $ this ->t ('Back ' );
31
+ echo "</a> " ;
32
+ echo '</div> ' ;
33
+ ?>
34
+ </div>
34
35
<h3>Statistics - <?php echo $ this ->itemDao ->getName ()?> </h3>
35
36
36
-
37
- <div id="chartDownloads" style="height:450px;width:800px; "></div>
38
-
37
+ <img class="tabsLoading" alt="" src="<?php echo $ this ->coreWebroot ?> /public/images/icons/loading.gif" />
38
+ <div class="tabs" id='tabsGeneric'>
39
+ <ul>
40
+ <li><a href="#tabs-map">Download Map</a></li>
41
+ <li><a href="#tabs-chart">Daily Totals</a></li>
42
+ </ul>
43
+ <div id="tabs-map">
44
+ <div id="map_canvas" style="width:800px; height:450px;"></div>
45
+ </div>
46
+ <div id="tabs-chart">
47
+ <div id="chartDownloads" style="height:450px; width:800px;"></div>
48
+ </div>
39
49
</div>
40
50
41
- <div class="viewSideBar">
42
-
43
-
44
- </div>
51
+ <!-- START! -->
52
+ <script type="text/javascript">
53
+ function placeDownloadPins(theMap)
54
+ {
55
+ var myLatlng = new google.maps.LatLng(35, -100.044922);
56
+
57
+ var marker = new google.maps.Marker({
58
+ position: myLatlng,
59
+ map: theMap,
60
+ title:"Hello World!!"
61
+ });
62
+ }
63
+ </script>
64
+ <!-- END -->
65
+ </div>
0 commit comments