2014-07-09 07:46:15 +00:00
|
|
|
<article id="repopage">
|
|
|
|
<nav>
|
2014-07-09 18:46:46 +00:00
|
|
|
<a href="/{{ repo | fullPath}}"><span class="fa fa-arrow-left"></span></a>
|
2014-07-09 07:46:15 +00:00
|
|
|
<span>{{ repo.owner }}</span>
|
|
|
|
<span>/</span>
|
|
|
|
<a href="/{{ repo | fullPath}}">{{ repo.name }}</a>
|
|
|
|
<span>/</span>
|
|
|
|
<a href="#">settings</a>
|
|
|
|
</nav>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<section>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<!-- summary column -->
|
|
|
|
<div class="col-xs-6 col-sm-3">
|
|
|
|
<!-- badge -->
|
|
|
|
<a href="/{{ repo.remote }}/{{ repo.owner}}/{{ repo.name }}">
|
|
|
|
<img ng-src="/v1/badge/{{ repo.remote }}/{{ repo.owner}}/{{ repo.name }}/status.svg" />
|
|
|
|
</a>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<!-- primary column -->
|
|
|
|
<div class="col-xs-12 col-sm-9">
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Post Commit Hook</label>
|
|
|
|
<input type="checkbox" ng-model="repoTemp.post_commits" />
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Pull Reqest Hook</label>
|
|
|
|
<input type="checkbox" ng-model="repoTemp.pull_requests" />
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Private Variables</label>
|
|
|
|
<div>TODO!</div>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Privileged</label>
|
|
|
|
<input type="checkbox" ng-model="repoTemp.privileged" />
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Timeout</label>
|
|
|
|
<input type="number" ng-model="repoTemp.timeout" />
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>URL</label>
|
|
|
|
<span>{{ repo.url }}</span>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Created</label>
|
|
|
|
<span>{{ repo.created_at | fromNow }}</span>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<label>Updated</label>
|
|
|
|
<span>{{ repo.updated_at | fromNow }}</span>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
{{failure}}
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<div>
|
|
|
|
<button ng-click="save()">Save</button>
|
|
|
|
<button ng-click="cancel()">Cancel</button>
|
|
|
|
</div>
|
2014-06-21 21:22:38 +00:00
|
|
|
</div>
|
2014-07-09 07:46:15 +00:00
|
|
|
</section>
|
|
|
|
</article>
|