2014-07-10 03:26:21 +03:00
|
|
|
<article id="repoconfpage">
|
2014-07-09 10:46:15 +03:00
|
|
|
<nav>
|
2014-07-10 03:26:21 +03:00
|
|
|
<a href="/{{ repo | fullPath }}">
|
|
|
|
<span class="fa fa-arrow-left"></span>
|
|
|
|
</a>
|
2014-07-09 10:46:15 +03:00
|
|
|
<span>{{ repo.owner }}</span>
|
|
|
|
<span>/</span>
|
2014-07-10 03:26:21 +03:00
|
|
|
<a href="/{{ repo | fullPath }}">{{ repo.name }}</a>
|
2014-07-09 10:46:15 +03:00
|
|
|
<span>/</span>
|
|
|
|
<a href="#">settings</a>
|
|
|
|
</nav>
|
2014-06-22 00:22:38 +03:00
|
|
|
|
2014-07-11 23:46:04 +03:00
|
|
|
|
|
|
|
<!-- this section is used to toggle builds and pull requests builds on and off -->
|
2014-07-09 10:46:15 +03:00
|
|
|
<section>
|
2014-07-10 03:26:21 +03:00
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1">
|
2014-07-11 23:46:04 +03:00
|
|
|
<div>
|
|
|
|
<h2>Build Flags</h2>
|
|
|
|
<div class="toggle">
|
|
|
|
<input type="checkbox" ng-model="repo.post_commits" id="post_commit" />
|
|
|
|
<label for="post_commit"></label>
|
|
|
|
<span>Enable Post Commit Hooks</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="toggle">
|
|
|
|
<input type="checkbox" ng-model="repo.pull_requests" id="pull_requests" />
|
|
|
|
<label for="pull_requests"></label>
|
|
|
|
<span>Enable Pull Request Hooks</span>
|
|
|
|
</div>
|
|
|
|
<button ng-click="save()" class="pure-button pure-button-primary">Save Flags</button>
|
|
|
|
</div>
|
2014-07-09 10:46:15 +03:00
|
|
|
</div>
|
2014-07-10 03:26:21 +03:00
|
|
|
</div>
|
|
|
|
</section>
|
2014-06-22 00:22:38 +03:00
|
|
|
|
2014-07-10 03:26:21 +03:00
|
|
|
<section>
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1">
|
|
|
|
<div>
|
2014-07-11 23:46:04 +03:00
|
|
|
<h2>Private Variables</h2>
|
|
|
|
<textarea class="params" ng-model="repo.params" placeholder="FOO=BAR"></textarea>
|
|
|
|
<button ng-click="save()" class="pure-button pure-button-primary">Save Variables</button>
|
2014-07-10 03:26:21 +03:00
|
|
|
</div>
|
2014-07-09 10:46:15 +03:00
|
|
|
</div>
|
2014-07-10 03:26:21 +03:00
|
|
|
</div>
|
|
|
|
</section>
|
2014-06-22 00:22:38 +03:00
|
|
|
|
2014-07-11 23:46:04 +03:00
|
|
|
<!-- this section is used for generating the build status badge's url -->
|
2014-07-10 03:26:21 +03:00
|
|
|
<section>
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1">
|
2014-07-11 23:46:04 +03:00
|
|
|
<a href="/{{ repo | fullPath }}" target="_blank" style="float:right;">
|
|
|
|
<img ng-src="/v1/badge/{{ repo | fullPath }}/status.svg" />
|
|
|
|
</a>
|
|
|
|
<h2>Status Badge</h2>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1">
|
|
|
|
<div class="markdown">{{ repo | badgeMarkdown }}</div>
|
2014-07-09 10:46:15 +03:00
|
|
|
</div>
|
2014-07-10 03:26:21 +03:00
|
|
|
</div>
|
|
|
|
</section>
|
2014-06-22 00:22:38 +03:00
|
|
|
|
2014-07-14 01:23:33 +03:00
|
|
|
<section ng-if="repo.public_key != '' ">
|
2014-07-10 03:26:21 +03:00
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1">
|
|
|
|
<div>
|
2014-07-11 23:46:04 +03:00
|
|
|
<h2>Public Key</h2>
|
|
|
|
<pre class="key">{{ repo.public_key }}</pre>
|
2014-07-10 03:26:21 +03:00
|
|
|
</div>
|
2014-07-09 10:46:15 +03:00
|
|
|
</div>
|
2014-06-22 00:22:38 +03:00
|
|
|
</div>
|
2014-07-09 10:46:15 +03:00
|
|
|
</section>
|
2014-07-11 23:46:04 +03:00
|
|
|
|
2014-07-09 10:46:15 +03:00
|
|
|
</article>
|