2014-02-07 13:10:01 +03:00
|
|
|
{{ 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">
|
2014-03-11 22:01:42 +03:00
|
|
|
<img class="pull-right" src="{{.Host}}/{{.Repo.Slug}}/status.svg?branch=master">
|
2014-02-07 13:10:01 +03:00
|
|
|
<label>Badge, Markdown format</label>
|
2014-03-11 22:01:42 +03:00
|
|
|
<textarea class="form-control" rows="3">[![Build Status]({{.Host}}/{{.Repo.Slug}}/status.svg?branch=master)]({{.Host}}/{{.Repo.Slug}})</textarea>
|
2014-02-07 13:10:01 +03:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Badge, HTML format</label>
|
2014-03-11 22:01:42 +03:00
|
|
|
<textarea class="form-control" rows="3"><a href="{{.Host}}/{{.Repo.Slug}}"><img src="{{.Host}}/{{.Repo.Slug}}/status.svg?branch=master" /></a></textarea>
|
2014-02-07 13:10:01 +03:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div><!-- ./col-xs-9 -->
|
|
|
|
</div><!-- ./row -->
|
|
|
|
</div><!-- ./container -->
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "script" }}
|
2014-02-08 10:08:54 +03:00
|
|
|
{{ end }}
|