webif/var/mongoose/html/pkg/index.jim
hummypkg 0f1bbed6b9 migrating
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1789 2a923420-c742-0410-a762-8d5b09965624
2014-02-21 21:25:33 +00:00

65 lines
1.1 KiB
Plaintext
Executable File

#!/mod/bin/jimsh
source /mod/webif/lib/setup
jqplugin enadis iajax
jscss script.js style.css
header
puts {
<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>
<a class=tablink href="pkg.jim?type=inst">
<span>Installed</span>
</a>
</li><li>
<a class=tablink href="pkg.jim?type=avail">
<span>Available</span>
</a>
</li><li>
<a class=tablink href="pkg.jim?type=upgr">
<span>Upgrades</span>
</a>
</li>
</ul>
</div>
}
footer