update btn
This commit is contained in:
11
manage.html
11
manage.html
@@ -48,6 +48,13 @@
|
|||||||
<legend>System services</legend>
|
<legend>System services</legend>
|
||||||
<div id="system" style="text-align:left">Loading...</div>
|
<div id="system" style="text-align:left">Loading...</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Updates</legend>
|
||||||
|
<div id="update" style="text-align:left">
|
||||||
|
<a href="javascript:void()" id="update_btn">Looking for updates</a>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<div id="default">
|
<div id="default">
|
||||||
@@ -236,6 +243,10 @@ jQuery(document).ready(function(){
|
|||||||
jQuery('#default').toggle();
|
jQuery('#default').toggle();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jQuery('#update_btn').click(function() {
|
||||||
|
get_updates();
|
||||||
|
});
|
||||||
|
|
||||||
jQuery('#add_repo').submit(function() {
|
jQuery('#add_repo').submit(function() {
|
||||||
jQuery('#repositories').html('Loading...');
|
jQuery('#repositories').html('Loading...');
|
||||||
add_repository();
|
add_repository();
|
||||||
|
Reference in New Issue
Block a user