HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__propsAreaEdit.php
Go to the documentation of this file.
1 <div id = "props-hint" class = "hint">
2  <p>
3  <?=$descr['properties']?>
4  </p>
5 </div>
6 <table>
7  <tr>
8  <td class = "lefted" colspan="3"><a href="#" id = "add-prop" class = "btn btn-default" onclick="addNewProperty()">Add new property</a></td>
9 
10  </tr>
11  <tr>
12  <th id = "gr-s-sn-prop-name">Property name</th>
13  <th id = "gr-s-sn-prop-value">Value</th>
14  <th></th>
15  </tr>
16 </table>
17 <table id = "props-wrapper">
18  <?php foreach ($props as $name => $value):?>
19  <tr>
20  <td width='20%'><?=CHtml::textfield('', $name, array('class'=>'gr-s-fe-prop-name'))?></td>
21  <td><?=CHtml::textArea('', $value, array('class'=>'edit textarea-big gr-s-fe-prop-val'))?></td>
22  <td width = "10em" class = "remove-column"><a href = "#" class = "removeclassp act-btn">Remove</a></td>
23  </tr>
24  <?php endforeach;?>
25 </table>