woodpecker/cmd/drone-server/static/scripts/views/repos/env.html
2015-07-14 00:13:43 +03:00

23 lines
No EOL
1.1 KiB
HTML

<article>
<section style="padding:30px;">
<h2 style=" padding-left: 0px;
padding-top: 0px;
margin-bottom: 10px;">Private variables</h2>
<div ng-repeat="(key, value) in repo.params" class="row-env">
<div><span>export</span> {{ key }} <span>=</span></div>
<div>{{ value }}</div>
<button ng-click="deleteParam(key)" class="btn-remove"></button>
</div>
<form style="padding-top:30px;font-family:'Droid Sans Mono','Roboto','Arial';font-size:14px;">
<span style="color:#2196F3">export</span>
<input type="text" placeholder="FOO" ng-model="param.key" style="border:none;border-bottom:1px solid #9E9E9E;line-height:24px;font-family:'Droid Sans Mono','Roboto','Arial';font-size:14px;" />
<span style="color:#2196F3">=</span>
<input type="text" placeholder="BAR" ng-model="param.value" style="border:none;border-bottom:1px solid #9E9E9E;line-height:24px;font-family:'Droid Sans Mono','Roboto','Arial';font-size:14px;" />
<button ng-click="addParam(param)" style="background: #66bb6a;
padding: 8px 20px;
color: #FFF;
font-family: Roboto;
text-transform: uppercase;">add</button>
</form>
</section>
</article>