woodpecker/server/app/views/repo_conf.html

75 lines
1.5 KiB
HTML
Raw Normal View History

2014-07-09 07:46:15 +00:00
<article id="repopage">
<nav>
<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-07-09 07:46:15 +00:00
<section>
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-07-09 07:46:15 +00:00
<!-- primary column -->
<div class="col-xs-12 col-sm-9">
2014-07-09 07:46:15 +00:00
<div>
<label>Post Commit Hook</label>
<input type="checkbox" ng-model="repoTemp.post_commits" />
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Pull Reqest Hook</label>
<input type="checkbox" ng-model="repoTemp.pull_requests" />
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Private Variables</label>
<div>TODO!</div>
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Privileged</label>
<input type="checkbox" ng-model="repoTemp.privileged" />
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Timeout</label>
<input type="number" ng-model="repoTemp.timeout" />
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>URL</label>
<span>{{ repo.url }}</span>
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Created</label>
<span>{{ repo.created_at | fromNow }}</span>
</div>
2014-07-09 07:46:15 +00:00
<div>
<label>Updated</label>
<span>{{ repo.updated_at | fromNow }}</span>
</div>
2014-07-09 07:46:15 +00:00
<div>
{{failure}}
</div>
2014-07-09 07:46:15 +00:00
<div>
<button ng-click="save()">Save</button>
<button ng-click="cancel()">Cancel</button>
</div>
</div>
2014-07-09 07:46:15 +00:00
</section>
</article>