mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 03:26:30 +00:00
43 lines
1 KiB
HTML
43 lines
1 KiB
HTML
<h1>{{ repo.full_name }} / Edit</h1>
|
|
|
|
<a ng-href="/{{ repo.full_name }}">Back</a>
|
|
|
|
<form>
|
|
<div>
|
|
<label>Enable Pushes</label>
|
|
<input type="checkbox" ng-model="repo.post_commits" />
|
|
</div>
|
|
<div>
|
|
<label>Enable Pull Requests</label>
|
|
<input type="checkbox" ng-model="repo.pull_requests" />
|
|
</div>
|
|
|
|
<div>
|
|
<label>Trusted</label>
|
|
<input type="checkbox" ng-model="repo.trusted" />
|
|
</div>
|
|
<div>
|
|
<label>Timeout</label>
|
|
<input type="number" ng-model="repo.timeout" />
|
|
</div>
|
|
<ul>
|
|
<li ng-repeat="(key, value) in repo.params">
|
|
<label>{{ key }}</label>
|
|
<input type="text" ng-model="repo.params[key]"/>
|
|
<button ng-click="deleteParam(key)">remove</button>
|
|
</li>
|
|
<li>
|
|
<input type="text" ng-model="param.key" />
|
|
<input type="text" ng-model="param.value" />
|
|
<button ng-click="addParam(param)">add</button>
|
|
</li>
|
|
</ul>
|
|
|
|
<div>
|
|
<label>Public Key</label>
|
|
<pre>{{ repo.keypair.public }}</pre>
|
|
</div>
|
|
|
|
<button ng-click="save(repo)">Save</button>
|
|
<button ng-click="delete(repo.full_name)">Delete</button>
|
|
</form>
|