Fix configuration table for experiments
This commit is contained in:
@@ -32,44 +32,40 @@
|
|||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<h3><?=_('Configuration');?></h3>
|
<h3><?=_('Configuration');?></h3>
|
||||||
<p>
|
<table class="tableList">
|
||||||
<div>
|
<thead>
|
||||||
<table>
|
<tr>
|
||||||
<thead>
|
<th scope="col" width="40%"><?=_('Parameter');?></th>
|
||||||
<tr>
|
<th scope="col" width="40%"><?=_('Value');?></th>
|
||||||
<th scope="col" width="40%"><?=_('Parameter');?></th>
|
<th scope="col"><?=_('Unit');?></th>
|
||||||
<th scope="col" width="40%"><?=_('Value');?></th>
|
</tr>
|
||||||
<th scope="col"><?=_('Unit');?></th>
|
</thead>
|
||||||
</tr>
|
<tbody>
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
<?php
|
||||||
foreach ($parameters as $param):
|
foreach ($parameters as $param):
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="40%"><?=$param['readable'];?></td>
|
<td width="40%"><?=$param['readable'];?></td>
|
||||||
<td width="41%">
|
<td width="41%">
|
||||||
<input type="text" name="param-<?=$param['parameter_id'];?>" class="long text" value="<?=(!empty($_POST['param-' . $param['parameter_id']]) ? $this->input->post('param-' . $param['parameter_id']) : $param['value']);?>" />
|
<input type="text" name="param-<?=$param['parameter_id'];?>" class="long text" value="<?=(!empty($_POST['param-' . $param['parameter_id']]) ? $this->input->post('param-' . $param['parameter_id']) : $param['value']);?>" />
|
||||||
<?php
|
<?php
|
||||||
if (!empty($param['description'])):
|
if (!empty($param['description'])):
|
||||||
?>
|
?>
|
||||||
<span class="form_info">
|
<span class="form_info">
|
||||||
<a href="<?=site_url('ajax/parameter_help/' . $param['parameter_id']);?>" name="<?=_('Description');?>" id="<?=$param['parameter_id'];?>" class="jtip"> </a>
|
<a href="<?=site_url('ajax/parameter_help/' . $param['parameter_id']);?>" name="<?=_('Description');?>" id="<?=$param['parameter_id'];?>" class="jtip"> </a>
|
||||||
</span>
|
</span>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<?=form_error('params');?>
|
<?=form_error('params');?>
|
||||||
</td>
|
</td>
|
||||||
<td><?=$param['unit'];?></td>
|
<td><?=$param['unit'];?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<a href="javascript:void(0);" class="button save"><?=_('Save changes');?></a>
|
<a href="javascript:void(0);" class="button save"><?=_('Save changes');?></a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user