mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-24 22:36:17 +02:00
chore: lint codes
This commit is contained in:
parent
24446cbebe
commit
60173297aa
@ -124,7 +124,6 @@ func RunnerDetailsEditPost(ctx *context.Context, runnerID, ownerID, repoID int64
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !runner.Editable(ownerID, repoID) {
|
if !runner.Editable(ownerID, repoID) {
|
||||||
err = errors.New("no permission to edit this runner")
|
|
||||||
ctx.NotFound("RunnerDetailsEditPost.Editable", util.NewPermissionDeniedErrorf("no permission to edit this runner"))
|
ctx.NotFound("RunnerDetailsEditPost.Editable", util.NewPermissionDeniedErrorf("no permission to edit this runner"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- the log elements could be a lot, do not use v-if to destroy/reconstruct the DOM -->
|
<!-- the log elements could be a lot, do not use v-if to destroy/reconstruct the DOM -->
|
||||||
<div class="job-step-logs" ref="elJobStepLogs" v-show="currentJobStepsStates[i].expanded">
|
<div class="job-step-logs" ref="elJobStepLogs" v-show="currentJobStepsStates[i].expanded"/>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2613,7 +2613,7 @@
|
|||||||
|
|
||||||
&.webhooks .list > .item:not(:first-child),
|
&.webhooks .list > .item:not(:first-child),
|
||||||
&.githooks .list > .item:not(:first-child),
|
&.githooks .list > .item:not(:first-child),
|
||||||
&.runners .list > .item:not(:first-child){
|
&.runners .list > .item:not(:first-child) {
|
||||||
padding: .25rem 1rem;
|
padding: .25rem 1rem;
|
||||||
margin: 12px -1rem -1rem;
|
margin: 12px -1rem -1rem;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user