mirror of
https://github.com/odoo/runbot.git
synced 2025-04-03 00:35:51 +07:00
[IMP] improvements to runbot repo page
This commit is contained in:
parent
1762df1747
commit
433d8bc67c
@ -278,15 +278,29 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" t-attf-href="/runbot/{{'repo/' + slug(repo) if repo else ''}}"><b t-if="repo"><t t-esc="repo.base"/></b></a>
|
<t t-if="repo">
|
||||||
<span class="navbar-brand">
|
<ul class="nav navbar-nav">
|
||||||
<t t-esc="testing_total"/>/<t t-esc="workers"/> testing,
|
<li class="dropdown">
|
||||||
<t t-esc="running_total"/>/<t t-esc="running_max"/> running,
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b style="font-size: 18px;"><t t-esc="repo.base"/></b><b class="caret"></b></a>
|
||||||
<t t-esc="pending_total"/> pending.
|
<ul class="dropdown-menu">
|
||||||
</span>
|
<t t-foreach='repos' t-as='repo'>
|
||||||
|
<li><a t-attf-href="/runbot/repo/{{slug(repo)}}"><t t-esc="repo.base"/></a></li>
|
||||||
|
</t>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</t>
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<form class="navbar-form navbar-left form-inline">
|
<t t-if="repo">
|
||||||
|
<form class="navbar-form navbar-right" role="search" t-att-action="qu(search='')" method="get">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="search" name="search" class="form-control" placeholder="Search" t-att-value="search"/>
|
||||||
|
<button type="submit" class="btn btn-default">Search</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<form class="navbar-form navbar-right form-inline">
|
||||||
<div class="btn-group" t-if="repo">
|
<div class="btn-group" t-if="repo">
|
||||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
Filter <span class="caret"></span>
|
Filter <span class="caret"></span>
|
||||||
@ -307,23 +321,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<span class="navbar-brand navbar-right">
|
||||||
<li class="dropdown">
|
<t t-esc="testing_total"/>/<t t-esc="workers"/> testing,
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Switch repository <b class="caret"></b></a>
|
<t t-esc="running_total"/>/<t t-esc="running_max"/> running,
|
||||||
<ul class="dropdown-menu">
|
<t t-esc="pending_total"/> pending
|
||||||
<t t-foreach='repos' t-as='repo'>
|
</span>
|
||||||
<li><a t-attf-href="/runbot/repo/{{slug(repo)}}"><t t-esc="repo.base"/></a></li>
|
|
||||||
</t>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<t t-if="repo">
|
|
||||||
<form class="navbar-form navbar-right" role="search" t-att-action="qu(search='')" method="get">
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="search" name="search" class="form-control" placeholder="Search" t-att-value="search"/>
|
|
||||||
<button type="submit" class="btn btn-default">Search</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</t>
|
</t>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -336,6 +338,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Branch</th>
|
<th>Branch</th>
|
||||||
<td colspan="4" class="text-right">
|
<td colspan="4" class="text-right">
|
||||||
|
<t t-esc="repo.base"/>:
|
||||||
<t t-esc="testing"/> testing,
|
<t t-esc="testing"/> testing,
|
||||||
<t t-esc="running"/> running,
|
<t t-esc="running"/> running,
|
||||||
<t t-esc="pending"/> pending.
|
<t t-esc="pending"/> pending.
|
||||||
|
Loading…
Reference in New Issue
Block a user