2015-07-29 16:16:08 +00:00
< main >
2015-05-21 07:08:33 +00:00
< article >
2015-07-30 02:51:55 +00:00
< section style = "margin-top:20px;" >
2015-05-21 07:08:33 +00:00
2015-07-12 19:32:46 +00:00
< div class = "row" >
< div > Post Commit Hooks< / div >
< div >
< input id = "post_commits" type = "checkbox" hidden = "hidden" ng-model = "repo.hooks.push" ng-change = "save(repo)" / >
< label for = "post_commits" class = "switch" > < / label >
< / div >
< / div >
< div class = "row" >
< div > Pull Request Hooks< / div >
< div >
< input id = "pull_requests" type = "checkbox" hidden = "hidden" ng-model = "repo.hooks.pull_request"
ng-change="save(repo)"/>
< label for = "pull_requests" class = "switch" > < / label >
< / div >
< / div >
2015-07-30 02:51:55 +00:00
< div class = "row" ng-if = "user.admin" >
< div > Trusted Code< / div >
2015-07-12 19:32:46 +00:00
< div >
< input id = "trusted" type = "checkbox" hidden = "hidden" ng-model = "repo.trusted" ng-change = "save(repo)" / >
< label for = "trusted" class = "switch" > < / label >
< / div >
< / div >
2015-07-30 02:51:55 +00:00
< div class = "row" ng-if = "user.admin" >
2015-07-12 19:32:46 +00:00
< div > Timeout in minutes< / div >
< div >
< input type = "range" ng-model = "repo.timeout" min = "0" max = "900" ng-blur = "save(repo)" / >
< span class = "slider-label" > {{ repo.timeout }} minutes< / span >
< / div >
< / div >
< div class = "row" >
2015-07-30 02:51:55 +00:00
< div > Badge< / div >
2015-07-12 19:32:46 +00:00
< div >
< pre class = "snippet" > [![Build Status]({{ window.location.origin }}/api/badges/{{ repo.full_name }}/status.svg)]({{ window.location.origin }}/{{ repo.full_name }})< / pre >
< / div >
< / div >
< div class = "row" >
< div > CCMenu< / div >
< div >
< pre class = "snippet" > {{ window.location.origin }}/api/badges/{{ repo.full_name }}/cc.xml< / pre >
< / div >
< / div >
2015-07-30 02:51:55 +00:00
< div class = "row" >
< div > Public Key< / div >
< div >
< pre class = "snippet" > {{ repo.keypair.public }}< / pre >
< / div >
< / div >
2015-07-12 19:32:46 +00:00
< / section >
2015-07-30 02:51:55 +00:00
< p style = "margin-top:50px;margin-bottom:10px;line-height:20px;color:#666;" > < b style = "font-weight:bold;" > NOTE:< / b > The below sections should re-architected and are therefore not styled. The delete page should be combined with this current page. Secret variables should be stored in the .drone.yml instead of the user interface< / p >
2015-07-12 19:32:46 +00:00
< section >
2015-07-30 02:51:55 +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-07-12 19:32:46 +00:00
< / section >
2015-07-30 02:51:55 +00:00
2015-07-29 16:16:08 +00:00
< / article >
< / main >