Add Cancel button to ADB Add Key Modal.

This commit is contained in:
Gunther Brunner
2014-10-02 16:51:11 +09:00
parent 92ce053c16
commit d0f6759266
2 changed files with 37 additions and 24 deletions

View File

@@ -1,33 +1,30 @@
.stf-add-adb-key-modal.stf-modal
.modal-header.dialog-header-confirm
.modal-header
button(type='button', ng-click='cancel()').close ×
h4.modal-title.text-dangerX
h4.modal-title
i.fa.fa-android
.button-spacer
span(translate) Add the following ADB Key to STF?
.modal-body
//p Add the following ADB Key to STF?
form.panel(ng-submit='ok()')
.panel-body
label.control-label
i.fa.fa-key.fa-fw
span(translate) Fingerprint
pre(ng-bind='modal.fingerprint').selectable
form(ng-submit='ok()')
label.control-label
i.fa.fa-key.fa-fw
span(translate) Fingerprint
pre(ng-bind='modal.fingerprint').selectable
label.control-label
i.fa.fa-laptop.fa-fw
span(translate) Device
pre(ng-bind='modal.title').selectable
label.control-label
i.fa.fa-laptop.fa-fw
span(translate) Device
pre(ng-bind='modal.title').selectable
button.btn.btn-primary-outline.btn-sm.pull-right(type='submit')
i.fa.fa-plus.fa-fw
span(translate) Add Key
.modal-footer
a(ng-href='/#!/docs/adb-keys', target='_blank').pull-left.btn.btn-sm
i.fa.fa-lg.fa-question-circle.fa-fw
//.modal-footer
button.btn.btn-primary(type='button', ng-click='ok()')
i.fa.fa-refresh
span(translate) Try to reconnect
button.btn.btn-success(ng-click='second()')
i.fa.fa-sitemap
span(translate) Go to Device List
button.btn.btn-primary-outline.btn-sm.pull-right(type='submit')
i.fa.fa-plus.fa-fw
strong(translate) Add Key
button.btn.btn-default-outline.btn-sm.pull-right(ng-click='cancel()')
span(translate) Cancel

View File

@@ -1,7 +1,23 @@
.stf-modal {
border-radius: 5px;
}
.stf-modal .modal-title {
padding-left: 5px;
}
.stf-modal .modal-body {
background: #fff;
}
.stf-modal .modal-footer {
background: #fff;
padding: 20px;
margin-top: 0;
border-top: 1px solid #e5e5e5;
}
.stf-modal .dialog-header-error {
background-color: #d2322d;
}