[IMP] runbot: apply al connect button spec

This commit is contained in:
Xavier-Do 2021-02-26 12:13:39 +01:00
parent 38b52411fa
commit 26ad74051f

View File

@ -164,7 +164,7 @@
<span t-else="" t-attf-class="btn btn-default disabled slot_name">
<span t-esc="slot.trigger_id.name"/>
</span>
<a t-if="bu.local_state == 'running'" t-attf-href="http://{{bu.domain}}/" class="fa fa-sign-in btn btn-info"/>
<a t-if="bu.local_state == 'running'" t-attf-href="http://{{bu.dest}}-all.{{bu.host}}" class="fa fa-sign-in btn btn-info"/>
<t t-if="bu" t-call="runbot.build_menu"/>
<a t-if="not bu" class="btn btn-default" title="Create build" t-attf-href="/runbot/batch/slot/{{slot.id}}/build">
<i class="fa fa-play fa-fw"/>
@ -175,7 +175,7 @@
<template id="runbot.build_button">
<div t-attf-class="pull-right">
<div t-attf-class="btn-group {{klass}}">
<a t-if="bu.local_state=='running'" t-attf-href="http://{{bu['domain']}}/?db={{bu.dest}}-all" class="btn btn-primary" title="Sign in on this build" aria-label="Sign in on this build">
<a t-if="bu.local_state=='running'" t-attf-href="http://{{bu.dest}}-all.{{bu.host}}" class="btn btn-primary" title="Sign in on this build" aria-label="Sign in on this build">
<i class="fa fa-sign-in"/>
</a>
<a t-if="bu.local_state=='done' and bu.requested_action != 'wake_up'" href="#" data-runbot="wakeup" t-att-data-runbot-build="bu.id" class="btn btn-default" title="Wake up this build" aria-label="Wake up this build">
@ -223,10 +223,6 @@
Force Build
</a>
<t t-if="bu.local_state=='running'">
<a class="dropdown-item" t-attf-href="http://{{bu.dest}}-all.{{bu.host}}/">
<i class="fa fa-sign-in"/>
Connect all
</a>
<a class="dropdown-item" t-attf-href="http://{{bu.dest}}-base.{{bu.host}}/">
<i class="fa fa-sign-in"/>
Connect base