🎨 优化登录页面样式,修复按钮图标对齐问题;增强定时任务删除错误处理
All checks were successful
BuildImage / build-image (push) Successful in 1m51s
All checks were successful
BuildImage / build-image (push) Successful in 1m51s
This commit is contained in:
parent
5247077479
commit
932d754b8a
@ -74,5 +74,8 @@ func DeleteJob(robotId uint) {
|
|||||||
log.Printf("定时任务不存在,robotId: %d", robotId)
|
log.Printf("定时任务不存在,robotId: %d", robotId)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_ = scheduler.RemoveJob(jobId.(uuid.UUID))
|
if err := scheduler.RemoveJob(jobId.(uuid.UUID)); err != nil {
|
||||||
|
log.Printf("删除定时任务失败: %v", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -69,9 +69,6 @@
|
|||||||
|
|
||||||
<form method="POST" action="/login" class="space-y-6">
|
<form method="POST" action="/login" class="space-y-6">
|
||||||
<div>
|
<div>
|
||||||
<label for="token" class="block text-sm font-medium text-gray-700 mb-2">
|
|
||||||
访问密钥
|
|
||||||
</label>
|
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
|
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
|
||||||
<i class="fas fa-key text-gray-400"></i>
|
<i class="fas fa-key text-gray-400"></i>
|
||||||
@ -81,7 +78,6 @@
|
|||||||
placeholder="请输入访问密钥"
|
placeholder="请输入访问密钥"
|
||||||
autocomplete="current-password">
|
autocomplete="current-password">
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-2 text-xs text-gray-500">默认密钥为 admin,仅供演示使用</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 修改登录按钮样式,使颜色与整体设计风格一致并修复图标与文本对齐问题 -->
|
<!-- 修改登录按钮样式,使颜色与整体设计风格一致并修复图标与文本对齐问题 -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user