d7284ff3ef
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1016 2a923420-c742-0410-a762-8d5b09965624
47 lines
628 B
Plaintext
Executable File
47 lines
628 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
source /mod/webif/lib/setup
|
|
|
|
puts {
|
|
<script type=text/javascript src=/js/packages.js></script>
|
|
|
|
<style type=text/css>
|
|
button.install
|
|
{
|
|
display: none;
|
|
background-image: none;
|
|
background: #ccff99;
|
|
}
|
|
button.remove
|
|
{
|
|
display: none;
|
|
background-image: none;
|
|
background: #ff6666;
|
|
}
|
|
button.upgrade
|
|
{
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
<div id=pkgtabs>
|
|
<ul>
|
|
<li>
|
|
<a href=/cgi-bin/pkg.jim?type=inst>
|
|
<span>Installed</span>
|
|
</a>
|
|
</li><li>
|
|
<a href=/cgi-bin/pkg.jim?type=upgr>
|
|
<span>Upgrades</span>
|
|
</a>
|
|
</li><li>
|
|
<a href=/cgi-bin/pkg.jim?type=avail>
|
|
<span>Available</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
}
|
|
|
|
|