HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
generate.php
Go to the documentation of this file.
1 <?php $this->breadcrumbs = array(
2  'Rights' => Rights::getBaseUrl(),
3  Rights::t('core', 'Generate items'),
4 ); ?>
5 
6 <div id="generator">
7 
8  <h2><?php echo Rights::t('core', 'Generate items'); ?></h2>
9 
10  <p><?php echo Rights::t('core', 'Please select which items you wish to generate.'); ?></p>
11 
12  <div class="form">
13 
14  <?php $form = $this->beginWidget('CActiveForm'); ?>
15 
16  <div class="row">
17 
18  <table class="items generate-item-table" border="0" cellpadding="0" cellspacing="0">
19 
20  <tbody>
21 
22  <tr class="application-heading-row">
23  <th colspan="3"><?php echo Rights::t('core', 'Application'); ?></th>
24  </tr>
25 
26  <?php $this->renderPartial('_generateItems', array(
27  'model' => $model,
28  'form' => $form,
29  'items' => $items,
30  'existingItems' => $existingItems,
31  'displayModuleHeadingRow' => true,
32  'basePathLength' => strlen(Yii::app()->basePath),
33  )); ?>
34 
35  </tbody>
36 
37  </table>
38 
39  </div>
40 
41  <div class="row">
42 
43  <?php echo CHtml::link(Rights::t('core', 'Select all'), '#', array(
44  'onclick' => "jQuery('.generate-item-table').find(':checkbox').attr('checked', 'checked'); return false;",
45  'class' => 'selectAllLink', )); ?>
46  /
47  <?php echo CHtml::link(Rights::t('core', 'Select none'), '#', array(
48  'onclick' => "jQuery('.generate-item-table').find(':checkbox').removeAttr('checked'); return false;",
49  'class' => 'selectNoneLink', )); ?>
50 
51  </div>
52 
53  <div class="row">
54 
55  <?php echo CHtml::submitButton(Rights::t('core', 'Generate')); ?>
56 
57  </div>
58 
59  <?php $this->endWidget(); ?>
60 
61  </div>
62 
63 </div>