Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
M
macos-runtime
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭阔
macos-runtime
Commits
c9c5c5cf
Commit
c9c5c5cf
authored
Nov 06, 2026
by
郭阔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui(schedules): 操作栏按钮纯图标化(悬停 title 提示保留)
parent
dc2f2cd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
schedules.html
web/templates/schedules.html
+6
-6
No files found.
web/templates/schedules.html
View file @
c9c5c5cf
...
@@ -132,22 +132,22 @@ function toggleDrawer(id) {
...
@@ -132,22 +132,22 @@ function toggleDrawer(id) {
</td>
</td>
<td>
<td>
<div
class=
"opsbar"
>
<div
class=
"opsbar"
>
<button
type=
"button"
class=
"btn btn-sm"
onclick=
"toggleDrawer('edit-{{ r.name }}')"
>
✎ 排程
</button>
<button
type=
"button"
class=
"btn btn-sm"
title=
"排程意图编辑"
onclick=
"toggleDrawer('edit-{{ r.name }}')"
>
✎
</button>
{% if r.enabled %}
{% if r.enabled %}
<form
method=
"POST"
action=
"/run/{{ r.name }}"
<form
method=
"POST"
action=
"/run/{{ r.name }}"
onsubmit=
"return confirm('立即采集 {{ r.name }} 一次?')"
>
onsubmit=
"return confirm('立即采集 {{ r.name }} 一次?')"
>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"立即采集一次"
>
▶
采集
</button>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"立即采集一次"
>
▶
</button>
</form>
</form>
{% endif %}
{% endif %}
{% if r.state == 'active' %}
{% if r.state == 'active' %}
{% if r.skip %}
{% if r.skip %}
<form
method=
"POST"
action=
"/schedule-skip/{{ r.name }}"
>
<form
method=
"POST"
action=
"/schedule-skip/{{ r.name }}"
>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"撤销跳过,恢复后续采集"
style=
"color:#e8c34a"
>
⏭ 撤销跳过
</button>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"撤销跳过,恢复后续采集"
style=
"color:#e8c34a"
>
↩️
</button>
</form>
</form>
{% else %}
{% else %}
<form
method=
"POST"
action=
"/schedule-skip/{{ r.name }}"
<form
method=
"POST"
action=
"/schedule-skip/{{ r.name }}"
onsubmit=
"return confirm('跳过 {{ r.name }} 最近一次定时采集?\n只跳过下一场,之后的排期不受影响;手动触发不受限。')"
>
onsubmit=
"return confirm('跳过 {{ r.name }} 最近一次定时采集?\n只跳过下一场,之后的排期不受影响;手动触发不受限。')"
>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"只跳过下一次定时采集"
>
⏭
跳过下次
</button>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"只跳过下一次定时采集"
>
⏭
</button>
</form>
</form>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
...
@@ -155,12 +155,12 @@ function toggleDrawer(id) {
...
@@ -155,12 +155,12 @@ function toggleDrawer(id) {
{% if r.state == 'active' %}
{% if r.state == 'active' %}
<form
method=
"POST"
action=
"/toggle/{{ r.name }}"
onsubmit=
"return confirm('停用 {{ r.name }}?(调度与技能一并停用,可随时再开启)')"
>
<form
method=
"POST"
action=
"/toggle/{{ r.name }}"
onsubmit=
"return confirm('停用 {{ r.name }}?(调度与技能一并停用,可随时再开启)')"
>
<input
type=
"hidden"
name=
"on"
value=
"0"
>
<input
type=
"hidden"
name=
"on"
value=
"0"
>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"停用调度与技能"
>
⏸
停用
</button>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"停用调度与技能"
>
⏸
</button>
</form>
</form>
{% else %}
{% else %}
<form
method=
"POST"
action=
"/toggle/{{ r.name }}"
>
<form
method=
"POST"
action=
"/toggle/{{ r.name }}"
>
<input
type=
"hidden"
name=
"on"
value=
"1"
>
<input
type=
"hidden"
name=
"on"
value=
"1"
>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"启用调度与技能"
>
⏵
启用
</button>
<button
type=
"submit"
class=
"btn btn-sm"
title=
"启用调度与技能"
>
⏵
</button>
</form>
</form>
{% endif %}
{% endif %}
<form
method=
"POST"
action=
"/schedule-delete/{{ r.name }}"
<form
method=
"POST"
action=
"/schedule-delete/{{ r.name }}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment