|
|
|
@ -29,7 +29,15 @@
|
|
|
|
|
"amp_status": 1
|
|
|
|
|
},
|
|
|
|
|
success: function (result, textStatus) {
|
|
|
|
|
$(msg_obj).html("\u0041\u004d\u0050\u66f4\u65b0\u6210\u529f\u0021");
|
|
|
|
|
if (result.name === 'no') {
|
|
|
|
|
error_msg='';
|
|
|
|
|
$.each(responseText.value, function (index, element) {
|
|
|
|
|
error_msg=error_msg+'line '+element.line+' col '+element.col+' :'+element.message+' ';
|
|
|
|
|
});
|
|
|
|
|
$(msg_obj).html("保存失败,AMP语法错误!"+'<i class="glyphicon glyphicon-education" title="'+error_msg+'"></i>');
|
|
|
|
|
}else{
|
|
|
|
|
$(msg_obj).html("\u0041\u004d\u0050\u66f4\u65b0\u6210\u529f\u0021");
|
|
|
|
|
}
|
|
|
|
|
create_amp_data(++index);
|
|
|
|
|
},
|
|
|
|
|
error: function () {
|
|
|
|
@ -69,8 +77,8 @@
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="col-sm-2">#</th>
|
|
|
|
|
<th class="col-sm-18">URL</th>
|
|
|
|
|
<th class="col-sm-4">更新进度</th>
|
|
|
|
|
<th class="col-sm-16">URL</th>
|
|
|
|
|
<th class="col-sm-6">更新进度</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|