Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add disable workflow feature #26413

Merged
merged 23 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
95841b7
add disable workflow feature
a1012112796 Aug 9, 2023
c0cfb1a
Merge branch 'main' into zzc/dev/disable_workflow
silverwind Aug 10, 2023
5951e46
Apply suggestions from code review
a1012112796 Aug 10, 2023
19f0a9d
fix build
a1012112796 Aug 10, 2023
7300fae
Merge remote-tracking branch 'origin/main' into zzc/dev/disable_workflow
a1012112796 Aug 10, 2023
c176633
vertically center button
silverwind Aug 11, 2023
d22cfc1
ui enhancements
silverwind Aug 11, 2023
7522147
classname cleanup
silverwind Aug 11, 2023
9538f45
fix template lint
silverwind Aug 11, 2023
665f1c0
Apply suggestions from code review
a1012112796 Aug 11, 2023
00df673
use a instead of div for menu item
silverwind Aug 11, 2023
1fd8b6d
remove unused translations
silverwind Aug 11, 2023
3e758a8
fix typo
a1012112796 Aug 11, 2023
2d0bbe4
Merge remote-tracking branch 'origin/main' into zzc/dev/disable_workflow
a1012112796 Aug 11, 2023
f0cfff2
remove useless async
silverwind Aug 11, 2023
b2a5c22
remove unnecessary button classes
silverwind Aug 12, 2023
a76819d
fix mobile view, remove negative margin from .ui.secondary.menu
silverwind Aug 12, 2023
70d758b
Apply suggestions from code review
a1012112796 Aug 13, 2023
3d97409
Merge remote-tracking branch 'origin/main' into zzc/dev/disable_workflow
a1012112796 Aug 13, 2023
0ac99a2
use gap for item spacing in secondary menu, remove clearfix
silverwind Aug 14, 2023
6abdd1a
fix whitespace
silverwind Aug 14, 2023
952b509
Merge branch 'main' into zzc/dev/disable_workflow
GiteaBot Aug 14, 2023
3728333
Merge branch 'main' into zzc/dev/disable_workflow
GiteaBot Aug 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/repo/actions/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>
</div>
<div class="twelve wide column content">
<div class="ui secondary filter stackable menu gt-je gt-df gt-ac">
<div class="ui secondary filter menu gt-je gt-df gt-ac">
<!-- Actor -->
<div class="ui{{if not .Actors}} disabled{{end}} dropdown jump item">
<span class="text">{{.locale.Tr "actions.runs.actor"}}</span>
Expand Down
5 changes: 5 additions & 0 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,11 @@ a.label,
color: var(--color-text);
}

.ui.secondary.menu {
margin-left: 0;
margin-right: 0;
}

wxiaoguang marked this conversation as resolved.
Show resolved Hide resolved
.ui.secondary.menu .dropdown.item:hover,
.ui.secondary.menu a.item:hover {
color: var(--color-text);
Expand Down