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 <!--Processing-->
2 <table>
3  <tr>
4  <td>Max resources</td>
5  <td><?=CHtml::textField('maxResources', $defaults['maxResources'], array('class'=>'input-small righted', 'placeholder'=>$defaults['maxResources']))?></td>
6  <td class="lefted hint"><?=$descr['maxResources']?></td>
7  </tr>
8  <tr>
9  <td>Processing delay</td>
10  <td><?=CHtml::textField('processingDelay', $defaults['processingDelay'], array('class'=>'input-small righted', 'placeholder'=>$defaults['processingDelay']))?></td>
11  <td class="lefted hint"><?=$descr['processingDelay']?></td>
12  </tr>
13  <tr>
14  <td></td>
15  <td>
16  <?=CHtml::ajaxButton('Set scrapping options', '/SiteNew/toolPicker', array(
17  'type'=>'POST',
18 // 'async'=>false,
19  'beforeSend'=>'function() {
20  $("body").prepend("<div class=\'loader-overlay\'><div class=\'loader\'>Loading...</div></div>");
21  }',
22  'success'=>"function(data) {
23  $('.loader-overlay').remove();
24  $('#page').append(data);
25  $(\"#Demo1\").append('<input type = \"button\" id = \"scrap-options-close\" value = \"Cancel\" class = \"btn btn-default\" onclick=\"tpModalClose()\">');
26  $(\"#Demo1\").append('<input type = \"button\" id = \"scrap-options-submit\" value = \"Apply\" class = \"btn btn-default\" onclick=\"tpModalApply()\">');
27  $(\"#Demo1\").children(\"ul\").first().remove();
28  }",
29  ),
30  array(
31  'id' => 'picker-open',
32  'class' => 'btn btn-default',
33  )
34  )
35  ?>
36  </td>
37  <td></td>
38  </tr>
39  <?php
40 
41  ?>
42 </table>