2014-02-21 21:25:33 +00:00
|
|
|
#!/mod/bin/jimsh
|
2012-08-04 00:29:57 +00:00
|
|
|
|
2014-02-21 21:25:33 +00:00
|
|
|
source /mod/webif/lib/setup
|
|
|
|
|
|
|
|
jqplugin enadis iajax
|
|
|
|
jscss script.js style.css
|
|
|
|
header
|
|
|
|
|
|
|
|
puts {
|
2012-08-04 00:29:57 +00:00
|
|
|
|
|
|
|
<div class=va style="padding: 0 0 1em 0">
|
|
|
|
<h1 style="display: inline" class=va>
|
|
|
|
Package Management
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<button class="hidden va" id=opkgupdate>
|
|
|
|
Update package list from Internet
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="hidden va" id=opkgupgradeall>
|
|
|
|
Upgrade all packages
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id=refreshing class="hidden shadowbox" style="margin: 1 0 1em 0">
|
|
|
|
<div>
|
|
|
|
<img border=0 src=/img/loading.gif>
|
|
|
|
Refreshing...
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id=dialogue class=hidden style="align: center">
|
|
|
|
<pre id=dresults></pre>
|
|
|
|
<div id=dspinner>
|
|
|
|
<img border=0 src=/img/loading.gif>
|
|
|
|
Processing request...
|
|
|
|
</div>
|
|
|
|
<div class=hidden id=complete>
|
|
|
|
<img border=0 src=/images/167_2_00_Check_W2_SUB.png>
|
|
|
|
Operation complete.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id=pkgtabs>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2013-06-24 21:34:46 +00:00
|
|
|
<a class=tablink href="pkg.jim?type=inst">
|
2012-08-04 00:29:57 +00:00
|
|
|
<span>Installed</span>
|
|
|
|
</a>
|
|
|
|
</li><li>
|
2013-06-24 21:34:46 +00:00
|
|
|
<a class=tablink href="pkg.jim?type=avail">
|
2012-08-04 00:29:57 +00:00
|
|
|
<span>Available</span>
|
|
|
|
</a>
|
2012-09-21 20:56:53 +00:00
|
|
|
</li><li>
|
2013-06-24 21:34:46 +00:00
|
|
|
<a class=tablink href="pkg.jim?type=upgr">
|
2012-09-21 20:56:53 +00:00
|
|
|
<span>Upgrades</span>
|
|
|
|
</a>
|
2012-08-04 00:29:57 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-02-21 21:25:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer
|
2012-08-04 00:29:57 +00:00
|
|
|
|