FE-569: webhook key length (#192)

This commit is contained in:
Alexandra Usacheva 2018-03-06 16:59:44 +03:00 committed by GitHub
parent 696b3e201f
commit cb2252d990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,7 @@
.key-textarea {
resize: none;
}
.copy-key-btn {
margin-top: 25px;
}

View File

@ -20,11 +20,10 @@ form.form-horizontal.form-label-left.css-form
.col-xs-12.col-sm-4
label.text-left Публичный ключ:
.col-xs-12.col-sm-8
.input-group
input.form-control(type="text", #webhookPublicKey, readonly, [value]="webhook.publicKey")
span.input-group-btn
button.btn.btn-default.btn-primary((click)="copy()")
| Скопировать
textarea.form-control.key-textarea(#webhookPublicKey, readonly, [value]="webhook.publicKey", rows=10)
.col-xs-12.col-sm-4.col-sm-offset-8.text-right
button.btn.btn-default.btn-primary.copy-key-btn((click)="copy()")
| Скопировать ключ
.ln_solid
.form-group
.col-xs-12

View File

@ -6,6 +6,7 @@ import { WebhooksService } from 'koffing/backend/webhooks.service';
@Component({
selector: 'kof-webhook-details',
templateUrl: './webhook-details.component.pug',
styleUrls: ['./webhook-details.component.less']
})
export class WebhooksListDetailsComponent {