mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-09 02:06:21 +02:00
Compare commits
4 Commits
ceaedea67b
...
c2dd61bd83
Author | SHA1 | Date | |
---|---|---|---|
bytedream | c2dd61bd83 | ||
GiteaBot | 27861d711b | ||
bytedream | c7a8412b3e | ||
bytedream | 17f351b68e |
|
@ -436,6 +436,7 @@ oauth_signin_submit=Vincular conta
|
|||
oauth.signin.error=Ocorreu um erro durante o processamento do pedido de autorização. Se este erro persistir, contacte o administrador.
|
||||
oauth.signin.error.access_denied=O pedido de autorização foi negado.
|
||||
oauth.signin.error.temporarily_unavailable=A autorização falhou porque o servidor de autenticação está temporariamente indisponível. Tente mais tarde.
|
||||
oauth_callback_unable_auto_reg=O registo automático está habilitado, mas o fornecedor OAuth2 %[1]s sinalizou campos em falta: %[2]s, por isso não foi possível criar uma conta automaticamente. Crie ou vincule uma conta ou contacte o administrador do sítio.
|
||||
openid_connect_submit=Estabelecer ligação
|
||||
openid_connect_title=Estabelecer ligação a uma conta existente
|
||||
openid_connect_desc=O URI do OpenID escolhido é desconhecido. Associe-o a uma nova conta aqui.
|
||||
|
|
|
@ -191,11 +191,22 @@ const sfc = {
|
|||
},
|
||||
|
||||
appendLogs(stepIndex, logLines, startTime) {
|
||||
// position of the client view relative to the website top
|
||||
const clientHeight = document.documentElement.clientHeight + window.scrollY;
|
||||
// height of the logs container relative to the website top
|
||||
const logsContainerHeight = this.$refs.stepsContainer.getBoundingClientRect().bottom + window.scrollY;
|
||||
|
||||
for (const line of logLines) {
|
||||
// TODO: group support: ##[group]GroupTitle , ##[endgroup]
|
||||
const el = this.getLogsContainer(stepIndex);
|
||||
el.append(this.createLogLine(line, startTime, stepIndex));
|
||||
}
|
||||
|
||||
// scrolls to the bottom if job is running and the bottom of the logs container is visible
|
||||
if (!this.run.done && logLines.length && clientHeight >= logsContainerHeight) {
|
||||
const newLogsContainerHeight = this.$refs.stepsContainer.getBoundingClientRect().bottom + window.scrollY;
|
||||
window.scrollTo({top: clientHeight + (newLogsContainerHeight - logsContainerHeight), behavior: 'smooth'});
|
||||
}
|
||||
},
|
||||
|
||||
async fetchArtifacts() {
|
||||
|
@ -436,7 +447,7 @@ export function initRepositoryActionView() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="action-view-right">
|
||||
<div class="action-view-right" ref="stepsContainer">
|
||||
<div class="job-info-header">
|
||||
<div class="job-info-header-left gt-ellipsis">
|
||||
<h3 class="job-info-header-title gt-ellipsis">
|
||||
|
|
Loading…
Reference in New Issue