apps/strider/dist-lib/views/config/branch-settings.html
<div class="general-config">
<label class="checkbox">
<input type="checkbox" ng-model="branch.active" data-test="active"> Active
</label>
<p class="help-text">When a branch is deactivated, tests and deploys can only be triggered manually.</p>
<label class="checkbox">
<input type="checkbox" ng-model="branch.deploy_on_green"> Deploy on Green
</label>
<p class="help-text">When "deploy on green" is disabled, automatically triggered builds will not deploy.</p>
<label class="checkbox">
<input type="checkbox" ng-model="branch.deploy_on_pull_request"> Deploy on Pull Request
</label>
<p class="help-text">When "deploy on pull request" is disabled, pull request builds will not deploy.</p>
<div id="ssh-keys">
<h3>SSH keys</h3>
<p>These keys will be available to any plugins that need ssh
keys. Plugins may however choose to use different keys.</p>
<div class="row-fluid">
<div class="span6">
<h4>Private Key</h4>
<textarea ng-model="branch.privkey"></textarea>
</div>
<div class="span6">
<h4>Public Key</h4>
<textarea ng-model="branch.pubkey"></textarea>
</div>
</div>
<div class="row-fluid spaced-group">
<div class="span3">
<button ng-click="generateKeyPair()" class="btn">Generate new keypair</button>
</div>
<div class="span9">
<label class="checkbox pull-right">
<input ng-model="branch.envKeys" type="checkbox"> Make ssh keys available on the ENV as STRIDER_SSH_PUB and STRIDER_SSH_PRIV
</label>
</div>
</div>
<div class="row-fluid" ng-hide="branch.name === 'master'">
<div class="span12">
<h3>Reset Branch Configuration</h3>
<p>
This will reset all of the configuration for this branch to
be exactly like the 'master' branch. You will have a chance to decline after
selecting 'Mirror Master'.
</p>
<div class="spaced-group" ng-hide="branch.name === 'master'">
<button class="btn btn-default"
ng-if="!branch.mirror_master"
ng-hide="branch.really_mirror_master"
ng-click="branch.really_mirror_master = true">
<span>
Mirror Master
</span>
</button>
<button class="btn btn-default"
ng-show="branch.really_mirror_master"
ng-click="branch.really_mirror_master = false">
<span>
Keep Customizations
</span>
</button>
<button class="btn btn-danger"
ng-show="branch.really_mirror_master"
ng-click="mirrorMaster()">
<span>
Really Mirror Master
</span>
</button>
</div>
</div>
</div>
</div>
<button ng-click="saveGeneralBranch()" class="btn btn-primary pull-right">Save</button>
</div>