mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-05 16:39:50 +00:00
50 lines
1.7 KiB
HTML
50 lines
1.7 KiB
HTML
{{ define "title" }}{{.Repo.Slug}} · Badges{{ end }}
|
|
|
|
{{ define "content" }}
|
|
|
|
<div class="subhead">
|
|
<div class="container">
|
|
<ul class="nav nav-tabs pull-right">
|
|
<li><a href="/{{.Repo.Slug}}">Commits</a></li>
|
|
<li class="active"><a href="/{{.Repo.Slug}}/settings">Settings</a></li>
|
|
</ul> <!-- ./nav -->
|
|
<h1>
|
|
<span>{{.Repo.Name}}</span>
|
|
<small>{{.Repo.Owner}}</small>
|
|
</h1>
|
|
</div><!-- ./container -->
|
|
</div><!-- ./subhead -->
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<div class="col-xs-3">
|
|
<ul class="nav nav-pills nav-stacked">
|
|
<li><a href="/{{.Repo.Slug}}/settings">Repository</a></li>
|
|
<li><a href="/{{.Repo.Slug}}/params">Params</a></li>
|
|
<li><a href="/{{.Repo.Slug}}/keys">Key Pairs</a></li>
|
|
<li class="active"><a href="/{{.Repo.Slug}}/badges">Badges</a></li>
|
|
<li><a href="/{{.Repo.Slug}}/delete">Delete</a></li>
|
|
</ul>
|
|
</div><!-- ./col-xs-3 -->
|
|
|
|
<div class="col-xs-9" role="main">
|
|
<form>
|
|
<div class="form-group">
|
|
<img class="pull-right" src="{{.Host}}/{{.Repo.Slug}}/status.png?branch=master">
|
|
<label>Badge, Markdown format</label>
|
|
<textarea class="form-control" rows="3">[![Build Status]({{.Host}}/{{.Repo.Slug}}/status.png?branch=master)]({{.Host}}/{{.Repo.Slug}})</textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Badge, HTML format</label>
|
|
<textarea class="form-control" rows="3"><a href="{{.Host}}/{{.Repo.Slug}}"><img src="{{.Host}}/{{.Repo.Slug}}/status.png?branch=master" /></a></textarea>
|
|
</div>
|
|
</form>
|
|
</div><!-- ./col-xs-9 -->
|
|
</div><!-- ./row -->
|
|
</div><!-- ./container -->
|
|
{{ end }}
|
|
|
|
{{ define "script" }}
|
|
{{ end }}
|