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