Applicable to:
- SolusVM
Question
How to remove Disk usage bar in SolusVM Client area?
Answer
- Connect to Master node via SSH
-
Backup the file /usr/local/solusvm/templates/client/bootstrap/control.tpl:
# cp -a /usr/local/solusvm/templates/client/bootstrap/control.tpl{,.orig}
- Remove the following part(lines 383-390) from the file /usr/local/solusvm/templates/client/bootstrap/control.tpl:
CONFIG_TEXT: <tr id="-hddbar">
<td><?=$_lang['vserverdiskusagelabel'];?></td>
<td class="-usages"><div class="progress progress-success progress-striped" style="margin-bottom: 0">
<div class="bar" style="width: <?=$this->percenthddb;?>%"><?=$this->percenthdd;?>%</div>
</div>
</td>
<td><?=$this->usedhdd;?> <?=$_lang['vserverbarof'];?> <?=$this->totalhdd;?> <?=$_lang['vserverbarused'];?> / <?=$this->freehdd;?> <?=$_lang['vserverbarfree'];?></td>
</tr>
Comments
0 commentsPlease sign in to leave a comment.