EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2  $baseUrl = Yii::app()->theme->baseUrl;
3  $cs = Yii::app()->getClientScript();
4  $cs->registerScriptFile('http://www.google.com/jsapi');
5  $cs->registerCoreScript('jquery');
6  $cs->registerScriptFile($baseUrl.'/js/jquery.gvChart-1.0.1.min.js');
7  $cs->registerScriptFile($baseUrl.'/js/pbs.init.js');
8  $cs->registerCssFile($baseUrl.'/css/jquery.css');
9 
10 ?>
11 
12 <?php $this->pageTitle=Yii::app()->name; ?>
13 
14 <h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i> Dashboard</h1>
15 <div class="flash-error">This is an example of an error message to show you that things have gone wrong.</div>
16 <div class="flash-notice">This is an example of a notice message.</div>
17 <div class="flash-success">This is an example of a success message to show you that things have gone according to plan.</div>
18 <div class="span-23 showgrid">
19 <div class="dashboardIcons span-16">
20  <div class="dashIcon span-3">
21  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-inbox.png" alt="Inbox" /></a>
22  <div class="dashIconText "><a href="#">Inbox</a></div>
23  </div>
24 
25  <div class="dashIcon span-3">
26  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-shopping-cart2.png" alt="Order History" /></a>
27  <div class="dashIconText"><a href="#">Order History</a></div>
28  </div>
29 
30  <div class="dashIcon span-3">
31  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-cash2.png" alt="Manage Prices" /></a>
32  <div class="dashIconText"><a href="#">Manage Prices</a></div>
33  </div>
34 
35  <div class="dashIcon span-3">
36  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-people.png" alt="Customers" /></a>
37  <div class="dashIconText"><a href="#">Customers</a></div>
38  </div>
39 
40  <div class="dashIcon span-3">
41  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-chart.png" alt="Page" /></a>
42  <div class="dashIconText"><a href="#">Reports</a></div>
43  </div>
44 
45  <div class="dashIcon span-3">
46  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-barcode.png" alt="Products" /></a>
47  <div class="dashIconText"><a href="#">Products</a></div>
48  </div>
49 
50  <div class="dashIcon span-3">
51  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-address-book.png" alt="Contacts" /></a>
52  <div class="dashIconText"><a href="#">Contacts</a></div>
53  </div>
54 
55  <div class="dashIcon span-3">
56  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-calendar.png" alt="Calendar" /></a>
57  <div class="dashIconText"><a href="#">Calendar</a></div>
58  </div>
59 
60  <div class="dashIcon span-3">
61  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-recycle-bin.png" alt="Trash" /></a>
62  <div class="dashIconText"><a href="#">Trash</a></div>
63  </div>
64 
65  <div class="dashIcon span-3">
66  <a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/big_icons/icon-warning.png" alt="System Alerts" /></a>
67  <div class="dashIconText"><a href="#">System Alerts</a></div>
68  </div>
69 
70 
71 </div><!-- END OF .dashIcons -->
72 <div class="span-7 last">
73 
74  Domains Used: 45/100
75  <?php
76  $this->widget('zii.widgets.jui.CJuiProgressBar', array(
77  'value'=>45,
78  'htmlOptions'=>array(
79  'style'=>'height:10px;',
80  'class'=>'shadowprogressbar'
81  ),
82  ));
83  ?>
84  <br />
85  Space Used: 95%
86  <?php
87  $this->widget('zii.widgets.jui.CJuiProgressBar', array(
88  'value'=>95,
89  'htmlOptions'=>array(
90  'style'=>'height:10px;',
91  'class'=>'shadowprogressbar'
92  ),
93  ));
94  ?>
95  <br />
96  Bandwidth Used: 10%
97  <?php
98  $this->widget('zii.widgets.jui.CJuiProgressBar', array(
99  'value'=>10,
100  'htmlOptions'=>array(
101  'style'=>'height:10px;',
102  'class'=>'shadowprogressbar'
103  ),
104  ));
105  ?>
106  <br />
107  Conversion Rate: 25%
108  <?php
109  $this->widget('zii.widgets.jui.CJuiProgressBar', array(
110  'value'=>25,
111  'htmlOptions'=>array(
112  'style'=>'height:10px;',
113  'class'=>'shadowprogressbar'
114  ),
115  ));
116  ?>
117  <br />
118  Success Rate: 55%
119  <?php
120  $this->widget('zii.widgets.jui.CJuiProgressBar', array(
121  'value'=>55,
122  'htmlOptions'=>array(
123  'style'=>'height:10px;',
124  'class'=>'shadowprogressbar'
125  ),
126  ));
127  ?>
128 </div>
129 
130 <div class="span-10">
131 <?php
132 $this->beginWidget('zii.widgets.CPortlet', array(
133  'title'=>'Pie Chart',
134 ));
135 ?>
136 <div class="chart2">
137 <div>
138  <div class="text">
139  <table class="myChart">
140  <thead>
141  <tr>
142  <th></th>
143  <th>Jan</th>
144  <th>Feb</th>
145  <th>Mar</th>
146  <th>Apr</th>
147  <th>May</th>
148  <th>Jun</th>
149  <th>Jul</th>
150  </tr>
151  </thead>
152 
153  <tbody>
154  <tr>
155  <th>Sales</th>
156  <td>3923</td>
157  <td>2923</td>
158  <td>2931</td>
159  <td>3942</td>
160  <td>4921</td>
161  <td>6934</td>
162  <td>5934</td>
163  </tr>
164  <tr>
165  <th>Quotes</th>
166  <td>3623</td>
167  <td>2623</td>
168  <td>2831</td>
169  <td>3842</td>
170  <td>4821</td>
171  <td>6534</td>
172  <td>5134</td>
173  </tr>
174  <tr>
175  <th>Visitors </th>
176  <td>3523</td>
177  <td>2223</td>
178  <td>2531</td>
179  <td>3342</td>
180  <td>4521</td>
181  <td>6234</td>
182  <td>5434</td>
183  </tr>
184  </tbody>
185  </table>
186 
187 
188  </div>
189  </div>
190 </div>
191 <?php $this->endWidget();?>
192 </div>
193 <div class="span-13 last">
194 <?php
195 $this->beginWidget('zii.widgets.CPortlet', array(
196  'title'=>'Line Chart',
197 ));
198 ?>
199 <div class="chart3">
200  <div>
201  <div class="text">
202  <table class="myChart">
203  <thead>
204  <tr>
205  <th></th>
206  <th>Jan</th>
207  <th>Feb</th>
208  <th>Mar</th>
209  <th>Apr</th>
210  <th>May</th>
211  <th>Jun</th>
212  </tr>
213  </thead>
214 
215  <tbody>
216  <tr>
217  <th>Quotes</th>
218  <td>39523</td>
219  <td>26123</td>
220  <td>29031</td>
221  <td>34342</td>
222  <td>48321</td>
223  <td>42234</td>
224  </tr>
225  <tr>
226  <th>Sales</th>
227  <td>34523</td>
228  <td>22123</td>
229  <td>25031</td>
230  <td>30342</td>
231  <td>45321</td>
232  <td>46234</td>
233  </tr>
234  </tbody>
235  </table>
236 
237 
238  </div>
239  </div>
240 </div>
241 <?php $this->endWidget();?>
242 </div>
243 
244 
245 <div class="flash-notice span-22 last">
246 <p>This is a "static" page. You may change the content of this page
247 by updating the file <tt><?php echo __FILE__; ?></tt>.</p>
248 </div>
249 
250 </div>