github.com/marinho/drone@v0.2.1-0.20140504195434-d3ba962e89a7/pkg/template/pages/repo_badges.html (about)

     1  {{ define "title" }}{{.Repo.Slug}} ยท Badges{{ end }}
     2  
     3  {{ define "content" }}
     4  
     5  	<div class="subhead">
     6  		<div class="container">
     7  			<ul class="nav nav-tabs pull-right">
     8  				<li><a href="/{{.Repo.Slug}}">Commits</a></li>
     9  				<li class="active"><a href="/{{.Repo.Slug}}/settings">Settings</a></li>
    10  			</ul> <!-- ./nav -->
    11  			<h1>
    12  				<span>{{.Repo.Name}}</span>
    13  				<small>{{.Repo.Owner}}</small>
    14  			</h1>
    15  		</div><!-- ./container -->
    16  	</div><!-- ./subhead -->
    17  
    18  
    19  	<div class="container">
    20  		<div class="row">
    21  
    22  			<div class="col-xs-3">
    23  				<ul class="nav nav-pills nav-stacked">
    24  					<li><a href="/{{.Repo.Slug}}/settings">Repository</a></li>
    25  					<li><a href="/{{.Repo.Slug}}/params">Params</a></li>
    26  					<li><a href="/{{.Repo.Slug}}/keys">Key Pairs</a></li>
    27  					<li class="active"><a href="/{{.Repo.Slug}}/badges">Badges</a></li>
    28  					<li><a href="/{{.Repo.Slug}}/delete">Delete</a></li>
    29  				</ul>
    30  			</div><!-- ./col-xs-3 -->
    31  
    32  			<div class="col-xs-9" role="main">
    33  				<form>
    34  					<div class="form-group">
    35  						<img class="pull-right" src="{{.Host}}/{{.Repo.Slug}}/status.svg?branch=master">
    36  						<label>Badge, Markdown format</label>
    37  						<textarea class="form-control" rows="3">[![Build Status]({{.Host}}/{{.Repo.Slug}}/status.svg?branch=master)]({{.Host}}/{{.Repo.Slug}})</textarea>
    38  					</div>
    39  					<div class="form-group">
    40  						<label>Badge, HTML format</label>
    41  						<textarea class="form-control" rows="3">&lt;a href="{{.Host}}/{{.Repo.Slug}}"&gt;&lt;img src="{{.Host}}/{{.Repo.Slug}}/status.svg?branch=master" /&gt;&lt;/a&gt;</textarea>
    42  					</div>
    43  				</form>
    44  			</div><!-- ./col-xs-9 -->
    45  		</div><!-- ./row -->
    46  	</div><!-- ./container -->
    47  {{ end }}
    48  
    49  {{ define "script" }}
    50  {{ end }}