HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
graphs.php
Go to the documentation of this file.
1 <?php
2 /* @var $this SiteController */
3 
4 $this->pageTitle=Yii::app()->name . ' - Graphs & Charts';
5 $this->breadcrumbs=array(
6  'Graphs & Charts',
7 );
8 ?>
9 <div class="page-header">
10  <h1>Graphs &amp; Charts - <small>Flot and Sparkline</small></h1>
11 </div>
12 
13 <div class="row-fluid">
14  <div class="span9">
15  <?php
16  $this->beginWidget('zii.widgets.CPortlet', array(
17  'title'=>"<i class='icon-user'></i> Live Visitors",
18  ));
19 
20  ?>
21  <div class="auto-update-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
22  <?php $this->endWidget();?>
23  </div>
24  <div class="span3">
25  <?php
26  $this->beginWidget('zii.widgets.CPortlet', array(
27  'title'=>"<i class='icon-tag'></i> Account Stats",
28  ));
29 
30  ?>
31  <div style="text-align:center;">
32  <p style="margin-bottom:20px;">
33  <strong>Open Invoices - $24,270</strong><br />
34  <span class="pie"></span>
35  </p>
36  <p style="margin-bottom:20px;">
37  <strong>Overdue Invoices - $45,690</strong><br />
38  <span class="dynamicbar">Loading..</span>
39  </p>
40  <p style="margin-bottom:20px;">
41  <strong>Converted Quotes - $165,320</strong><br />
42  <span class="inlinesparkline">1,4,4,7,5,9,10</span>
43  </p>
44  <p style="margin-bottom:20px;">
45  <strong>Monthly Income - $245,000</strong><br />
46  <span class="dynamicsparkline">Loading..</span>
47  </p>
48  </div>
49 
50 
51 
52  <?php $this->endWidget();?>
53  </div>
54 </div>
55 
56 <div class="row-fluid">
57  <div class="span12">
58  <?php
59  $this->beginWidget('zii.widgets.CPortlet', array(
60  'title'=>"<i class='icon-user'></i> Total Visitors",
61  ));
62 
63  ?>
64  <div class="visitors-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
65 
66  <?php $this->endWidget();?>
67  </div>
68 </div>
69 
70 <div class="row-fluid">
71  <div class="span6">
72  <?php
73  $this->beginWidget('zii.widgets.CPortlet', array(
74  'title'=>"<i class='icon-repeat'></i> Bar chart",
75  ));
76 
77  ?>
78  <div class="horizontal-bars-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
79  <?php $this->endWidget();?>
80  </div>
81  <div class="span6">
82  <?php
83  $this->beginWidget('zii.widgets.CPortlet', array(
84  'title'=>"<i class='icon-share'></i> Returning Visitors",
85  ));
86 
87  ?>
88  <div class="lines-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
89 
90  <?php $this->endWidget();?>
91  </div>
92 </div>
93 
94 <div class="row-fluid">
95  <div class="span6">
96  <?php
97  $this->beginWidget('zii.widgets.CPortlet', array(
98  'title'=>"<i class='icon-pencil'></i> Data Usage",
99  ));
100 
101  ?>
102  <div class="stacked-bars-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
103  <?php $this->endWidget();?>
104  </div>
105  <div class="span6">
106  <?php
107  $this->beginWidget('zii.widgets.CPortlet', array(
108  'title'=>"<i class='icon-arrow-down'></i> Data Usage Monthly",
109  ));
110 
111  ?>
112  <div class="order-bars-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
113 
114  <?php $this->endWidget();?>
115  </div>
116 </div>
117 
118 <div class="row-fluid">
119  <div class="span6">
120  <?php
121  $this->beginWidget('zii.widgets.CPortlet', array(
122  'title'=>"<i class='icon-tint'></i> Pie Charts",
123  ));
124 
125  ?>
126  <div class="simple-pie" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
127  <?php $this->endWidget();?>
128  </div>
129  <div class="span6">
130  <?php
131  $this->beginWidget('zii.widgets.CPortlet', array(
132  'title'=>"<i class='icon-adjust'></i> Location Chart",
133  ));
134 
135  ?>
136  <div class="simple-donut" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
137 
138  <?php $this->endWidget();?>
139  </div>
140 </div>
141 
142 <div class="row-fluid">
143  <div class="span6">
144  <?php
145  $this->beginWidget('zii.widgets.CPortlet', array(
146  'title'=>"<i class='icon-check'></i> Other chart",
147  ));
148 
149  ?>
150  <div class="simple-chart" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
151  <?php $this->endWidget();?>
152  </div>
153  <div class="span6">
154  <?php
155  $this->beginWidget('zii.widgets.CPortlet', array(
156  'title'=>"<i class='icon-info-sign'></i> Pie chart",
157  ));
158 
159  ?>
160  <div class="pieStats" style="height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
161 
162  <?php $this->endWidget();?>
163  </div>
164 </div>