update
This commit is contained in:
@@ -10,7 +10,7 @@ function j_button_group(h) {
|
||||
}
|
||||
|
||||
// primary, secondary, success, danger, warning, info, light, dark, white
|
||||
function j_button(id, text, data={}, color='success', outline=true, small=false) {
|
||||
function j_button(id, text, data={}, color='primary', outline=true, small=false) {
|
||||
var str = '<button id="'+id+'" name="'+id+'" class="btn btn-sm btn';
|
||||
if (outline) {
|
||||
str += '-outline';
|
||||
@@ -28,7 +28,7 @@ function j_button(id, text, data={}, color='success', outline=true, small=false)
|
||||
return str;
|
||||
}
|
||||
|
||||
function j_button_small(id, text, data={}, color='success', outline=true) {
|
||||
function j_button_small(id, text, data={}, color='primary', outline=true) {
|
||||
return j_button(id, text, data, color, outline, true);
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
VERSION="4.0.43"
|
||||
VERSION="4.0.44"
|
||||
@@ -49,7 +49,8 @@ class PagePython(PluginPageBase):
|
||||
if result['status'] == 'finish':
|
||||
ret['data'] = []
|
||||
for tmp in result['log'].split('\n'):
|
||||
ret['data'].append(tmp.split('=='))
|
||||
if '==' in tmp:
|
||||
ret['data'].append(tmp.split('=='))
|
||||
else:
|
||||
ret['ret'] = 'danger'
|
||||
ret['msg'] = "실패"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<h3>시스템</h3>
|
||||
<hr>
|
||||
{{ macros.info_text_and_buttons('python_version', 'Python', [['globalLinkBtn', '패키지 관리', [('url','/system/python')]]], info['python_version']) }}
|
||||
{{ macros.info_text_and_buttons('python_version', 'Python', [['globalLinkBtn', '패키지 관리', [('url','/system/tool/python')]]], info['python_version']) }}
|
||||
{{ macros.info_text('platform', 'Platform', info['platform']) }}
|
||||
{{ macros.info_text('processor', 'Processor', info['processor']) }}
|
||||
{{ macros.info_text_and_buttons('version_str', '버전', [['globalOpenBtn', '업데이트 내역', [('url',arg['changelog'])]], ['recent_version_btn', '최신버전 확인']], info['version']) }}
|
||||
|
||||
Reference in New Issue
Block a user