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 = "phint">
2  <p>
3  <?=$descr['properties']?>
4  </p>
5 </div>
6 <table>
7  <tr>
8  <td colspan="3"><a href="#" id = "add-prop" class = "btn btn-default" onclick="addNewProperty()">Add new property</a></td>
9  </tr>
10  <tr>
11  <th id = "gr-s-sn-prop-name">Property name</th>
12  <th id = "gr-s-sn-prop-value">Value</th>
13  <th></th>
14  </tr>
15 </table>
16 <table id = "props-wrapper">
17 <?php foreach ($propsProvider->rawData as $k => $val):?>
18  <tr>
19  <td width='20%'><?=CHtml::textfield($val["name"], $val['name'], array('class'=>'gr-s-fe-prop-name'))?></td>
20  <td><?=CHtml::textArea($val["name"], $val['value'], array('class'=>'edit textarea-big gr-s-fe-prop-val'))?></td>
21  <td width = "10em" class = "remove-column"><a href = "#" class = "removeclassp act-btn">Remove</a></td>
22  </tr>
23 <?php endforeach;?>
24 </table>