update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
{{ macros.setting_input_text_and_buttons('_plugin_git', '플러그인 설치', [['plugin_install_btn', '설치']], value='https://github.com/', desc=None) }}
|
||||
{{ macros.m_hr_head_top() }}
|
||||
{{ macros.m_row_start('0') }}
|
||||
{{ macros.m_col_wide(1, macros.m_strong('Idx'), 'center') }}
|
||||
@@ -23,6 +24,11 @@ $(document).ready(function(){
|
||||
});
|
||||
});
|
||||
|
||||
$("body").on('click', '#plugin_install_btn', function(e){
|
||||
e.preventDefault();
|
||||
globalSendCommand('plugin_install', $('#_plugin_git').val());
|
||||
});
|
||||
|
||||
function make_plugin_list(data) {
|
||||
current_data = data;
|
||||
console.log(data);
|
||||
@@ -72,19 +78,6 @@ $("body").on('click', '#json_btn', function(e){
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$("body").on('click', '#uninstall_btn', function(e){
|
||||
e.preventDefault();
|
||||
$("#confirm_title").html("삭제 확인");
|
||||
@@ -97,12 +90,10 @@ $("body").on('click', '#uninstall_btn', function(e){
|
||||
|
||||
function uninstall(package_name) {
|
||||
globalSendCommand('uninstall', package_name, null, null, null, function(ret) {
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
$("body").on('click', '#plugin_uninstall_btn', function(e){
|
||||
e.preventDefault();
|
||||
plugin_name = $(this).data('plugin_name')
|
||||
@@ -126,7 +117,5 @@ $("body").on('click', '#plugin_uninstall_btn', function(e){
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user