<tr><td>Drive number (if any):</td>
<td><input size='3' type='text' name='drive' value='0' class='formulaire'></td>
</tr>
+ <tr><td>Slot number (if any):</td>
+ <td><input size='3' type='text' name='slot' value='0' class='formulaire'></td>
+ </tr>
<tr><td>Action:</td>
<td>
<button type="submit" class="bp" name='storage_cmd' value='mount'
<tr><td>Drive number (if any):</td>
<td><input size='3' type='text' name='drive' value='0' class='formulaire'></td>
</tr>
+ <tr><td>Slot number (if any):</td>
+ <td><input size='3' type='text' name='slot' value='0' class='formulaire'></td>
+ </tr>
<tr><td>Action:</td>
<td>
<button type="submit" class="bp" name='storage_cmd' value='mount'
<button type="submit" class="bp" name='storage_cmd' value='release'
title='release drive'> <img src='/bweb/unload.png' alt=''>Release</button>
<button type="submit" class="bp" name='storage_cmd' value='status'
- title='status drive'> <img src='/bweb/zoom.png' alt=''>Estado</button>
+ title='status drive'> <img src='/bweb/zoom.png' alt=''>Status</button>
</td>
</tr>
</table>
<tr><td>Drive number (if any):</td>
<td><input size='3' type='text' name='drive' value='0' class='formulaire'></td>
</tr>
+ <tr><td>Slot number (if any):</td>
+ <td><input size='3' type='text' name='slot' value='0' class='formulaire'></td>
+ </tr>
<tr><td>Action:</td>
<td>
<button type="submit" class="bp" name='storage_cmd' value='mount'
- title='Charger un lecteur'> <img src='/bweb/load.png' alt=''>Mount</button>
+ title='mount drive'> <img src='/bweb/load.png' alt=''>Mount</button>
<button type="submit" class="bp" name='storage_cmd' value='umount'
- title='Décharger un lecteur'> <img src='/bweb/unload.png' alt=''>Umount</button>
+ title='umount drive'> <img src='/bweb/unload.png' alt=''>Umount</button>
<button type="submit" class="bp" name='storage_cmd' value='release'
title='release drive'> <img src='/bweb/unload.png' alt=''>Release</button>
<button type="submit" class="bp" name='storage_cmd' value='status'
- title='status drive'> <img src='/bweb/zoom.png' alt=''>Statut</button>
+ title='status drive'> <img src='/bweb/zoom.png' alt=''>Status</button>
</td>
</tr>
</table>
title => "Update a volume ",
name => $update,
id => $cur_id++,
+ hide_output => 1,
}, "command.tpl");
{
my ($self) = @_;
$self->can_do('r_storage_mgnt');
- my $arg = $self->get_form(qw/storage storage_cmd drive/);
+ my $arg = $self->get_form(qw/storage storage_cmd drive slot/);
my $b = $self->get_bconsole();
if ($arg->{storage} and $arg->{storage_cmd}) {
- my $cmd = "$arg->{storage_cmd} storage=\"$arg->{storage}\" drive=$arg->{drive}";
+ my $cmd = "$arg->{storage_cmd} storage=\"$arg->{storage}\" drive=$arg->{drive} slot=$arg->{slot}";
my $ret = $b->send_cmd($cmd);
$self->display({
<tr><td>__Drive number (if any):__</td>
<td><input size='3' type='text' name='drive' value='0' class='formulaire'></td>
</tr>
+ <tr><td>__Slot number (if any):__</td>
+ <td><input size='3' type='text' name='slot' value='0' class='formulaire'></td>
+ </tr>
<tr><td>__Action:__</td>
<td>
<button type="submit" class="bp" name='storage_cmd' value='mount'