9 array(
'id'=>1,
'firstName'=>
'Mark',
'lastName'=>
'Otto',
'language'=>
'CSS',
'usage'=>
'<span class="inlinebar">1,3,4,5,3,5</span>'),
10 array(
'id'=>2,
'firstName'=>
'Jacob',
'lastName'=>
'Thornton',
'language'=>
'JavaScript',
'usage'=>
'<span class="inlinebar">1,3,16,5,12,5</span>'),
11 array(
'id'=>3,
'firstName'=>
'Stu',
'lastName'=>
'Dent',
'language'=>
'HTML',
'usage'=>
'<span class="inlinebar">1,4,4,7,5,9,10</span>'),
12 array(
'id'=>4,
'firstName'=>
'Jacob',
'lastName'=>
'Thornton',
'language'=>
'JavaScript',
'usage'=>
'<span class="inlinebar">1,3,16,5,12,5</span>'),
13 array(
'id'=>5,
'firstName'=>
'Stu',
'lastName'=>
'Dent',
'language'=>
'HTML',
'usage'=>
'<span class="inlinebar">1,3,4,5,3,5</span>'),
17 <div
class=
"row-fluid">
19 <div
class=
"stat-block">
21 <li
class=
"stat-graph inlinebar" id=
"weekly-visit">8,4,6,5,9,10</li>
22 <li
class=
"stat-count"><span>$23,000</span><span>Weekly Sales</span></li>
23 <li
class=
"stat-percent"><span
class=
"text-success stat-percent">20%</span></li>
28 <div
class=
"stat-block">
30 <li
class=
"stat-graph inlinebar" id=
"new-visits">2,4,9,1,5,7,6</li>
31 <li
class=
"stat-count"><span>$123,780</span><span>Monthly Sales</span></li>
32 <li
class=
"stat-percent"><span
class=
"text-error stat-percent">-15%</span></li>
37 <div
class=
"stat-block">
39 <li
class=
"stat-graph inlinebar" id=
"unique-visits">200,300,500,200,300,500,1000</li>
40 <li
class=
"stat-count"><span>$12,456</span><span>Open Invoices</span></li>
41 <li
class=
"stat-percent"><span
class=
"text-success stat-percent">10%</span></li>
46 <div
class=
"stat-block">
48 <li
class=
"stat-graph inlinebar" id=
"">1000,3000,6000,8000,3000,8000,10000</li>
49 <li
class=
"stat-count"><span>$25,000</span><span>Overdue</span></li>
50 <li
class=
"stat-percent"><span><span
class=
"text-success stat-percent">20%</span></li>
56 <div
class=
"row-fluid">
61 $this->beginWidget(
'zii.widgets.CPortlet', array(
62 'title'=>
'<span class="icon-picture"></span>Operations Chart',
67 <div
class=
"auto-update-chart" style=
"height: 250px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
69 <?php $this->endWidget(); ?>
76 <span
class=
"summary-icon">
77 <img src=
"<?php echo $baseUrl ;?>/img/credit.png" width=
"36" height=
"36" alt=
"Monthly Income">
79 <span
class=
"summary-number">$78,245</span>
80 <span
class=
"summary-title"> Monthly Income</span>
83 <span
class=
"summary-icon">
84 <img src=
"<?php echo $baseUrl ;?>/img/page_white_edit.png" width=
"36" height=
"36" alt=
"Open Invoices">
86 <span
class=
"summary-number">125</span>
87 <span
class=
"summary-title"> Open Invoices</span>
90 <span
class=
"summary-icon">
91 <img src=
"<?php echo $baseUrl ;?>/img/page_white_excel.png" width=
"36" height=
"36" alt=
"Open Quotes<">
93 <span
class=
"summary-number">53</span>
94 <span
class=
"summary-title"> Open Quotes</span>
97 <span
class=
"summary-icon">
98 <img src=
"<?php echo $baseUrl ;?>/img/group.png" width=
"36" height=
"36" alt=
"Active Members">
100 <span
class=
"summary-number">654,321</span>
101 <span
class=
"summary-title"> Active Members</span>
104 <span
class=
"summary-icon">
105 <img src=
"<?php echo $baseUrl ;?>/img/folder_page.png" width=
"36" height=
"36" alt=
"Recent Conversions">
107 <span
class=
"summary-number">630</span>
108 <span
class=
"summary-title"> Recent Conversions</span></li>
117 <div
class=
"row-fluid">
119 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
121 'htmlOptions'=>array(
'class'=>
'table table-striped table-bordered table-condensed'),
123 'template'=>
"{items}",
125 array(
'name'=>
'id',
'header'=>
'#'),
126 array(
'name'=>
'firstName',
'header'=>
'First name'),
127 array(
'name'=>
'lastName',
'header'=>
'Last name'),
128 array(
'name'=>
'language',
'header'=>
'Language'),
129 array(
'name'=>
'usage',
'header'=>
'Usage',
'type'=>
'raw'),
135 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
137 'htmlOptions'=>array(
'class'=>
'table table-striped table-bordered table-condensed'),
139 'template'=>
"{items}",
141 array(
'name'=>
'id',
'header'=>
'#'),
142 array(
'name'=>
'firstName',
'header'=>
'First name'),
143 array(
'name'=>
'lastName',
'header'=>
'Last name'),
144 array(
'name'=>
'language',
'header'=>
'Language'),
145 array(
'name'=>
'usage',
'header'=>
'Usage',
'type'=>
'raw'),
153 <div
class=
"row-fluid">
156 $this->beginWidget(
'zii.widgets.CPortlet', array(
157 'title'=>
'<span class="icon-th-large"></span>Income Chart',
162 <div
class=
"visitors-chart" style=
"height: 230px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
164 <?php $this->endWidget(); ?>
168 $this->beginWidget(
'zii.widgets.CPortlet', array(
169 'title'=>
'<span class="icon-th-list"></span> Visitors Chart',
174 <div
class=
"pieStats" style=
"height: 230px;width:100%;margin-top:15px; margin-bottom:15px;"></div>
176 <?php $this->endWidget(); ?>
178 <!--<div
class=
"span2">
179 <input
class=
"knob" data-width=
"100" data-displayInput=
false data-fgColor=
"#5EB95E" value=
"35">
182 <input
class=
"knob" data-width=
"100" data-cursor=
true data-fgColor=
"#B94A48" data-thickness=.3
value=
"29">
185 <input
class=
"knob" data-width=
"100" data-min=
"-100" data-fgColor=
"#F89406" data-displayPrevious=
true value=
"44">
208 if(this.$.data(
'skin') ==
'tron') {
210 var a = this.angle(this.cv)
211 , sa = this.startAngle
212 , sat = this.startAngle
217 this.g.lineWidth = this.lineWidth;
221 && (eat = eat + 0.3);
223 if (this.o.displayPrevious) {
224 ea = this.startAngle + this.angle(this.v);
229 this.g.strokeStyle = this.pColor;
230 this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sa, ea,
false);
235 this.g.strokeStyle = r ? this.o.fgColor : this.fgColor ;
236 this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sat, eat,
false);
239 this.g.lineWidth = 2;
241 this.g.strokeStyle = this.o.fgColor;
242 this.g.arc( this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI,
false);
251 var v, up=0,down=0,i=0
252 ,$idir = $(
"div.idir")
253 ,$ival = $(
"div.ival")
254 ,incr =
function() { i++; $idir.show().html(
"+").fadeOut(); $ival.html(i); }
255 ,decr =
function() { i--; $idir.show().html(
"-").fadeOut(); $ival.html(i); };
256 $(
"input.infinite").knob(
261 , change :
function () {