2015-05-21 07:08:33 +00:00
|
|
|
<header>
|
|
|
|
<a class="logo float-left" href="/"></a>
|
|
|
|
<a class="menu-item settings float-right" href="/profile"></a>
|
|
|
|
<a class="menu-item users float-right" href="/users" ng-if="user.admin"></a>
|
|
|
|
<a class="menu-item help float-right" href="http://readme.drone.io" target="_blank"></a>
|
|
|
|
<a class="menu-item user-name float-right" href="/profile">{{ "+"+user.login }}</a>
|
|
|
|
</header>
|
2015-04-08 22:43:59 +00:00
|
|
|
|
2015-05-21 07:08:33 +00:00
|
|
|
<div class="toolbar">
|
2015-04-08 22:43:59 +00:00
|
|
|
|
2015-05-21 07:08:33 +00:00
|
|
|
<div class="breadcrumb" style="position:relative;top:0px;">
|
|
|
|
<a href="/{{ repo.full_name }}" class="icon icon-home"></a>
|
|
|
|
<a ng-href="/{{ repo.full_name }}">{{ repo.owner }} / {{ repo.name }}</a>
|
2015-04-08 22:43:59 +00:00
|
|
|
</div>
|
|
|
|
|
2015-05-21 07:08:33 +00:00
|
|
|
<div class="menu">
|
|
|
|
<a href="settings.html" class="icon icon-settings"></a>
|
|
|
|
<a ng-href="/{{ repo.full_name }}/edit" class="nav-item settings float-right"></a>
|
|
|
|
<button ng-click="watch(repo)" ng-if="!repo.starred" class="nav-item star float-right"></button>
|
|
|
|
<button ng-click="unwatch(repo)" ng-if="repo.starred" class="nav-item unstar float-right"></button>
|
2015-04-16 22:15:05 +00:00
|
|
|
</div>
|
|
|
|
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<article>
|
|
|
|
<section>
|
2015-05-28 06:10:04 +00:00
|
|
|
<h2>Settings</h2>
|
2015-05-22 00:00:31 +00:00
|
|
|
<div class="row">
|
|
|
|
<div>Post Commit Hooks</div>
|
2015-05-21 07:08:33 +00:00
|
|
|
<div>
|
2015-06-23 05:36:50 +00:00
|
|
|
<input id="post_commits" type="checkbox" hidden="hidden" ng-model="repo.hooks.push" ng-change="save(repo)" />
|
2015-05-22 00:00:31 +00:00
|
|
|
<label for="post_commits" class="switch"></label>
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div>Pull Request Hooks</div>
|
2015-05-21 07:08:33 +00:00
|
|
|
<div>
|
2015-06-23 05:36:50 +00:00
|
|
|
<input id="pull_requests" type="checkbox" hidden="hidden" ng-model="repo.hooks.pull_request" ng-change="save(repo)" />
|
2015-05-22 00:00:31 +00:00
|
|
|
<label for="pull_requests" class="switch"></label>
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
2015-05-28 06:10:04 +00:00
|
|
|
<a class="row" ng-href="{{ repo.full_name }}/edit/env">
|
|
|
|
<div>Private Variables</div>
|
|
|
|
<div>
|
|
|
|
Inject private variables into your build environment
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="row" ng-href="{{ repo.full_name }}/delete">
|
|
|
|
<div>Delete</div>
|
|
|
|
<div>Delete this repository and its build history</div>
|
|
|
|
</a>
|
2015-05-22 00:00:31 +00:00
|
|
|
</section>
|
2015-05-21 07:08:33 +00:00
|
|
|
|
2015-05-22 00:00:31 +00:00
|
|
|
<section ng-if="user.admin">
|
2015-05-28 06:10:04 +00:00
|
|
|
<h2>Admin settings</h2>
|
2015-05-22 00:00:31 +00:00
|
|
|
<div class="row">
|
|
|
|
<div>Trusted (Evelvate Privilege)</div>
|
2015-05-21 07:08:33 +00:00
|
|
|
<div>
|
2015-05-27 06:25:47 +00:00
|
|
|
<input id="trusted" type="checkbox" hidden="hidden" ng-model="repo.trusted" ng-change="save(repo)" />
|
2015-05-22 00:00:31 +00:00
|
|
|
<label for="trusted" class="switch"></label>
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div>Timeout in minutes</div>
|
2015-05-21 07:08:33 +00:00
|
|
|
<div>
|
2015-05-27 06:25:47 +00:00
|
|
|
<input type="range" ng-model="repo.timeout" min="0" max="900" ng-blur="save(repo)" />
|
2015-05-27 05:58:48 +00:00
|
|
|
<span class="slider-label">{{ repo.timeout }} minutes</span>
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Badges</h2>
|
|
|
|
<div class="row">
|
2015-05-22 06:04:08 +00:00
|
|
|
<div>Markdown</div>
|
2015-05-22 00:00:31 +00:00
|
|
|
<div>
|
2015-05-22 06:04:08 +00:00
|
|
|
<pre class="snippet">[![Build Status]({{ window.location.origin }}/api/badges/{{ repo.full_name }}/status.svg)]({{ window.location.origin }}/{{ repo.full_name }})</pre>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div>CCMenu</div>
|
|
|
|
<div>
|
2015-05-22 06:04:08 +00:00
|
|
|
<pre class="snippet">{{ window.location.origin }}/api/badges/{{ repo.full_name }}/cc.xml</pre>
|
2015-05-22 00:00:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2015-05-21 07:08:33 +00:00
|
|
|
<section>
|
|
|
|
<h2>Public Key</h2>
|
|
|
|
<div>
|
2015-05-22 06:04:08 +00:00
|
|
|
<pre class="snippet snippet-padding">{{ repo.keypair.public }}</pre>
|
2015-05-21 07:08:33 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2015-05-22 00:00:31 +00:00
|
|
|
</article>
|