We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
[PLUGIN] VestaCP Tools Plugin
Re: [HOWTO] VestaCP Tools Plugin
Thank you! Greatly appreciated - I have modified the script to to this. :)duy13 wrote:You can try with sed command, It works:SS88 wrote: Unfortunately, it’s not possible to find and replace (anyone help me?) so you’ll have to edit the file /usr/local/vesta/web/templates/admin/panel.html and add the following code:
In-between theCode: Select all
<div class="l-menu__item <?php if($TAB == 'TOOLS' ) echo 'l-menu__item--active' ?>"><a href="/list/tools/"><?=__('Tools')?></a></div>
HTML element.Code: Select all
<div class="l-menu clearfix noselect"> </div>
I cannot tell you exactly what line to place this on, but it may be around 20-23.Code: Select all
cp /usr/local/vesta/web/templates/admin/panel.html /usr/local/vesta/web/templates/admin/panel.html.bak sed -i '/<div class="l-menu clearfix noselect">/a <div class="l-menu__item <?php if($TAB == "All" ) echo "l-menu__item--active" ?>"><a href="/list/tools/"><?=__("All")?></a></div>' /usr/local/vesta/web/templates/admin/panel.html
Re: [HOWTO] VestaCP Tools Plugin
Very nice addon, thank you :)
Few suggestions :
- add the sort option for disk and bandwidth columns
- [Domains tab] make the domain name clickable width a link to the domain
Few suggestions :
- add the sort option for disk and bandwidth columns
- [Domains tab] make the domain name clickable width a link to the domain
Re: [HOWTO] VestaCP Tools Plugin
Thank you for your comments Spheerys. Sorry for the delay, but these are now in Version 1.1. You can just run the installer again and it will be updated. :)Spheerys wrote:Very nice addon, thank you :)
Few suggestions :
- add the sort option for disk and bandwidth columns
- [Domains tab] make the domain name clickable width a link to the domain
Re: [HOWTO] VestaCP Tools Plugin
Version 1.1 has been released:
- Various bug fixes (fixing of columns, bar fixes)
- Sorting of disk and bandwidth columns now works
- Domain is now clickable on the domains tab
- Users tab is default to first show
Re: [HOWTO] VestaCP Tools Plugin
I do not know - have you tested this?linux81 wrote:Hello.
It is useful.
Interests a question whether it is possible to adapt for Vesta 12?
It uses the Vesta API so some features may not work.
Re: [PLUGIN] VestaCP Tools Plugin
Hi,
nice work. Would it be possible to publish the Source Code e.g. on Github to allow everyone to contribute?
Also I would avoid including external ressources into such a critical webapplication. Imagine what happens if one of the providers will be hijacked and e.g. the "sorttable.js" might deliver malicious code.
nice work. Would it be possible to publish the Source Code e.g. on Github to allow everyone to contribute?
Also I would avoid including external ressources into such a critical webapplication. Imagine what happens if one of the providers will be hijacked and e.g. the "sorttable.js" might deliver malicious code.
Re: [PLUGIN] VestaCP Tools Plugin
I'm also interrested by the source code :)
Re: [PLUGIN] VestaCP Tools Plugin
I think VestaCP team need to integrate this.
Re: [PLUGIN] VestaCP Tools Plugin
It is now on GitHub (bad code but it works ;D!)Spheerys wrote:I'm also interrested by the source code :)
https://github.com/SS88UK/VestaCP-Tools-Plugin
Re: [PLUGIN] VestaCP Tools Plugin
Thank you :)