* Finish task #74678.
This commit is contained in:
@@ -11,61 +11,77 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='main-header'>
|
||||
<h2><?php echo $lang->executionnode->create;?></h2>
|
||||
<div id='mainContent' class='main-row'>
|
||||
<div class='main-col main-content'>
|
||||
<div class='center-block'>
|
||||
<div class='main-header'>
|
||||
<h2><?php echo $lang->executionnode->create;?></h2>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' id='ajaxForm' class="load-indicator main-form form-ajax">
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th class='w-120px'><?php echo $lang->executionnode->name;?></th>
|
||||
<td class='p-25f'><?php echo html::input('name', '', "class='form-control' placeholder=\"{$lang->executionnode->nameValid}\"");?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->hostName;?></th>
|
||||
<td><?php echo html::select('hostID', $hostPairs, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->vmTemplate;?></th>
|
||||
<td id="template"><?php echo html::select('templateID', '', '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->cpu;?></th>
|
||||
<td><?php echo html::select('osCpu', $config->executionnode->os->cpu, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osMemory;?></th>
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
<?php echo html::input('osMemory', '', "class='form-control'");?>
|
||||
<span class="input-group-addon"><?php echo $lang->zahost->unitList['GB'];?></span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osDisk;?></th>
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
<?php echo html::input('osDisk', '', "class='form-control'");?>
|
||||
<span class='input-group-addon fix-border fix-padding' id='unit'>
|
||||
<?php echo html::select('unit', $lang->zahost->unitList, 'GB', "class='form-control chosen w-50px'");?>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osCategory;?></th>
|
||||
<td><?php echo html::input('osCategory', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osType;?></th>
|
||||
<td><?php echo html::input('osType', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osVersion;?></th>
|
||||
<td><?php echo html::input('osVersion', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osLang;?></th>
|
||||
<td><?php echo html::input('osLang', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class='text-center form-actions'>
|
||||
<?php echo html::submitButton();?>
|
||||
<?php echo html::a(inlink('browse'), $lang->goback, '', "class='btn btn-wide btn-back'");?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' id='ajaxForm' class="load-indicator main-form form-ajax">
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th class='w-120px'><?php echo $lang->executionnode->name;?></th>
|
||||
<td><?php echo html::input('name', '', "class='form-control' placeholder=\"{$lang->executionnode->nameValid}\"");?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->hostName;?></th>
|
||||
<td><?php echo html::select('hostID', $hostPairs, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->vmTemplate;?></th>
|
||||
<td id="template"><?php echo html::select('templateID', '', '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->cpu;?></th>
|
||||
<td><?php echo html::select('osCpu', $config->executionnode->os->cpu, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->memory;?></th>
|
||||
<td><?php echo html::select('osMemory', $config->executionnode->os->memory, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->disk;?></th>
|
||||
<td><?php echo html::select('osDisk', $config->executionnode->os->disk, '', "class='form-control chosen'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osCategory;?></th>
|
||||
<td><?php echo html::input('osCategory', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osType;?></th>
|
||||
<td><?php echo html::input('osType', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osVersion;?></th>
|
||||
<td><?php echo html::input('osVersion', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->executionnode->osLang;?></th>
|
||||
<td><?php echo html::input('osLang', '', "class='form-control' disabled")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class='text-center form-actions'>
|
||||
<?php echo html::submitButton();?>
|
||||
<?php echo html::a(inlink('browse'), $lang->goback, '', "class='btn btn-wide btn-back'");?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user