HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__urlsAreaEdit.php
Go to the documentation of this file.
1 
2 <table>
3 <?php
4  foreach ($limitsProvider->rawData as $item){
5  if (($item["limit_name_f"]==='processingDelay') || ($item["limit_name_f"]==='maxResources')){
6  echo '<tr><td>';
7  echo $item["limit_name"];
8  echo '</td><td>';
9  echo CHtml::textField($item["limit_name_f"], $item["limit_value"], array('class'=>'input-small righted', 'placeholder'=>''));
10  echo "</td><td class='lefted hint'>";
11  echo $descr[$item["limit_name_f"]];
12  echo '</td></tr>';
13  }
14  }
15  ?>
16  <tr>
17  <td></td>
18  <td>
19  <?php echo
20  CHtml::ajaxButton('Set scrapping options', '/SiteNew/toolPicker', array(
21  'type'=>'POST',
22 // 'async'=>false,
23  'beforeSend'=>'function() {
24  $("body").prepend("<div class=\'loader-overlay\'><div class=\'loader\'>Loading...</div></div>");
25  }',
26  'success'=>"function(data) {
27  $('.loader-overlay').remove();
28  $('#page').append(data);
29  $(\"#Demo1\").append('<input type = \"button\" id = \"scrap-options-close\" value = \"Cancel\" class = \"btn btn-default\" onclick=\"tpModalClose()\">');
30  $(\"#Demo1\").append('<input type = \"button\" id = \"scrap-options-submit\" value = \"Apply\" class = \"btn btn-default\" onclick=\"tpModalApply()\">');
31  $(\"#Demo1\").children(\"ul\").first().remove();
32  }",
33  ),
34  array(
35  'id' => 'picker-open',
36  'class' => 'btn btn-default',
37  )
38  )
39  ?>
40  </td>
41  <td></td>
42  </tr>
43 </table>