mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-22 01:35:24 +08:00
Ubuntu Bug fix
This commit is contained in:
parent
a40f63663d
commit
28617d92d9
@ -34,7 +34,7 @@
|
|||||||
<div class="toolbox" style="text-align:center;margin: 20px;border-radius:10px;border:navy solid;background-color:rgb(242,243,245);z-index: 9999;">
|
<div class="toolbox" style="text-align:center;margin: 20px;border-radius:10px;border:navy solid;background-color:rgb(242,243,245);z-index: 9999;">
|
||||||
<div style="padding: 10px;border-radius:10px;font-size: 20px;">Toolkit</div>
|
<div style="padding: 10px;border-radius:10px;font-size: 20px;">Toolkit</div>
|
||||||
<button type="button" id="save" data-toggle="modal" data-target="#myModal" onmousedown="$('#myModal').modal('show');" class="btn btn-primary">Save Task</button>
|
<button type="button" id="save" data-toggle="modal" data-target="#myModal" onmousedown="$('#myModal').modal('show');" class="btn btn-primary">Save Task</button>
|
||||||
<!-- <button type="button" data=1 class="btn btn-outline-primary options">打开网页</button> -->
|
<button type="button" data=1 class="btn btn-outline-primary options">Open Page</button>
|
||||||
<button type="button" data=2 class="btn btn-outline-primary options">Click Element</button>
|
<button type="button" data=2 class="btn btn-outline-primary options">Click Element</button>
|
||||||
<button type="button" data=3 class="btn btn-outline-primary options">Collect Data</button>
|
<button type="button" data=3 class="btn btn-outline-primary options">Collect Data</button>
|
||||||
<button type="button" data=4 class="btn btn-outline-primary options">Input Text</button>
|
<button type="button" data=4 class="btn btn-outline-primary options">Input Text</button>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<div class="toolbox" style="text-align:center;margin: 20px;border-radius:10px;border:navy solid;background-color:rgb(242,243,245);z-index: 9999;">
|
<div class="toolbox" style="text-align:center;margin: 20px;border-radius:10px;border:navy solid;background-color:rgb(242,243,245);z-index: 9999;">
|
||||||
<div style="padding: 10px;border-radius:10px;font-size: 20px;">工具箱</div>
|
<div style="padding: 10px;border-radius:10px;font-size: 20px;">工具箱</div>
|
||||||
<button type="button" id="save" data-toggle="modal" data-target="#myModal" onmousedown="$('#myModal').modal('show');" class="btn btn-primary">保存任务</button>
|
<button type="button" id="save" data-toggle="modal" data-target="#myModal" onmousedown="$('#myModal').modal('show');" class="btn btn-primary">保存任务</button>
|
||||||
<!-- <button type="button" data=1 class="btn btn-outline-primary options">打开网页</button> -->
|
<button type="button" data=1 class="btn btn-outline-primary options">打开网页</button>
|
||||||
<button type="button" data=2 class="btn btn-outline-primary options">点击元素</button>
|
<button type="button" data=2 class="btn btn-outline-primary options">点击元素</button>
|
||||||
<button type="button" data=3 class="btn btn-outline-primary options">提取数据</button>
|
<button type="button" data=3 class="btn btn-outline-primary options">提取数据</button>
|
||||||
<button type="button" data=4 class="btn btn-outline-primary options">输入文字</button>
|
<button type="button" data=4 class="btn btn-outline-primary options">输入文字</button>
|
||||||
|
@ -205,10 +205,10 @@ var backEndAddressServiceWrapper = getUrlParam("backEndAddressServiceWrapper");
|
|||||||
|
|
||||||
function saveService(type) {
|
function saveService(type) {
|
||||||
var serviceId = $("#serviceId").val();
|
var serviceId = $("#serviceId").val();
|
||||||
var text = "Confirm to save this task?";
|
var text = "Confirm to save this task (If cannot click, can press Enter)? ";
|
||||||
if (type == 1) { //任务另存为
|
if (type == 1) { //任务另存为
|
||||||
serviceId = -1;
|
serviceId = -1;
|
||||||
text = "Confirm to save as another task in the system?";
|
text = "Confirm to save as another task in the system (If cannot click, can press Enter)?";
|
||||||
}
|
}
|
||||||
if (confirm(text)) {
|
if (confirm(text)) {
|
||||||
let serviceName = $("#serviceName").val();
|
let serviceName = $("#serviceName").val();
|
||||||
|
@ -205,10 +205,10 @@ var backEndAddressServiceWrapper = getUrlParam("backEndAddressServiceWrapper");
|
|||||||
|
|
||||||
function saveService(type) {
|
function saveService(type) {
|
||||||
var serviceId = $("#serviceId").val();
|
var serviceId = $("#serviceId").val();
|
||||||
var text = "确认要保存任务吗?";
|
var text = "确认要保存任务吗(不能用鼠标点击时,请按键盘回车键)?";
|
||||||
if (type == 1) { //任务另存为
|
if (type == 1) { //任务另存为
|
||||||
serviceId = -1;
|
serviceId = -1;
|
||||||
text = "确认要另存为任务吗?";
|
text = "确认要另存为任务吗(不能用鼠标点击时,请按键盘回车键)?";
|
||||||
}
|
}
|
||||||
if (confirm(text)) {
|
if (confirm(text)) {
|
||||||
let serviceName = $("#serviceName").val();
|
let serviceName = $("#serviceName").val();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user